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:
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <markup_parser.h>
|
||||
#include <sstream>
|
||||
#include "macros.h"
|
||||
#include <string_utils.h>
|
||||
|
||||
using namespace MARKUP;
|
||||
|
||||
@@ -65,7 +65,7 @@ std::string NODE::typeString() const
|
||||
|
||||
wxString NODE::asWxString() const
|
||||
{
|
||||
return FROM_UTF8( string().c_str() );
|
||||
return From_UTF8( string().c_str() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user