Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -465,6 +465,10 @@ int ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* cons
|
||||
}
|
||||
|
||||
int rv = KeyDown(key, shift, ctrl, alt, consumed);
|
||||
|
||||
// printf("key: %d shift: %d ctrl: %d alt: %d rv: %d consumed: %d\n",
|
||||
// key, shift, ctrl, alt, rv, *consumed);
|
||||
|
||||
if (key)
|
||||
return rv;
|
||||
else
|
||||
|
@@ -57,6 +57,8 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const char* name = "styledtext");
|
||||
%%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
|
||||
|
||||
#else
|
||||
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
|
Reference in New Issue
Block a user