Fix wxDir compilation with wxUSE_STD_STRING_CONV_IN_WXSTRING
When enabling this build option, implicit conversion to wchar_t * is not available, so convert wxString to it explicitly. Closes #24149.
This commit is contained in:
parent
44248eb78a
commit
1bf80138e9
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ CheckFoundMatch(const FIND_STRUCT* finddata, const wxString& filter)
|
|||
if ( filter.empty() )
|
||||
return true;
|
||||
|
||||
return ::PathMatchSpec(finddata->cFileName, filter) == TRUE;
|
||||
return ::PathMatchSpec(finddata->cFileName, filter.t_str()) == TRUE;
|
||||
}
|
||||
|
||||
inline bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue