X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..6362d82b3ed82aa6795e4ad03160820f94c9e4d4:/src/x11/cursor.cpp?ds=sidebyside diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index f1b2a9dc89..7eaa5e6fde 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -66,7 +66,7 @@ wxCursor::wxCursor() } -wxCursor::wxCursor( int cursorId ) +void wxCursor::InitFromStock( wxStockCursor cursorId ) { m_refData = new wxCursorRefData(); @@ -124,13 +124,11 @@ wxCursor::wxCursor( int cursorId ) #endif } -wxCursor::wxCursor(const char WXUNUSED(bits)[], - int WXUNUSED(width), int WXUNUSED(height), - int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY), - const char WXUNUSED(maskBits)[], - wxColour *WXUNUSED(fg), wxColour *WXUNUSED(bg)) +wxCursor::wxCursor(const wxString& name, + wxBitmapType type, + int hotSpotX, int hotSpotY) { - wxFAIL_MSG( wxT("wxCursor creation from bits not yet implemented") ); + wxFAIL_MSG( wxT("wxCursor creation from file not yet implemented") ); } #if wxUSE_IMAGE @@ -151,7 +149,7 @@ wxGDIRefData *wxCursor::CreateGDIRefData() const wxGDIRefData *wxCursor::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxCursorRefData(*wx_static_cast(const wxCursorRefData *, data)); + return new wxCursorRefData(*static_cast(data)); } WXCursor wxCursor::GetCursor() const