]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcclient.h
using common code
[wxWidgets.git] / include / wx / dcclient.h
index cdd08bc9bdd3ede626fc80df9b77af46402021ee..27aae06a02dbd3b7d4ab73e2c438b1b9208bdb32 100644 (file)
@@ -1,15 +1,60 @@
-#ifndef __DCCLIENTH_BASE__
-#define __DCCLIENTH_BASE__
-
-#if defined(__WXMSW__)
-#include "wx/msw/dcclient.h"
-#elif defined(__WXMOTIF__)
-#include "wx/xt/dcclient.h"
-#elif defined(__WXGTK__)
-#include "wx/gtk/dcclient.h"
-#elif defined(__WXQT__)
-#include "wx/qt/dcclient.h"
-#endif
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dcclient.h
+// Purpose:     wxClientDC base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_DCCLIENT_H_BASE_
+#define _WX_DCCLIENT_H_BASE_
+
+#include "wx/dc.h"
+
+//-----------------------------------------------------------------------------
+// wxWindowDC
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
+{
+public:
+    wxWindowDC();
+    wxWindowDC( wxWindow *win );
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxWindowDC)
+};
+
+//-----------------------------------------------------------------------------
+// wxClientDC
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
+{
+public:
+    wxClientDC();
+    wxClientDC( wxWindow *win );
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxClientDC)
+};
+
+//-----------------------------------------------------------------------------
+// wxPaintDC
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
+{
+public:
+    wxPaintDC();
+    wxPaintDC( wxWindow *win );
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxPaintDC)
+};
 
 #endif
-    // __DCCLIENTH_BASE__
+    // _WX_DCCLIENT_H_BASE_