X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/904f68c7e8956b366aa48b3b5b28c2f65d678d41..13439807d34f5a71f95dadb727e7b0056dba210a:/src/gtk1/statbox.cpp diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index 4e768e3b12..3f28b07a58 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -22,14 +22,14 @@ IMPLEMENT_DYNAMIC_CLASS(wxStaticBox,wxControl) wxStaticBox::wxStaticBox(void) { -}; +} wxStaticBox::wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) { Create( parent, id, label, pos, size, style, name ); -}; +} bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos, const wxSize &size, @@ -39,7 +39,7 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label PreCreation( parent, id, pos, size, style, name ); - SetLabel(m_label); + SetLabel(label); m_widget = gtk_frame_new(m_label); PostCreation(); @@ -47,4 +47,4 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label Show( TRUE ); return TRUE; -}; +}