Fix for wxPyTipProvider. Now it is possible to derive from it and

implement GetTip.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-07-20 19:45:24 +00:00
parent 5918786f9f
commit cf27687318
3 changed files with 46 additions and 0 deletions

View File

@@ -468,6 +468,9 @@ IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
class wxPyTipProvider : public wxTipProvider {
public:
wxPyTipProvider(size_t currentTip);
void _setCallbackInfo(PyObject* self, PyObject* _class);
%pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyTipProvider)"
};