Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
This commit is contained in:
@@ -412,7 +412,7 @@ int ReadDelimitedText( wxString* aDest, const char* aSource )
|
||||
}
|
||||
}
|
||||
|
||||
*aDest = FROM_UTF8( utf8.c_str() );
|
||||
*aDest = From_UTF8( utf8.c_str() );
|
||||
|
||||
return aSource - start;
|
||||
}
|
||||
@@ -1016,7 +1016,7 @@ int GetTrailingInt( const wxString& aStr )
|
||||
|
||||
wxString GetIllegalFileNameWxChars()
|
||||
{
|
||||
return FROM_UTF8( illegalFileNameChars );
|
||||
return From_UTF8( illegalFileNameChars );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user