Skip to content

Commit

Permalink
fiex popup cmdline on win when app start
Browse files Browse the repository at this point in the history
  • Loading branch information
fszontagh committed Mar 9, 2024
1 parent f2d4f95 commit 20fb587
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ class MainApp : public wxApp
wxImage::AddHandler(new wxPNGHandler);
wxImage::AddHandler(new wxJPEGHandler);
MainWindowUI *mainFrame = new MainWindowUI(nullptr);
SetTopWindow(mainFrame);

return GetTopWindow()->Show();
return mainFrame->Show();
}
int MainApp::OnExit()
{
Expand Down

0 comments on commit 20fb587

Please sign in to comment.