X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79954978c03064b8e2a28c0b8892d9e759e1550e..10c49955ad14cebca9e16405ef7f61672f24053a:/src/mgl/dcclient.cpp diff --git a/src/mgl/dcclient.cpp b/src/mgl/dcclient.cpp index 4e05209e93..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 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#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;