// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-#ifndef __DCCLIENTH__
-#define __DCCLIENTH__
+#ifndef _WX_DCCLIENT_H_
+#define _WX_DCCLIENT_H_
#ifdef __GNUG__
#pragma interface "dcclient.h"
#include "wx/dc.h"
-class WXDLLEXPORT wxClientDC: public wxDC
+class WXDLLEXPORT wxWindowDC: public wxDC
{
- DECLARE_DYNAMIC_CLASS(wxClientDC)
+ DECLARE_DYNAMIC_CLASS(wxWindowDC)
public:
- wxClientDC(void);
+ wxWindowDC(void);
// Create a DC corresponding to a canvas
- wxClientDC(wxWindow *win);
+ wxWindowDC(wxWindow *win);
- ~wxClientDC(void);
+ ~wxWindowDC(void);
};
-class WXDLLEXPORT wxWindowDC: public wxDC
+class WXDLLEXPORT wxClientDC: public wxWindowDC
{
- DECLARE_DYNAMIC_CLASS(wxWindowDC)
+ DECLARE_DYNAMIC_CLASS(wxClientDC)
public:
- wxWindowDC(void);
+ wxClientDC(void);
// Create a DC corresponding to a canvas
- wxWindowDC(wxWindow *win);
+ wxClientDC(wxWindow *win);
- ~wxWindowDC(void);
+ ~wxClientDC(void);
};
-class WXDLLEXPORT wxPaintDC: public wxDC
+class WXDLLEXPORT wxPaintDC: public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxPaintDC)
~wxPaintDC(void);
protected:
- static WXHDC m_staticPaintHDC ;
- static int m_staticPaintCount ;
+ static WXHDC ms_PaintHDC;
+ static size_t ms_PaintCount;
};
#endif
- // __DCCLIENTH__
+ // _WX_DCCLIENT_H_