X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..90b903c26306d88d3920589125ea1a03664e1b22:/src/generic/filedlgg.cpp diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 9d1f8f7e2a..fe706a2820 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -23,8 +23,6 @@ #error wxGenericFileDialog currently only supports Unix, win32 and DOS #endif -#include "wx/generic/filedlgg.h" - #ifndef WX_PRECOMP #include "wx/hash.h" #include "wx/intl.h" @@ -50,6 +48,7 @@ #include "wx/filefn.h" #include "wx/file.h" // for wxS_IXXX constants only #include "wx/filedlg.h" // wxOPEN, wxSAVE... +#include "wx/generic/filedlgg.h" #include "wx/generic/dirctrlg.h" // for wxFileIconsTable #if wxUSE_TOOLTIPS @@ -1003,10 +1002,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent, return true; if (!wxDialog::Create( parent, wxID_ANY, message, pos, wxDefaultSize, - wxDEFAULT_DIALOG_STYLE -#if !(defined(__PDA__) || defined(__SMARTPHONE__)) - | wxRESIZE_BORDER -#endif + wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )) { return false;