wxButton::wxButton
voidwxButtonwxPanel *parent, wxFunction func, char *label,
int x = -1, int y = -1, int width = -1, int height = -1
Constructor, creating and showing a button. If width or height are omitted (or are less than zero), an appropriate size will be used for the button. func may be NULL; otherwise it is used as the callback for the button. Note that the cast (wxFunction) must be used when passing your callback function name, or the compiler may complain that the function does not match the constructor declaration.
wxButton::wxButton
voidwxButton
Destructor, destroying the button.