X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc08fedb1c09e5b14c29d389c974e2d212da43ef..61f824b8198b6c916adc25f58640a22c9d523bf0:/src/msw/cursor.cpp?ds=sidebyside diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 6333efd187..f546bd06b3 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -102,7 +102,7 @@ public: { gs_globalCursor = new wxCursor; - return TRUE; + return true; } virtual void OnExit() @@ -172,6 +172,7 @@ wxCursor::wxCursor() { } +#if wxUSE_IMAGE wxCursor::wxCursor(const wxImage& image) { // image has to be of the standard cursor size, otherwise we won't be able @@ -200,6 +201,7 @@ wxCursor::wxCursor(const wxImage& image) m_refData = new wxCursorRefData(hcursor, true /* delete it later */); } +#endif wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), @@ -276,7 +278,7 @@ wxCursor::wxCursor(const wxString& filename, // Cursors by stock number wxCursor::wxCursor(int idCursor) { - // all wxWindows standard cursors + // all wxWidgets standard cursors static const struct StdCursor { // is this a standard Windows cursor?