using common GetContentScaleFactor throughout part 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-06-19 20:28:01 +00:00
parent ac732982f8
commit f082dcd598
6 changed files with 7 additions and 13 deletions

View File

@@ -521,9 +521,9 @@ public:
return wxSize( wxMax( client.x, best.x ), wxMax( client.y, best.y ) );
}
// returns the magnification of the backing store of this window
// returns the magnification of the content of this window
// eg 2.0 for a window on a retina screen
virtual double GetMagnificationFactor() const
virtual double GetContentScaleFactor() const
{ return 1.0; }
// return the size of the left/right and top/bottom borders in x and y