9f04318720
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. |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |