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:
Robin Dunn 2005-02-18 19:28:16 +00:00
parent ec17cfa927
commit ac03a19f93
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;