git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15539
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef __WINDOWS__
#include <windows.h>
#include "wx/msw/mslu.h"
#ifdef __WINDOWS__
#include <windows.h>
#include "wx/msw/mslu.h"
// sys/cygwin.h is needed for cygwin_conv_to_full_win32_path()
//
// note that it must be included after <windows.h>
// sys/cygwin.h is needed for cygwin_conv_to_full_win32_path()
//
// note that it must be included after <windows.h>
// includes previously prepended path separator
strcat(thePath, theFileName);
}
// includes previously prepended path separator
strcat(thePath, theFileName);
}
// create path string for return value
wxString result( thePath ) ;
#else
// create path string for return value
wxString result( thePath ) ;
#else
- gs_dir->GetFirst(&result, wxFileNameFromPath((wxChar) spec), dirFlags);
+ gs_dir->GetFirst(&result, wxFileNameFromPath((wxChar*) spec), dirFlags);
if ( result.IsEmpty() )
{
wxDELETE(gs_dir);
if ( result.IsEmpty() )
{
wxDELETE(gs_dir);