]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stc/stc.h
fixed outdated filenames
[wxWidgets.git] / include / wx / stc / stc.h
index 10b857dd182090addd6dd7c41f9cdc4e41ba97d6..ab01bf1887fe284c910f0667dcaa590534bfc63c 100644 (file)
@@ -817,7 +817,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
@@ -1799,6 +1799,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; }
+
+
 //----------------------------------------------------------------------