%(VALUES)s
// END of generated section
-//----------------------------------------------------------------------
-// Others
-
-#define wxSTC_MASK_FOLDERS ((1 << wxSTC_MARKNUM_FOLDER) | \
- (1 << wxSTC_MARKNUM_FOLDEROPEN) | \
- (1 << wxSTC_MARKNUM_FOLDERSUB) | \
- (1 << wxSTC_MARKNUM_FOLDERTAIL) | \
- (1 << wxSTC_MARKNUM_FOLDERMIDTAIL) | \
- (1 << wxSTC_MARKNUM_FOLDEROPENMID) | \
- (1 << wxSTC_MARKNUM_FOLDEREND))
-
-
-
-
//----------------------------------------------------------------------
class ScintillaWX; // forward declare
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
- const char* name = "styledtext");
+ const wxString& name = wxPySTCNameStr);
%%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
#else
void SetKey(int k) { m_key = k; }
void SetModifiers(int m) { m_modifiers = m; }
void SetModificationType(int t) { m_modificationType = t; }
- void SetText(const char* t) { m_text = t; }
+ void SetText(const wxString& t) { m_text = t; }
void SetLength(int len) { m_length = len; }
void SetLinesAdded(int num) { m_linesAdded = num; }
void SetLine(int val) { m_line = val; }