]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/dcclient.h
dispatch for header files in order to keep old way of includes working
[wxWidgets.git] / include / wx / mac / dcclient.h
index 8e013140843e76165cd6cc2f03145bf2d7908f6d..3c4da1bc68249ebe9ad00025d9acc468c9d6a006 100644 (file)
@@ -1,74 +1,5 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        dcclient.h
-// Purpose:     wxClientDC, wxPaintDC and wxWindowDC classes
-// Author:      Stefan Csomor
-// Modified by:
-// Created:     1998-01-01
-// RCS-ID:      $Id$
-// Copyright:   (c) Stefan Csomor
-// Licence:     wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _WX_DCCLIENT_H_
-#define _WX_DCCLIENT_H_
-
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dcclient.h"
-#endif
-
-#include "wx/dc.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLEXPORT wxPaintDC;
-class WXDLLEXPORT wxWindow;
-
-class WXDLLEXPORT wxWindowDC: public wxDC
-{
-  DECLARE_DYNAMIC_CLASS(wxWindowDC)
-
- public:
-  wxWindowDC(void);
-
-  // Create a DC corresponding to a canvas
-  wxWindowDC(wxWindow *win);
-
-  ~wxWindowDC(void);
-  virtual void DoGetSize( int *width, int *height ) const;
-  protected :
-    wxWindow     *m_window;
-};
-
-
-class WXDLLEXPORT wxClientDC: public wxWindowDC
-{
-  DECLARE_DYNAMIC_CLASS(wxClientDC)
-
- public:
-  wxClientDC(void);
-
-  // Create a DC corresponding to a canvas
-  wxClientDC(wxWindow *win);
-
-  ~wxClientDC(void);
-  virtual void DoGetSize( int *width, int *height ) const;
-};
-
-class WXDLLEXPORT wxPaintDC: public wxWindowDC
-{
-  DECLARE_DYNAMIC_CLASS(wxPaintDC)
-
- public:
-  wxPaintDC(void);
-
-  // Create a DC corresponding to a canvas
-  wxPaintDC(wxWindow *win);
-
-  ~wxPaintDC(void);
-  virtual void DoGetSize( int *width, int *height ) const;
-};
-
-#endif
-    // _WX_DCCLIENT_H_
+#if __WXMAC_CLASSIC__
+#include "wx/mac/classic/dcclient.h"
+#else
+#include "wx/mac/carbon/dcclient.h"
+#endif
\ No newline at end of file