Add wxBitmap::GetLogical{Width,Height,Size}()
These functions have better names than the existing GetScaledXXX() ones, so add them to be able to use them in the new code, even if we still keep the old ones for compatibility.
This commit is contained in:
parent
1ae0037330
commit
65bb454311
6 changed files with 96 additions and 51 deletions
|
|
@ -178,7 +178,7 @@ Currently the following symbols exist:
|
|||
same apparent size on the display independently of the DPI (this symbol
|
||||
only exists in wxWidgets 3.1.6 or later). Note that it should rarely, if
|
||||
ever, be necessary to use this symbol directly, functions such as
|
||||
wxWindow::FromDIP() and wxBitmap::GetScaledSize() exist to hide the
|
||||
wxWindow::FromDIP() and wxBitmap::GetLogicalSize() exist to hide the
|
||||
differences between the platforms with and without DPI-independent pixels.}
|
||||
@itemdef{wxHAS_MEMBER_DEFAULT, Defined if the currently used compiler supports
|
||||
C++11 @c =default.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue