X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2229243bdf17485b33c15786124ab99366b83975..263e3a8327f544990c7ba7edb8cd34994c908049:/src/generic/dirdlgg.cpp diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index bfe97a9cf9..14cf31b5a0 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/generic/dirdlg.cpp +// Name: src/generic/dirdlgg.cpp // Purpose: wxDirDialog // Author: Harm van der Heijden, Robert Roebling & Julian Smart // Modified by: @@ -33,6 +33,7 @@ #include "wx/dirctrl.h" #include "wx/generic/dirdlgg.h" #include "wx/artprov.h" +#include "wx/menu.h" // ---------------------------------------------------------------------------- // constants @@ -78,7 +79,7 @@ bool wxGenericDirDialog::Create(wxWindow* parent, { wxBusyCursor cursor; - parent = GetParentForModalDialog(parent); + parent = GetParentForModalDialog(parent, style); if (!wxDirDialogBase::Create(parent, title, defaultPath, style, pos, sz, name)) return false; @@ -165,7 +166,7 @@ bool wxGenericDirDialog::Create(wxWindow* parent, topsizer->Add(m_dirCtrl, wxSizerFlags(flagsBorder2).Proportion(1).Expand()); #ifndef __SMARTPHONE__ - // Make the an option depending on a flag? + // TODO: Make this an option depending on a flag? wxCheckBox * check = new wxCheckBox(this, ID_SHOW_HIDDEN, _("Show &hidden directories")); topsizer->Add(check, wxSizerFlags(flagsBorder2).Right());