]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_app.i
Put the wxMemoryBuffer typemaps back
[wxWidgets.git] / wxPython / src / _app.i
index e2efaa1c1a5aaebcc1bc1344d49e1362c79f2e51..cee7c9a804b9d2175cbc3f884f63b96a139501b0 100644 (file)
@@ -44,7 +44,7 @@ enum
 class wxPyApp : public wxEvtHandler {
 public:
 
-    %addtofunc wxPyApp
+    %pythonAppend wxPyApp
        "self._setCallbackInfo(self, PyApp)
         self._setOORInfo(self)";
 
@@ -257,7 +257,7 @@ public:
 #else
     %extend {
         static int GetComCtl32Version()
-            { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
+            { wxPyRaiseNotImplemented(); return 0; }
     }
 #endif
 };