wxPyCallback needs to derive from wxEvtHandler now since the
wxObjectEventFunction typedef changed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ec17cfa927
commit
ac03a19f93
@ -253,7 +253,7 @@ PyObject* wxArrayInt2PyList_helper(const wxArrayInt& arr);
|
||||
|
||||
#ifndef wxPyUSE_EXPORTED_API
|
||||
|
||||
class wxPyCallback : public wxObject {
|
||||
class wxPyCallback : public wxEvtHandler {
|
||||
DECLARE_ABSTRACT_CLASS(wxPyCallback);
|
||||
public:
|
||||
wxPyCallback(PyObject* func);
|
||||
|
@ -1477,7 +1477,7 @@ wxFileOffset wxPyCBInputStream::OnSysTell() const {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxObject);
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxEvtHandler);
|
||||
|
||||
wxPyCallback::wxPyCallback(PyObject* func) {
|
||||
m_func = func;
|
||||
|
Loading…
Reference in New Issue
Block a user