]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stc/private.h
1 ////////////////////////////////////////////////////////////////////////////
2 // Name: wx/stc/private.h
3 // Purpose: Private declarations for wxSTC
7 // Copyright: (c) 2000 by Total Control Software
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_STC_PRIVATE_H_
12 #define _WX_STC_PRIVATE_H_
15 #include "wx/string.h"
17 //----------------------------------------------------------------------
18 // Utility functions used within wxSTC
22 extern wxString
stc2wx(const char* str
);
23 extern wxString
stc2wx(const char* str
, size_t len
);
24 extern const wxWX2MBbuf
wx2stc(const wxString
& str
);
28 inline wxString
stc2wx(const char* str
) {
31 inline wxString
stc2wx(const char* str
, size_t len
) {
32 return wxString(str
, len
);
34 inline const wxWX2MBbuf
wx2stc(const wxString
& str
) {
40 #endif // _WX_STC_PRIVATE_H_