X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edccf4281bc8fbb9d8151240ba5b208339c9ac11..a8b96c3dd86a252171956e3d5375387bd06f185b:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index cd0e1df385..6888ee443a 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -49,6 +49,8 @@ public: virtual void SetDefault(); + static wxSize GetDefaultSize(); + // implementation from now on virtual void Command(wxCommandEvent& event); virtual bool MSWCommand(WXUINT param, WXWORD id); @@ -63,9 +65,7 @@ protected: // send a notification event, return TRUE if processed bool SendClickEvent(); - virtual void DoSetSize(int x, int y, - int width, int height, - int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize(); }; #endif