X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7b468788e860e7e39bb55bb921f757207b6f9fe..43c42c18d36c703a88b1b7b697bac27fe5608eca:/include/wx/stc/private.h diff --git a/include/wx/stc/private.h b/include/wx/stc/private.h index 6a57cb9adb..34143aca3c 100644 --- a/include/wx/stc/private.h +++ b/include/wx/stc/private.h @@ -21,7 +21,7 @@ extern wxString stc2wx(const char* str); extern wxString stc2wx(const char* str, size_t len); -extern const wxWX2MBbuf wx2stc(const wxString& str); +extern wxCharBuffer wx2stc(const wxString& str); // This function takes both wxString and wxCharBuffer because it uses either // one or the other of them depending on the build mode. In Unicode it uses the @@ -40,7 +40,7 @@ inline wxString stc2wx(const char* str) { inline wxString stc2wx(const char* str, size_t len) { return wxString(str, len); } -inline const wxWX2MBbuf wx2stc(const wxString& str) { +inline const char* wx2stc(const wxString& str) { return str.mbc_str(); }