From cccb455e3099ab1bcf4e91944a69e77f28fc0758 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 29 May 2005 00:37:25 +0000 Subject: [PATCH] Wrong class used in _setCallbackInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/docs/CHANGES.txt | 2 ++ wxPython/src/_pywindows.i | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index fae3a47b99..9e85831c5b 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -141,6 +141,8 @@ shrink. wxMSW: When converting a wx.Icon to a bitmap check if the icon has an alpha channel and set the bitmap to use it. +Fixed the wrong class name used in wx.PyScrolledWindow's call to +_setCallbackInfo. diff --git a/wxPython/src/_pywindows.i b/wxPython/src/_pywindows.i index fb6b59057e..69b423e84f 100644 --- a/wxPython/src/_pywindows.i +++ b/wxPython/src/_pywindows.i @@ -444,7 +444,7 @@ MustHaveApp(wxPyScrolledWindow); class wxPyScrolledWindow : public wxScrolledWindow { public: - %pythonAppend wxPyScrolledWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)" + %pythonAppend wxPyScrolledWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyScrolledWindow)" %pythonAppend wxPyScrolledWindow() "" wxPyScrolledWindow(wxWindow* parent, const wxWindowID id=-1, -- 2.45.2