]> git.saurik.com Git - wxWidgets.git/commitdiff
OFN_ENABLESIZING not appropriate for WinCE
authorJulian Smart <julian@anthemion.co.uk>
Mon, 26 Jul 2004 18:48:54 +0000 (18:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 26 Jul 2004 18:48:54 +0000 (18:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/filedlg.cpp

index 541ea70c691133bb915667ae6f776e5a82d5e7cf..8f72f3e558e297771a7f5e6ed5014b283418246e 100644 (file)
@@ -252,8 +252,13 @@ int wxFileDialog::ShowModal()
         programmer needs the PLACES BAR (left side of dlg) they
         just shouldn't move or center the dlg.
     */
-    if (m_bMovedWindow) // we need the these flags.
-        msw_flags |= OFN_EXPLORER|OFN_ENABLEHOOK|OFN_ENABLESIZING;
+    if (m_bMovedWindow) // we need these flags.
+    {
+        msw_flags |= OFN_EXPLORER|OFN_ENABLEHOOK;
+#ifndef __WXWINCE__
+        msw_flags |= OFN_ENABLESIZING;
+#endif
+    }
 
     if (m_dialogStyle & wxMULTIPLE )
     {