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:
parent
0be81cb34b
commit
4c8e701d84
2 changed files with 11 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue