Making cheats manager resizeable, maximizable, hideable (parentless), higher by default.

This commit is contained in:
John Peterson 2012-12-03 20:58:25 -05:00 committed by rog
parent 47aaca89eb
commit 983d5d1f73
1 changed files with 2 additions and 1 deletions

View File

@ -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;
@ -57,6 +57,7 @@ wxCheatsWindow::wxCheatsWindow(wxWindow* const parent)
}
}
SetSize(wxSize(-1, 600));
Center();
Show();
}