]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiobj.cpp
use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the...
[wxWidgets.git] / src / msw / gdiobj.cpp
index 1e9cc0a3b4c23ecd144931971ae07157d8f22af3..46ef0dc8a29671abb9801e09d44a6083a5af18ce 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        gdiobj.cpp
+// Name:        src/msw/gdiobj.cpp
 // Purpose:     wxGDIObject class
 // Author:      Julian Smart
 // Modified by:
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#include "wx/gdiobj.h"
+
 #ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/setup.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
 
-#include "wx/gdiobj.h"
 #include "wx/msw/private.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
 
+#define M_GDIDATA wx_static_cast(wxGDIRefData*, m_refData)
+
 /*
 void wxGDIObject::IncrementResourceUsage(void)
 {
@@ -58,4 +60,3 @@ void wxGDIObject::DecrementResourceUsage(void)
 };
 
 */
-