A borderless button. The class wxFreeButton exists because there is no satisfactory way in wxWidgets to have a button with no borders, that can still be clicked. The behavior of a wxFreeButton is in all ways similar to a wxButton, except that there are no borders around the button, making it seem embedded into the parent window. NOTE: wxFreeButton currently only works in Win32.
wxButton (see http://www.wxwidgets.org/manuals/2.4.2/wx46.htm)
FreeButton.h
A borderless button. | |
The wxFreeButton constructor. | |
The button style. |
|
The wxFreeButton constructor. Creates the button with the given label, position, style, size, etc.
| parent | The parent window. Must not be NULL. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| label | The button text. |
| pos | The button position in window coordinates. |
| size | The button size. |
| style | The button style. |
|
| long mStyle |