]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiobj.cpp
Create a text measuring context until a real context is assigned, this allows things...
[wxWidgets.git] / src / msw / gdiobj.cpp
index 7a3f65e4d88a6b6975997a5bf25456911469b5f9..cc4398582d6e71792c9131fc373650f40fb8327f 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "wx/msw/private.h"
 
-#define M_GDIDATA wx_static_cast(wxGDIRefData*, m_refData)
+#define M_GDIDATA static_cast<wxGDIRefData*>(m_refData)
 
 /*
 void wxGDIObject::IncrementResourceUsage(void)