]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_cursor.i
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / _cursor.i
index ecb8a7a9ce0ec5660f94c52f3c712d6b9e003193..9d7e87851b135f0aee3f13f74a0e48c41edac711 100644 (file)
@@ -77,7 +77,7 @@ This constructor is not available on wxGTK, use ``wx.StockCursor``,
 ``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.", "");
         wxCursor(const wxString* cursorName, long type, int hotSpotX=0, int hotSpotY=0) {
 %#ifdef __WXGTK__
-            wxCHECK_MSG(False, NULL,
+            wxCHECK_MSG(false, NULL,
                         wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
 %#else
             return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
@@ -115,9 +115,10 @@ black/white (mask respected).",
 //     %extend {
 //         DocStr(wxCursor,
 //                "");
-//         %name(CursorFromBits) wxCursor(PyObject* bits, int width, int  height,
+//         %RenameCtor(CursorFromBits,  wxCursor(PyObject* bits, int width, int  height,
 //                                          int hotSpotX=-1, int hotSpotY=-1,
-//                                          PyObject* maskBits=NULL) {
+//                                          PyObject* maskBits=NULL))
+//         {
 //             char* bitsbuf;
 //             char* maskbuf = NULL;
 //             int   length;