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:
@@ -28,6 +28,7 @@
|
||||
#include "wx/font.h" // so we can't do without them
|
||||
#include "wx/colour.h"
|
||||
#include "wx/region.h"
|
||||
#include "wx/utils.h"
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
#include "wx/validate.h" // defines wxDefaultValidator
|
||||
|
@@ -310,7 +310,11 @@ void wxDirCtrl::OnExpandItem(wxTreeEvent &event)
|
||||
|
||||
m_paths.Clear();
|
||||
m_names.Clear();
|
||||
#ifdef __WXMSW__
|
||||
search = data->m_path + "\\*.*";
|
||||
#else
|
||||
search = data->m_path + "/*";
|
||||
#endif
|
||||
for (path = wxFindFirstFile( search, wxDIR ); !path.IsNull();
|
||||
path=wxFindNextFile() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user