]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiobj.cpp
switching to newer API
[wxWidgets.git] / src / msw / gdiobj.cpp
index 9b7dafc903b34060b5f4dfb772996dcb7a9b70bc..7a3f65e4d88a6b6975997a5bf25456911469b5f9 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #endif
 
+#include "wx/gdiobj.h"
+
 #ifndef WX_PRECOMP
 #ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/list.h"
-#include "wx/utils.h"
-#include "wx/app.h"
+    #include <stdio.h>
+    #include "wx/list.h"
+    #include "wx/utils.h"
+    #include "wx/app.h"
 #endif
 
 #endif
 
-#include "wx/gdiobj.h"
 #include "wx/msw/private.h"
 
 #include "wx/msw/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
+#define M_GDIDATA wx_static_cast(wxGDIRefData*, m_refData)
 
 /*
 void wxGDIObject::IncrementResourceUsage(void)
 
 /*
 void wxGDIObject::IncrementResourceUsage(void)