]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcclient.h
wxTheApp can't be assigned to any longer
[wxWidgets.git] / include / wx / cocoa / dcclient.h
index 0c6c3eee387f40cc023e1072e275f9689e17d824..2f97299db416104a91ce2905b4c665db5891413e 100644 (file)
@@ -26,6 +26,9 @@ public:
     // Create a DC corresponding to a window
     wxWindowDC(wxWindow *win);
     ~wxWindowDC(void);
+
+    // NSView specific functions
+    virtual void Clear();
 protected:
     wxWindow *m_window;
 };
@@ -38,6 +41,10 @@ public:
     // Create a DC corresponding to a window
     wxClientDC(wxWindow *win);
     ~wxClientDC(void);
+protected:
+// DC stack
+    virtual bool CocoaLockFocus();
+    virtual bool CocoaUnlockFocus();
 };
 
 class wxPaintDC: public wxWindowDC
@@ -48,6 +55,10 @@ public:
     // Create a DC corresponding to a window
     wxPaintDC(wxWindow *win);
     ~wxPaintDC(void);
+protected:
+// DC stack
+    virtual bool CocoaLockFocus();
+    virtual bool CocoaUnlockFocus();
 };
 
 #endif // __WX_COCOA_DCCLIENT_H__