]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/button.h
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unneces...
[wxWidgets.git] / include / wx / os2 / button.h
index 1d705ea93661ec2866d0a640f383e19b8b586dda..463d0d87f56a664d921e466cac480e0599d7f67a 100644 (file)
@@ -15,9 +15,9 @@
 #include "wx/control.h"
 
 // Pushbutton
-class WXDLLEXPORT wxButton: public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton: public wxButtonBase
 {
- public:
+public:
     inline wxButton() {}
     inline wxButton( wxWindow*          pParent
                     ,wxWindowID         vId
@@ -52,6 +52,8 @@ class WXDLLEXPORT wxButton: public wxButtonBase
 
     virtual ~wxButton();
 
+    virtual wxWindow *SetDefault();
+
     static wxSize    GetDefaultSize(void);
     virtual void     Command(wxCommandEvent& rEvent);
     virtual bool     OS2Command( WXUINT uParam