// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
-// Copyright: (c) 2001 Vaclav Slavik
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#endif
#include "wx/dc.h"
-#include "wx/window.h"
//-----------------------------------------------------------------------------
// classes
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)
class WXDLLEXPORT wxClientDC : public wxWindowDC
{
public:
- wxClientDC() {}
- wxClientDC( wxWindow *win ) {}
+ wxClientDC() : wxWindowDC() {}
+ wxClientDC(wxWindow *win);
private:
DECLARE_DYNAMIC_CLASS(wxClientDC)
class WXDLLEXPORT wxPaintDC : public wxClientDC
{
public:
- wxPaintDC() { }
- wxPaintDC( wxWindow *win ) {}
+ wxPaintDC() : wxClientDC() {}
+ wxPaintDC(wxWindow *win) : wxClientDC(win) {}
private:
DECLARE_DYNAMIC_CLASS(wxPaintDC)