corrected passing const char * to a function taking char * (part of the patch 543892)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-04-15 18:47:34 +00:00
parent 432e839126
commit 9a5ead1e45

View File

@ -1371,7 +1371,7 @@ static wxString gs_dirPath;
wxString wxFindFirstFile(const wxChar *spec, int flags)
{
gs_dirPath = wxPathOnly(spec);
wxSplitPath(spec, &gs_dirPath, NULL, NULL);
if ( gs_dirPath.IsEmpty() )
gs_dirPath = wxT(".");
if ( gs_dirPath.Last() != wxFILE_SEP_PATH )