Implemented wxDC stack with focus locking and unlocking

Implemented wxClientDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-07-21 17:06:02 +00:00
parent d118e323d5
commit fe8f794343
6 changed files with 180 additions and 22 deletions

View File

@@ -41,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
@@ -51,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__