Changes to how overridable C++ methods are virtualized for Python.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,6 +154,9 @@ public:
|
||||
|
||||
%pythonAppend Destroy "args[0].thisown = 0";
|
||||
%extend { void Destroy() { delete self; } }
|
||||
|
||||
void DoLog(wxLogLevel level, const wxChar *szString, long t);
|
||||
void DoLogString(const wxChar *szString, long t);
|
||||
};
|
||||
|
||||
|
||||
@@ -388,8 +391,10 @@ public:
|
||||
wxLog::DoLogString(szString, t);
|
||||
}
|
||||
|
||||
DEC_PYCALLBACK_VOID_(Flush);
|
||||
PYPRIVATE;
|
||||
};
|
||||
IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
|
||||
%}
|
||||
|
||||
// Now tell SWIG about it
|
||||
|
Reference in New Issue
Block a user