X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7b468788e860e7e39bb55bb921f757207b6f9fe..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/stc/private.h diff --git a/include/wx/stc/private.h b/include/wx/stc/private.h index 6a57cb9adb..3624bb779f 100644 --- a/include/wx/stc/private.h +++ b/include/wx/stc/private.h @@ -3,7 +3,6 @@ // Purpose: Private declarations for wxSTC // Author: Robin Dunn // Created: 2007-07-15 -// RCS-ID: $Id$ // Copyright: (c) 2000 by Total Control Software // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -21,7 +20,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 +39,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(); }