]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/control.cpp
Better fix
[wxWidgets.git] / src / gtk1 / control.cpp
index e41fdb9cbe662f0564c2c0208fc3948fc04a8beb..4e0db419e601faadbe2edf87b5c5bdeced8bb951 100644 (file)
@@ -120,7 +120,7 @@ void wxControl::GTKSetLabelForFrame(GtkFrame *w, const wxString& label)
 
     const wxString labelGTK = GTKRemoveMnemonics(label);
 
-    gtk_frame_set_label(w, labelGTK.empty() ? (char *)NULL
+    gtk_frame_set_label(w, labelGTK.empty() ? (const char *)NULL
                                             : wxGTK_CONV(labelGTK));
 }