diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index e401bb2e54..7c4acbd0a2 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -79,7 +79,7 @@ public: 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, flags, hotSpotX, hotSpotY); + return new wxCursor(*cursorName, type, hotSpotX, hotSpotY); %#endif } }