]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/core_wrap.cpp
new DC API fix
[wxWidgets.git] / wxPython / src / gtk / core_wrap.cpp
index dccfecb59939825cb3fd6f6d69a011b902083b3e..88785eac972ab60666a2897acf8a09600db1ab18 100644 (file)
@@ -953,7 +953,7 @@ wxPyApp *new_wxPyApp(){
             wxPythonApp = new wxPyApp();
             return wxPythonApp;
         }
-int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return 0; }
+int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
 
     void wxApp_CleanUp() {
         __wxPyCleanup();
@@ -1011,7 +1011,7 @@ wxWindow* wxFindWindowByLabel( const wxString& label,
         win->SubclassWin(hWnd);
         return win;
 #else
-        PyErr_SetNone(PyExc_NotImplementedError);
+        wxPyRaiseNotImplemented();
         return NULL;
 #endif
     }