X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..77611ad4da9df336a0805508276a81b8f4437107:/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)