]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clrpicker.cpp
Updating with Vadim's API changes.
[wxWidgets.git] / src / gtk / clrpicker.cpp
index b88a8a37aa9659866698b302e0588c91e2fdae88..a8ed5ef927734835a2a8544a3b834ce197dd2c34 100644 (file)
@@ -83,7 +83,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,