X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/396bdd5ab1b1a66748642c67d8f81315a10557ad..1bfcb0b6c3728b9e3e970c8569cf6405df9ff4f9:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 81595e9939..053651b819 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -45,11 +45,6 @@ public: const wxString& name = wxStaticTextNameStr); // accessors - void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); - void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) - { wxWindow::SetSize(rect, sizeFlags); } - void SetSize(const wxSize& size) - { wxWindow::SetSize(size); } void SetLabel(const wxString& label); // operations @@ -63,6 +58,11 @@ public: virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + +protected: + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); }; #endif