X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcc9de54786c9a42d20b6e3409083a34b4399f4b..f96b10c283479129b2adfb1b925bf8b39e443bdd:/include/wx/cocoa/dcclient.h diff --git a/include/wx/cocoa/dcclient.h b/include/wx/cocoa/dcclient.h index 0c6c3eee38..2f97299db4 100644 --- a/include/wx/cocoa/dcclient.h +++ b/include/wx/cocoa/dcclient.h @@ -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__