]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stc/private.h
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
[wxWidgets.git] / include / wx / stc / private.h
CommitLineData
ea88e9bc
VS
1////////////////////////////////////////////////////////////////////////////
2// Name: wx/stc/private.h
3// Purpose: Private declarations for wxSTC
4// Author: Robin Dunn
5// Created: 2007-07-15
6// RCS-ID: $Id$
7// Copyright: (c) 2000 by Total Control Software
8// Licence: wxWindows license
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_STC_PRIVATE_H_
12#define _WX_STC_PRIVATE_H_
13
14#include "wx/defs.h"
15#include "wx/string.h"
16
17//----------------------------------------------------------------------
18// Utility functions used within wxSTC
19
20#if wxUSE_UNICODE
21
22extern wxString stc2wx(const char* str);
23extern wxString stc2wx(const char* str, size_t len);
24extern const wxWX2MBbuf wx2stc(const wxString& str);
25
26#else // not UNICODE
27
28inline wxString stc2wx(const char* str) {
29 return wxString(str);
30}
31inline wxString stc2wx(const char* str, size_t len) {
32 return wxString(str, len);
33}
34inline const wxWX2MBbuf wx2stc(const wxString& str) {
35 return str.mbc_str();
36}
37
38#endif // UNICODE
39
40#endif // _WX_STC_PRIVATE_H_