X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b5f3fe655deeb91d5d3abe8fad30c4a1cae63dc..dc63c944b3193e35fd1f49aceabc010c070ae53f:/include/wx/motif/statbox.h?ds=inline diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index 375c000195..4f8e005eec 100644 --- a/include/wx/motif/statbox.h +++ b/include/wx/motif/statbox.h @@ -36,6 +36,7 @@ class WXDLLEXPORT wxStaticBox: public wxControl { Create(parent, id, label, pos, size, style, name); } + ~wxStaticBox(); bool Create(wxWindow *parent, wxWindowID id, const wxString& label, @@ -48,6 +49,10 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; 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); wxString GetLabel() const;