]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/button.h
added support for user-defined types to wxConfig (patch 1753875)
[wxWidgets.git] / include / wx / os2 / button.h
index 272bb088992c72321f8de526ed987da7e9e74419..15de85ecd50cd0a312abc66efd559d6c98be42d7 100644 (file)
@@ -17,7 +17,7 @@
 // Pushbutton
 class WXDLLEXPORT wxButton: public wxButtonBase
 {
- public:
+public:
     inline wxButton() {}
     inline wxButton( wxWindow*          pParent
                     ,wxWindowID         vId
@@ -49,10 +49,11 @@ class WXDLLEXPORT wxButton: public wxButtonBase
                 ,const wxValidator& rValidator = wxDefaultValidator
                 ,const wxString&    rsName = wxButtonNameStr
                );
-    
+
     virtual ~wxButton();
 
-    virtual void     SetDefault(void);
+    virtual wxWindow *SetDefault();
+
     static wxSize    GetDefaultSize(void);
     virtual void     Command(wxCommandEvent& rEvent);
     virtual bool     OS2Command( WXUINT uParam