X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/mgl/dcclient.cpp?ds=sidebyside diff --git a/src/mgl/dcclient.cpp b/src/mgl/dcclient.cpp index d238dbc95c..9e3d14aa82 100644 --- a/src/mgl/dcclient.cpp +++ b/src/mgl/dcclient.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcclient.cpp +// Name: src/mgl/dcclient.cpp // Purpose: // Author: Vaclav Slavik // RCS-ID: $Id$ @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "dcclient.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -18,8 +14,9 @@ #pragma hdrstop #endif +#include "wx/dcclient.h" + #ifndef WX_PRECOMP - #include "wx/dcclient.h" #include "wx/window.h" #endif @@ -43,7 +40,7 @@ wxWindowDC::wxWindowDC(wxWindow *win) : m_wnd(win) else { m_inPaintHandler = FALSE; - + dc = new MGLDevCtx(MGL_wmBeginPaint(win->GetHandle())); MGLRegion clip;