Minor changes to keep my MSW source

in synch...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-10 15:04:47 +00:00
parent 783ff666e0
commit 5e4ff78a96
2 changed files with 5 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
#include "wx/font.h" // so we can't do without them #include "wx/font.h" // so we can't do without them
#include "wx/colour.h" #include "wx/colour.h"
#include "wx/region.h" #include "wx/region.h"
#include "wx/utils.h"
#if wxUSE_VALIDATORS #if wxUSE_VALIDATORS
#include "wx/validate.h" // defines wxDefaultValidator #include "wx/validate.h" // defines wxDefaultValidator

View File

@@ -310,7 +310,11 @@ void wxDirCtrl::OnExpandItem(wxTreeEvent &event)
m_paths.Clear(); m_paths.Clear();
m_names.Clear(); m_names.Clear();
#ifdef __WXMSW__
search = data->m_path + "\\*.*";
#else
search = data->m_path + "/*"; search = data->m_path + "/*";
#endif
for (path = wxFindFirstFile( search, wxDIR ); !path.IsNull(); for (path = wxFindFirstFile( search, wxDIR ); !path.IsNull();
path=wxFindNextFile() ) path=wxFindNextFile() )
{ {