]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/_oglcanvas.i
test wxString's char<->wchar_t ctors
[wxWidgets.git] / wxPython / contrib / ogl / _oglcanvas.i
index 0521778e834679b56703d600f876cc860e7059c7..af80f9ad97a7f30d425522ac8cd24034dd48d414 100644 (file)
@@ -99,9 +99,11 @@ public:
 %}
 
 
+MustHaveApp(wxPyShapeCanvas);
+
 class wxPyShapeCanvas : public wxScrolledWindow {
 public:
-    %addtofunc wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)"
+    %pythonAppend wxPyShapeCanvas "self._setOORandCallbackInfo(PyShapeCanvas)"
     
     wxPyShapeCanvas(wxWindow* parent = NULL, wxWindowID id = -1,
                     const wxPoint& pos = wxDefaultPosition,