X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..9c805dec6caf3c98a3797898cffe795b5b56e606:/include/wx/os2/button.h diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index ebb18cc31c..e6e68407da 100644 --- a/include/wx/os2/button.h +++ b/include/wx/os2/button.h @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: button.h +// Name: wx/os2/button.h // Purpose: wxButton class // Author: David Webster // Modified by: // Created: 10/13/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_BUTTON_H_ @@ -15,13 +15,13 @@ #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 - ,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