]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dirdlg.cpp
correct GetBestSize() to return correct best size, i.e. the same size as AutoSize...
[wxWidgets.git] / src / gtk / dirdlg.cpp
index 70faf33d0cdf07d284b28612de3c9347668b7a8a..7e75f051314503a21af3164ace7cd839f4cef8af 100644 (file)
@@ -115,7 +115,7 @@ wxDirDialog::wxDirDialog(wxWindow* parent, const wxString& title,
             gtk_parent = GTK_WINDOW( gtk_widget_get_toplevel(parent->m_widget) );
 
         if (HasFlag(wxDD_DIR_MUST_EXIST))
-        gtk_action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER;
+            gtk_action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER;
         else
             gtk_action = GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER;