]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dc.h
disable dialup manager for MGL, it doesn't link as there is no DOS implementation...
[wxWidgets.git] / include / wx / cocoa / dc.h
index ed39d574e9ba394cfea941e393fb40cf34d4de4d..d04424ba90e4b13858270a935b2dfa86de09ea84 100644 (file)
@@ -29,7 +29,7 @@ class WXDLLEXPORT wxDC: public wxDCBase
 //-------------------------------------------------------------------------
 public:
     wxDC();
-    ~wxDC();
+    virtual ~wxDC();
 
 //-------------------------------------------------------------------------
 // wxCocoa specifics
@@ -58,7 +58,12 @@ protected:
     void CocoaUnwindStackAndLoseFocus();
 // DC flipping/transformation
     void CocoaApplyTransformations();
+    void CocoaUnapplyTransformations();
     WX_NSAffineTransform m_cocoaWxToBoundsTransform;
+// Get bounds rect (for Clear())
+    // note: we use void * to mean NSRect * so that we can avoid
+    // putting NSRect in the headers.
+    virtual bool CocoaGetBounds(void *rectData);
 // Blitting
     virtual bool CocoaDoBlitOnFocusedDC(wxCoord xdest, wxCoord ydest,
         wxCoord width, wxCoord height, wxCoord xsrc, wxCoord ysrc,