]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filepicker.cpp
missing reversed orientation assignments
[wxWidgets.git] / src / gtk / filepicker.cpp
index cec62bdeb1333320800cf895ba9cbaa8189c0750..c79eb51426266ab58c1ede414a08360d0a82e0ab 100644 (file)
@@ -94,7 +94,7 @@ bool wxFileButton::Create( wxWindow *parent, wxWindowID id,
         m_parent->DoAddChild( this );
 
         PostCreation(size);
-        SetBestSize(size);
+        SetInitialSize(size);
     }
     else
         return wxGenericFileButton::Create(parent, id, label, path, message, wildcard,
@@ -241,7 +241,7 @@ bool wxDirButton::Create( wxWindow *parent, wxWindowID id,
         m_parent->DoAddChild( this );
 
         PostCreation(size);
-        SetBestSize(size);
+        SetInitialSize(size);
     }
     else
         return wxGenericDirButton::Create(parent, id, label, path, message, wildcard,