]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.h.in
added possibility to throw different objects and crash directly from the main frame...
[wxWidgets.git] / src / stc / stc.h.in
index e48912f1c462cecbef754fc47c047dc82d5b4d29..6fd444087a3398688425294ee15d2a77e87459cc 100644 (file)
@@ -90,7 +90,7 @@ public:
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize, long style = 0,
                      const wxString& name = wxPySTCNameStr);
-    %%name(PreStyledTextCtrl) wxStyledTextCtrl();
+    %%RenameCtor(PreStyledTextCtrl,  wxStyledTextCtrl());
 
 #else
     wxStyledTextCtrl(wxWindow *parent, wxWindowID id=wxID_ANY,
@@ -186,11 +186,11 @@ public:
 
 
     // Set the vertical scrollbar to use instead of the ont that's built-in.
-    void SetVScrollBar(wxScrollBar* bar) { m_vScrollBar = bar; }
+    void SetVScrollBar(wxScrollBar* bar);
 
 
     // Set the horizontal scrollbar to use instead of the ont that's built-in.
-    void SetHScrollBar(wxScrollBar* bar) { m_hScrollBar = bar; }
+    void SetHScrollBar(wxScrollBar* bar);
 
     // Can be used to prevent the EVT_CHAR handler from adding the char
     bool GetLastKeydownProcessed() { return m_lastKeyDownConsumed; }