Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Making cheats manager resizeable, maximizable, hideable (parentless),…
… higher by default.
  • Loading branch information
john-peterson authored and rog9 committed Dec 4, 2012
1 parent 47aaca8 commit 983d5d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinWX/Src/CheatsWindow.cpp
Expand Up @@ -36,7 +36,7 @@ extern CFrame* main_frame;
static wxCheatsWindow *g_cheat_window;

wxCheatsWindow::wxCheatsWindow(wxWindow* const parent)
: wxDialog(parent, wxID_ANY, _("Cheats Manager"), wxDefaultPosition, wxDefaultSize)
: wxDialog(parent, wxID_ANY, _("Cheats Manager"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxDIALOG_NO_PARENT)
{
::g_cheat_window = this;

Expand All @@ -57,6 +57,7 @@ wxCheatsWindow::wxCheatsWindow(wxWindow* const parent)
}
}

SetSize(wxSize(-1, 600));
Center();
Show();
}
Expand Down

0 comments on commit 983d5d1

Please sign in to comment.