X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/include/wx/mgl/dcclient.h diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index b9ca10cd5f..f062e9d5e7 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 Vaclav Slavik +// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +15,8 @@ #endif #include "wx/dc.h" -#include "wx/window.h" + +class WXDLLEXPORT wxWindowMGL; //----------------------------------------------------------------------------- // classes @@ -29,12 +30,15 @@ class WXDLLEXPORT wxClientDC; // wxWindowDC //----------------------------------------------------------------------------- -//FIXME_MGL class WXDLLEXPORT wxWindowDC : public wxDC { public: wxWindowDC() {} - wxWindowDC( wxWindow *win ) {} + virtual ~wxWindowDC(); + wxWindowDC(wxWindow *win); + +protected: + wxWindow *m_wnd; private: DECLARE_DYNAMIC_CLASS(wxWindowDC) @@ -47,10 +51,11 @@ private: class WXDLLEXPORT wxClientDC : public wxWindowDC { public: - wxClientDC() {} - wxClientDC( wxWindow *win ) {} + wxClientDC() : wxWindowDC() {} + wxClientDC(wxWindow *win); private: + wxWindowMGL *m_wnd; DECLARE_DYNAMIC_CLASS(wxClientDC) }; @@ -58,6 +63,7 @@ private: // wxPaintDC //----------------------------------------------------------------------------- +// FIXME_MGL class WXDLLEXPORT wxPaintDC : public wxClientDC { public: