Skip to content

Commit

Permalink
HiDPI fix in window size of demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Oct 18, 2024
1 parent 8573c64 commit 8a3c3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2347,6 +2347,6 @@ MyChild::MyChild(wxMDIParentFrame* parent) : wxMDIChildFrame(parent, wxID_ANY, L
// they can be resized at all
if (!IsAlwaysMaximized())
{
SetSizeHints(200, 200);
SetSizeHints(FromDIP(200), FromDIP(200));
}
}

0 comments on commit 8a3c3cb

Please sign in to comment.