// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
-// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence: wxWindows licence
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_DCCLIENT_H__
#define __WX_DCCLIENT_H__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "dcclient.h"
#endif
#include "wx/dc.h"
-class WXDLLEXPORT wxWindowMGL;
-
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxWindowDC;
class WXDLLEXPORT wxPaintDC;
class WXDLLEXPORT wxClientDC;
+class WXDLLEXPORT wxWindowMGL;
//-----------------------------------------------------------------------------
// wxWindowDC
protected:
wxWindow *m_wnd;
+ bool m_inPaintHandler;
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)
wxClientDC(wxWindow *win);
private:
- wxWindowMGL *m_wnd;
DECLARE_DYNAMIC_CLASS(wxClientDC)
};
// 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)