X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ef5b1dad1f5d18309d0fdc0b36ad383b58f1a2e..0534259ab803b0edd8692e966947b202cd9e10c0:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 354e8dc8dd..6688cfafee 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -124,9 +124,9 @@ void wxCursor::InitFromStock( wxStockCursor cursorId ) #endif } -wxCursor::wxCursor(const wxString& name, - wxBitmapType type, - int hotSpotX, int hotSpotY) +wxCursor::wxCursor(const wxString& WXUNUSED(name), + wxBitmapType WXUNUSED(type), + int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY)) { wxFAIL_MSG( wxT("wxCursor creation from file not yet implemented") ); } @@ -149,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