]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to...
[wxWidgets.git] / src / generic / filedlgg.cpp
index 9d1f8f7e2aa8c6826d3727117553b7013d5ebad3..fe706a28208145aef7903abef0c589e7c65f81ea 100644 (file)
@@ -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;