]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clrpicker.cpp
use typed containers in wxHtmlParser instead of type-unsafe wxList/wxHashTable
[wxWidgets.git] / src / gtk / clrpicker.cpp
index a8ed5ef927734835a2a8544a3b834ce197dd2c34..9184ed70257df6e7589ee722434c3963cc583470 100644 (file)
@@ -61,9 +61,6 @@ bool wxColourButton::Create( wxWindow *parent, wxWindowID id,
 {
     if (!gtk_check_version(2,4,0))
     {
-        m_needParent = true;
-        m_acceptsFocus = true;
-
         if (!PreCreation( parent, pos, size ) ||
             !wxControl::CreateBase(parent, id, pos, size, style, validator, name))
         {
@@ -73,7 +70,7 @@ bool wxColourButton::Create( wxWindow *parent, wxWindowID id,
 
         m_colour = col;
         m_widget = gtk_color_button_new_with_color( m_colour.GetColor() );
-        gtk_widget_show( GTK_WIDGET(m_widget) );
+        gtk_widget_show(m_widget);
 
         // GtkColourButton signals
         g_signal_connect(m_widget, "color-set",