X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fabb57533169f2f75367e0d120c762518548890..03ab016d6692ccceafb0f324a063bbf8f334f020:/include/wx/motif/statbox.h diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index 90069cea8e..5ebf48dd4e 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, @@ -51,6 +52,7 @@ class WXDLLEXPORT wxStaticBox: public wxControl void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) { wxWindow::SetSize(rect, sizeFlags); } void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } void SetLabel(const wxString& label); wxString GetLabel() const;