diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 4e768e3b12..3f6abe3198 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -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(); diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index 4e768e3b12..3f6abe3198 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -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();