X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/213ceb3f0e7b88a09d756dd181f14ecb5bd44d57..7bb82a7415a0fae8b691611665593e8550a7bcf7:/src/msw/gdiobj.cpp diff --git a/src/msw/gdiobj.cpp b/src/msw/gdiobj.cpp index 77c3045ad8..7a3f65e4d8 100644 --- a/src/msw/gdiobj.cpp +++ b/src/msw/gdiobj.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gdiobj.cpp +// Name: src/msw/gdiobj.cpp // Purpose: wxGDIObject class // Author: Julian Smart // Modified by: @@ -9,29 +9,25 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "gdiobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/gdiobj.h" + #ifndef WX_PRECOMP -#include -#include "wx/setup.h" -#include "wx/list.h" -#include "wx/utils.h" -#include "wx/app.h" + #include + #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) @@ -62,4 +58,3 @@ void wxGDIObject::DecrementResourceUsage(void) }; */ -