]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.h.in
Added wxTB_NODIVIDER and wxTB_NOALIGN so native Windows toolbar can
[wxWidgets.git] / src / stc / stc.h.in
index 1f2a2ac2d2a8df80c4e6fe933aabc1f737579677..f7b01cb837257df98e527e0a1cc98e880a46087b 100644 (file)
@@ -50,7 +50,7 @@ public:
     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
@@ -149,6 +149,11 @@ public:
     // Set the horizontal scrollbar to use instead of the ont that's built-in.
     void SetHScrollBar(wxScrollBar* bar) { m_hScrollBar = bar; }
 
+    // Can be used to prevent the EVT_CHAR handler from adding the char
+    bool GetLastKeydownProcessed() { return m_lastKeyDownConsumed; }
+    void SetLastKeydownProcessed(bool val) { m_lastKeyDownConsumed = val; }
+
+
 //----------------------------------------------------------------------