avoid creating and immediately destroying a wxGraphicsContext when creating a wxDC with wxGTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
04b2b47a4e
commit
f30b9eed38
4 changed files with 27 additions and 11 deletions
|
|
@ -19,7 +19,9 @@ class wxGTKCairoDCImpl: public wxGCDCImpl
|
|||
typedef wxGCDCImpl base_type;
|
||||
public:
|
||||
wxGTKCairoDCImpl(wxDC* owner);
|
||||
wxGTKCairoDCImpl(wxDC* owner, int);
|
||||
wxGTKCairoDCImpl(wxDC* owner, wxWindow* window);
|
||||
|
||||
virtual void DoDrawBitmap(const wxBitmap& bitmap, int x, int y, bool useMask);
|
||||
virtual void DoDrawIcon(const wxIcon& icon, int x, int y);
|
||||
#if wxUSE_IMAGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue