X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..e3e717ecc5add075cd53a04cf24fe27e24170944:/src/stubs/cursor.cpp?ds=sidebyside diff --git a/src/stubs/cursor.cpp b/src/stubs/cursor.cpp index c856f5e9e0..4333364c93 100644 --- a/src/stubs/cursor.cpp +++ b/src/stubs/cursor.cpp @@ -14,6 +14,7 @@ #endif #include "wx/cursor.h" +#include "wx/icon.h" #if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap) @@ -45,7 +46,7 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSE wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int hotSpotY) { - m_refData = new wxIconRefData; + m_refData = new wxCursorRefData; // TODO: create cursor from a file } @@ -53,7 +54,7 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho // Cursors by stock number wxCursor::wxCursor(int cursor_type) { - m_refData = new wxIconRefData; + m_refData = new wxCursorRefData; /* TODO switch (cursor_type)