Make keyboard sample window bigger on high DPI screens
Add missing FromDIP() when using hard-coded size.
This commit is contained in:
parent
29caef7a5a
commit
6053381b34
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue