Make keyboard sample window bigger on high DPI screens

Add missing FromDIP() when using hard-coded size.
This commit is contained in:
Vadim Zeitlin 2024-01-27 17:37:22 +01:00
parent 29caef7a5a
commit 6053381b34

View file

@ -257,7 +257,7 @@ MyFrame::MyFrame(const wxString& title)
SetSizerAndFit(sizer);
// set size and position on screen
SetSize(700, 340);
SetSize(FromDIP(wxSize(700, 340)));
CentreOnScreen();
// connect menu event handlers