X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..0a1c1e6214827e1d9dc9f6ca2c39567cb2d35ebc:/src/stubs/cursor.cpp?ds=sidebyside 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)