X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..0cd9bfe8dacee998429236912c831fd2472163a8:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index fbd5e150c3..e1970721ae 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -27,21 +27,21 @@ class WXDLLEXPORT wxStaticBox: public wxControl public: inline wxStaticBox(void) {} - inline wxStaticBox(wxWindow *parent, const wxWindowID id, + inline wxStaticBox(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - const long style = 0, + long style = 0, const wxString& name = wxStaticBoxNameStr) { Create(parent, id, label, pos, size, style, name); } - bool Create(wxWindow *parent, const wxWindowID id, + bool Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - const long style = 0, + long style = 0, const wxString& name = wxStaticBoxNameStr); virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; @@ -51,9 +51,9 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - void SetSize(const int x, const int y, const int width, const int height, const int sizeFlags = wxSIZE_AUTO); + void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); void SetLabel(const wxString& label); - virtual WXHBRUSH OnCtlColor(const WXHDC pDC, const WXHWND pWnd, const WXUINT nCtlColor, + virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); DECLARE_EVENT_TABLE()