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:
parent
7c3928159c
commit
43d6e3cae1
@ -253,7 +253,7 @@ PyObject* wxArrayInt2PyList_helper(const wxArrayInt& arr);
|
|||||||
|
|
||||||
#ifndef wxPyUSE_EXPORTED_API
|
#ifndef wxPyUSE_EXPORTED_API
|
||||||
|
|
||||||
class wxPyCallback : public wxEvtHandler {
|
class wxPyCallback : public wxObject {
|
||||||
DECLARE_ABSTRACT_CLASS(wxPyCallback);
|
DECLARE_ABSTRACT_CLASS(wxPyCallback);
|
||||||
public:
|
public:
|
||||||
wxPyCallback(PyObject* func);
|
wxPyCallback(PyObject* func);
|
||||||
|
@ -1492,7 +1492,7 @@ wxFileOffset wxPyCBInputStream::OnSysTell() const {
|
|||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxEvtHandler);
|
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxObject);
|
||||||
|
|
||||||
wxPyCallback::wxPyCallback(PyObject* func) {
|
wxPyCallback::wxPyCallback(PyObject* func) {
|
||||||
m_func = func;
|
m_func = func;
|
||||||
|
Loading…
Reference in New Issue
Block a user