Skip to content

Commit

Permalink
Simplify instruction to move window
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiolo committed Dec 19, 2024
1 parent f4625be commit 3056a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/myframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ struct MyFrame : wxFrame {
sys->cfg->Read(L"posx", &posx, boundary + disprect.x);
sys->cfg->Read(L"posy", &posy, boundary + disprect.y);
SetSize(resx, resy);
SetPosition(wxPoint(posx, posy));
Move(posx, posy);

bool ismax;
sys->cfg->Read(L"maximized", &ismax, true);
Expand Down

0 comments on commit 3056a79

Please sign in to comment.