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:
parent
432e839126
commit
9a5ead1e45
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user