X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfaf8bd177829c2449bb4a465c3161861d553236..a9e2e6e52b9c2371413597a92ccc4f8352963c32:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 3e2a20c632..2056e4692b 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -39,7 +39,7 @@ public: wxCursorRefData::wxCursorRefData() { - m_cursor = (GdkCursor *) NULL; + m_cursor = NULL; } wxCursorRefData::~wxCursorRefData() @@ -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)); } //-----------------------------------------------------------------------------