X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..97c58531bf6912d5b6214b4bd6298466ebcb87ca:/include/wx/mgl/dcclient.h diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index b9ca10cd5f..ca78d1df80 100644 --- a/include/wx/mgl/dcclient.h +++ b/include/wx/mgl/dcclient.h @@ -3,19 +3,14 @@ // Purpose: // Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 2001 Vaclav Slavik +// 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" -#include "wx/window.h" //----------------------------------------------------------------------------- // classes @@ -24,17 +19,22 @@ class WXDLLEXPORT wxWindowDC; class WXDLLEXPORT wxPaintDC; class WXDLLEXPORT wxClientDC; +class WXDLLEXPORT wxWindowMGL; //----------------------------------------------------------------------------- // wxWindowDC //----------------------------------------------------------------------------- -//FIXME_MGL class WXDLLEXPORT wxWindowDC : public wxDC { public: wxWindowDC() {} - wxWindowDC( wxWindow *win ) {} + virtual ~wxWindowDC(); + wxWindowDC(wxWindow *win); + +protected: + wxWindow *m_wnd; + bool m_inPaintHandler; private: DECLARE_DYNAMIC_CLASS(wxWindowDC) @@ -47,8 +47,8 @@ private: class WXDLLEXPORT wxClientDC : public wxWindowDC { public: - wxClientDC() {} - wxClientDC( wxWindow *win ) {} + wxClientDC() : wxWindowDC() {} + wxClientDC(wxWindow *win); private: DECLARE_DYNAMIC_CLASS(wxClientDC) @@ -61,8 +61,8 @@ private: class WXDLLEXPORT wxPaintDC : public wxClientDC { public: - wxPaintDC() { } - wxPaintDC( wxWindow *win ) {} + wxPaintDC() : wxClientDC() {} + wxPaintDC(wxWindow *win) : wxClientDC(win) {} private: DECLARE_DYNAMIC_CLASS(wxPaintDC)