X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/src/_cursor.i diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index ecb8a7a9ce..9d7e87851b 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -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;