]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
Fix to MDI to restore 3D border; kludge to OGL Studio sample to redraw
[wxWidgets.git] / src / msw / filedlg.cpp
index 17612e6fca7ab4bc381cdda26cd91cee24f59a45..b3f2a2999bae66f636bf8030b1e4028ca9244eb9 100644 (file)
@@ -15,6 +15,7 @@
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
+#include "wx/msw/private.h"
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -28,7 +29,7 @@
     #include "wx/intl.h"
     #include "wx/log.h"
 
-    #include "wx/msw/private.h"
+//    #include "wx/msw/private.h"
 #endif
 
 #if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__)
@@ -183,7 +184,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
     m_fileName = defaultFileName;
     m_dir = defaultDir;
     m_wildCard = wildCard;
-    m_filterIndex = 1;
+    m_filterIndex = 0;
 }
 
 void wxFileDialog::GetPaths(wxArrayString& paths) const