X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ef5b1dad1f5d18309d0fdc0b36ad383b58f1a2e..23fb33aa4e15110d41b5a16fff438e44e0cb3ea9:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 8c0eee4f3a..1400774059 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -17,6 +17,7 @@ #include "wx/app.h" #include "wx/image.h" #include "wx/bitmap.h" + #include "wx/log.h" #endif // WX_PRECOMP #include @@ -48,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) @@ -360,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)); } //-----------------------------------------------------------------------------