]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
Added the sample code from wxPython In Action to the samples dir
[wxWidgets.git] / src / gtk / fontpicker.cpp
index 88e2b93c7c5da116e22bacfe521203bc9dd29f72..eda8022cc19a7c96f09b5f4854e5812a95a0c7af 100644 (file)
@@ -95,7 +95,7 @@ bool wxFontButton::Create( wxWindow *parent, wxWindowID id,
         m_parent->DoAddChild( this );
 
         PostCreation(size);
-        SetBestSize(size);
+        SetInitialSize(size);
     }
     else
         return wxGenericFontButton::Create(parent, id, initial, pos, size,