X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..4c30035625ce9c4980e52db808704b377af12041:/src/stubs/cursor.cpp diff --git a/src/stubs/cursor.cpp b/src/stubs/cursor.cpp index f5cc609f7e..bc04cc617c 100644 --- a/src/stubs/cursor.cpp +++ b/src/stubs/cursor.cpp @@ -16,9 +16,7 @@ #include "wx/cursor.h" #include "wx/icon.h" -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap) -#endif wxCursorRefData::wxCursorRefData() { @@ -46,7 +44,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 } @@ -54,7 +52,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)