]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/control.cpp
Remove unnecessary IsRadioButton().
[wxWidgets.git] / src / gtk1 / control.cpp
index f0c279a7f0be6b8d8f20cc43c0fe7d9abd0b26a8..4e0db419e601faadbe2edf87b5c5bdeced8bb951 100644 (file)
@@ -83,7 +83,7 @@ void wxControl::PostCreation(const wxSize& size)
     gtk_widget_ensure_style(m_widget);
 
     ApplyWidgetStyle();
-    SetInitialBestSize(size);
+    SetInitialSize(size);
 }
 
 // ----------------------------------------------------------------------------
@@ -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));
 }