]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
fixed appending of '/' to empty string
[wxWidgets.git] / src / gtk1 / statbox.cpp
index 4e768e3b12354bf18e8c2c7618955f3e0a983155..3f6abe319888d0f7af019ba66bd7057a9b67492f 100644 (file)
@@ -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();