X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..6028be3f39babc4530472a4139576fe318c6aa90:/wxPython/src/_cursor.i diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index 6b07a0ad67..81fe4c90a9 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -61,6 +61,8 @@ Stock Cursor IDs "); +MustHaveApp(wxCursor); + class wxCursor : public wxGDIObject { public: @@ -75,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);