]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcclient.h
setting according to a minimum system of 10.3 and supporting 64 bit
[wxWidgets.git] / include / wx / mac / carbon / dcclient.h
index a7d6b87240126be3d622e254978c293e71cd02f8..def0ad4cc3e410c97fd1676eeba07eed5d381670 100644 (file)
@@ -6,16 +6,12 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:     wxWidgets licence
+// 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"
 
 //-----------------------------------------------------------------------------
@@ -35,9 +31,10 @@ class WXDLLEXPORT wxWindowDC: public wxDC
   // Create a DC corresponding to a canvas
   wxWindowDC(wxWindow *win);
 
-  ~wxWindowDC(void);
-  virtual void DoGetSize( int *width, int *height ) const;
+  virtual ~wxWindowDC(void);
+  wxWindow *GetWindow() const { return m_window; }
   protected :
+    virtual void DoGetSize( int *width, int *height ) const;
     wxWindow     *m_window;
 };
 
@@ -52,7 +49,9 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC
   // Create a DC corresponding to a canvas
   wxClientDC(wxWindow *win);
 
-  ~wxClientDC(void);
+  virtual ~wxClientDC(void);
+
+protected:
   virtual void DoGetSize( int *width, int *height ) const;
 };
 
@@ -66,7 +65,9 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC
   // Create a DC corresponding to a canvas
   wxPaintDC(wxWindow *win);
 
-  ~wxPaintDC(void);
+  virtual ~wxPaintDC(void);
+
+protected:
   virtual void DoGetSize( int *width, int *height ) const;
 };