]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clrpicker.cpp
Don't create GtkScrolledWindow if neither wxHSCROLL
[wxWidgets.git] / src / gtk / clrpicker.cpp
index 672a8593cb3afcbcd9afd91ffb2a42f1e8230db3..a710f9fa336f7f8df99f13cbbd4a856d3e81b4d9 100644 (file)
@@ -82,7 +82,7 @@ bool wxColourButton::Create( wxWindow *parent, wxWindowID id,
         m_parent->DoAddChild( this );
 
         PostCreation(size);
-        SetBestSize(size);
+        SetInitialSize(size);
     }
     else
         return wxGenericColourButton::Create(parent, id, col, pos, size,