Move wxPyCallback back to derive from wxObject

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-03-08 00:41:35 +00:00
parent 7c3928159c
commit 43d6e3cae1
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 wxEvtHandler {
class wxPyCallback : public wxObject {
DECLARE_ABSTRACT_CLASS(wxPyCallback);
public:
wxPyCallback(PyObject* func);

View File

@ -1492,7 +1492,7 @@ wxFileOffset wxPyCBInputStream::OnSysTell() const {
//----------------------------------------------------------------------
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxEvtHandler);
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxObject);
wxPyCallback::wxPyCallback(PyObject* func) {
m_func = func;