]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiobj.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / gdiobj.cpp
index 46ef0dc8a29671abb9801e09d44a6083a5af18ce..cc4398582d6e71792c9131fc373650f40fb8327f 100644 (file)
@@ -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)