X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edccf4281bc8fbb9d8151240ba5b208339c9ac11..cfcc3671aee71eb6849c5687500ab26e65943b68:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index cd0e1df385..794d9f9337 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -49,8 +49,11 @@ public: virtual void SetDefault(); + static wxSize GetDefaultSize(); + // implementation from now on virtual void Command(wxCommandEvent& event); + virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); virtual bool MSWCommand(WXUINT param, WXWORD id); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, @@ -63,9 +66,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