X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4bbc9f720cbd99d7092e8944e671a6291068b13..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/mgl/dcclient.h diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index f062e9d5e7..0011f1ca72 100644 --- a/include/wx/mgl/dcclient.h +++ b/include/wx/mgl/dcclient.h @@ -3,28 +3,23 @@ // Purpose: // Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_DCCLIENT_H__ #define __WX_DCCLIENT_H__ -#ifdef __GNUG__ -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" -class WXDLLEXPORT wxWindowMGL; - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxWindowDC; -class WXDLLEXPORT wxPaintDC; -class WXDLLEXPORT wxClientDC; +class WXDLLIMPEXP_FWD_CORE wxWindowDC; +class WXDLLIMPEXP_FWD_CORE wxPaintDC; +class WXDLLIMPEXP_FWD_CORE wxClientDC; +class WXDLLIMPEXP_FWD_CORE wxWindowMGL; //----------------------------------------------------------------------------- // wxWindowDC @@ -39,6 +34,7 @@ public: protected: wxWindow *m_wnd; + bool m_inPaintHandler; private: DECLARE_DYNAMIC_CLASS(wxWindowDC) @@ -55,7 +51,6 @@ public: wxClientDC(wxWindow *win); private: - wxWindowMGL *m_wnd; DECLARE_DYNAMIC_CLASS(wxClientDC) }; @@ -63,12 +58,11 @@ private: // wxPaintDC //----------------------------------------------------------------------------- -// FIXME_MGL class WXDLLEXPORT wxPaintDC : public wxClientDC { public: - wxPaintDC() { } - wxPaintDC( wxWindow *win ) {} + wxPaintDC() : wxClientDC() {} + wxPaintDC(wxWindow *win) : wxClientDC(win) {} private: DECLARE_DYNAMIC_CLASS(wxPaintDC)