X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfaf8bd177829c2449bb4a465c3161861d553236..4bfd0ed55289f57f549fad4d5b8a94aae133b3c4:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 3e2a20c632..1400774059 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -49,7 +49,7 @@ wxCursorRefData::~wxCursorRefData() //----------------------------------------------------------------------------- -#define M_CURSORDATA wx_static_cast(wxCursorRefData*, m_refData) +#define M_CURSORDATA static_cast(m_refData) IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject) @@ -361,7 +361,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)); } //-----------------------------------------------------------------------------