wxwidgets/include
Vadim Zeitlin 0329dfecd8 Update wxSlider thumb before processing wxEVT_DPI_CHANGED
This changes of 4713301cf5 (Fix font and thumb size of wxSlider after
DPI change, 2019-08-27) fixed updating the slider thumb length on DPI
change, but this happened too late because it was done after executing
the user-defined handler for this event which could have updated the
slider size, which led to a call to its overridden DoMoveWindow() which
would use the old thumb length, resulting in the size remaining too big
when switching from higher to lower DPI and, worse, too small (and not
showing the thumb entirely) when switching in the other direction.

Fix this by updating the thumb length earlier, by using the just added
MSWBeforeDPIChangedEvent() for doing it instead of doing it in the event
handler.
2023-05-01 17:23:09 +01:00
..
msvc/wx Link with lexilla library too in MSVS-specific wx/setup.h 2023-03-08 18:24:38 +00:00
wx Update wxSlider thumb before processing wxEVT_DPI_CHANGED 2023-05-01 17:23:09 +01:00