X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..589abe2cdb7ce83a8c4f3c8785137974f8c3d30f:/src/mgl/dcclient.cpp 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;