X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dd8666360a37784a7aba5990a31e3f5326ed815..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/msw/gdiobj.cpp

diff --git a/src/msw/gdiobj.cpp b/src/msw/gdiobj.cpp
index 46ef0dc8a2..cc4398582d 100644
--- a/src/msw/gdiobj.cpp
+++ b/src/msw/gdiobj.cpp
@@ -27,9 +27,7 @@
 
 #include "wx/msw/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
-
-#define M_GDIDATA wx_static_cast(wxGDIRefData*, m_refData)
+#define M_GDIDATA static_cast<wxGDIRefData*>(m_refData)
 
 /*
 void wxGDIObject::IncrementResourceUsage(void)