X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f7b34a878bbcb2f71a0c7694e2a3bec51460218..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/mgl/dcclient.h?ds=sidebyside diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index 41bbd504da..c66fce5141 100644 --- a/include/wx/mgl/dcclient.h +++ b/include/wx/mgl/dcclient.h @@ -3,7 +3,7 @@ // 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 ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +15,6 @@ #endif #include "wx/dc.h" -#include "wx/window.h" //----------------------------------------------------------------------------- // classes @@ -24,17 +23,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 +51,8 @@ private: class WXDLLEXPORT wxClientDC : public wxWindowDC { public: - wxClientDC() {} - wxClientDC( wxWindow *win ) {} + wxClientDC() : wxWindowDC() {} + wxClientDC(wxWindow *win); private: DECLARE_DYNAMIC_CLASS(wxClientDC) @@ -61,8 +65,8 @@ private: class WXDLLEXPORT wxPaintDC : public wxClientDC { public: - wxPaintDC() { } - wxPaintDC( wxWindow *win ) {} + wxPaintDC() : wxClientDC() {} + wxPaintDC(wxWindow *win) : wxClientDC(win) {} private: DECLARE_DYNAMIC_CLASS(wxPaintDC)