wxWidgets/include
Vadim Zeitlin 9f04318720 Fix MSW EDIT_HEIGHT_FROM_CHAR_HEIGHT() for high DPI
Apply DPI scaling to the extra vertical margin added by this macro to
the font height.

This makes sense and results in wxTextCtrl (and other controls, e.g.
wxSearchCtrl) having the same height as native ones when using high DPI
too.

Note that this required adding wxGetEditHeightFromCharHeight() function
as one of the existing uses of EDIT_HEIGHT_FROM_CHAR_HEIGHT() wasn't
inside a wxWindow-derived class method and also adding wxUSE_GUI guard
around these GUI-only definitions as a function, unlike a macro, can't
be compiled without full wxWindow declaration in scope.
2018-07-09 20:24:58 +02:00
..
msvc/wx Factor out WXUSINGDLL check in MSVC-specific wx/setup.h 2018-05-31 01:21:20 +02:00
wx Fix MSW EDIT_HEIGHT_FROM_CHAR_HEIGHT() for high DPI 2018-07-09 20:24:58 +02:00