Fixed rescale of the MainFrame/SettingsDialog after switching between settings layouts on the 2 monitors with different DPI

This commit is contained in:
YuSanka 2020-09-04 10:08:54 +02:00
parent c49221c621
commit ba87a4fd9a
2 changed files with 40 additions and 1 deletions

View file

@ -231,6 +231,7 @@ private:
}
#endif // wxVERSION_EQUAL_OR_GREATER_THAN
*/
m_force_rescale = false;
#if !wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
// rescale fonts of all controls
scale_controls_fonts(this, m_new_font_point_size);