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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user