X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..7523de907dd77eedd33431d5ff46478a467faf5f:/include/wx/os2/button.h diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index ebb18cc31c..15de85ecd5 100644 --- a/include/wx/os2/button.h +++ b/include/wx/os2/button.h @@ -6,7 +6,7 @@ // Created: 10/13/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_BUTTON_H_ @@ -17,11 +17,11 @@ // Pushbutton class WXDLLEXPORT wxButton: public wxButtonBase { - public: +public: inline wxButton() {} inline wxButton( wxWindow* pParent ,wxWindowID vId - ,const wxString& rsLabel + ,const wxString& rsLabel = wxEmptyString ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 @@ -42,7 +42,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase bool Create( wxWindow* pParent ,wxWindowID vId - ,const wxString& rsLabel + ,const wxString& rsLabel = wxEmptyString ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 @@ -52,7 +52,8 @@ class WXDLLEXPORT wxButton: public wxButtonBase virtual ~wxButton(); - virtual void SetDefault(void); + virtual wxWindow *SetDefault(); + static wxSize GetDefaultSize(void); virtual void Command(wxCommandEvent& rEvent); virtual bool OS2Command( WXUINT uParam