Remove wxGTKCairoDCImpl ctor taking dummy int

We can reuse another ctor taking wxWindow* instead. Although this does
require an ugly cast, it's more explicit than just passing 0 which
could, in principle, match both the ctor taking wxWindow* and another
one taking double, and so is still preferable.
This commit is contained in:
Vadim Zeitlin
2018-01-25 14:48:14 +01:00
parent 0be81cb34b
commit 4c8e701d84
2 changed files with 11 additions and 15 deletions

View File

@@ -17,7 +17,6 @@ class wxGTKCairoDCImpl: public wxGCDCImpl
{
public:
wxGTKCairoDCImpl(wxDC* owner);
wxGTKCairoDCImpl(wxDC* owner, int);
wxGTKCairoDCImpl(wxDC* owner, double scaleFactor);
wxGTKCairoDCImpl(wxDC* owner, wxWindow* window);