]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal...
[wxWidgets.git] / src / generic / filedlgg.cpp
index c372fb9fac50f87a46aa11b46560d4d1788091f5..fe706a28208145aef7903abef0c589e7c65f81ea 100644 (file)
 #error wxGenericFileDialog currently only supports Unix, win32 and DOS
 #endif
 
+#ifndef WX_PRECOMP
+    #include "wx/hash.h"
+    #include "wx/intl.h"
+#endif
+
 #include "wx/checkbox.h"
 #include "wx/textctrl.h"
 #include "wx/choice.h"
@@ -31,7 +36,6 @@
 #include "wx/debug.h"
 #include "wx/log.h"
 #include "wx/longlong.h"
-#include "wx/intl.h"
 #include "wx/msgdlg.h"
 #include "wx/sizer.h"
 #include "wx/bmpbuttn.h"
@@ -998,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;