OpenGL GUI: Made the resolution wxComboBox() read only, it's better if they don't accept custom values.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2311 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-02-19 10:29:53 +00:00
parent 5746ed490c
commit bdd02fb1b6
5 changed files with 63 additions and 44 deletions

View file

@ -134,6 +134,9 @@ void DllConfig(HWND _hParent)
std::string resos[100];
int i = 0;
// ---------------------------------------------------------------
// Search for avaliable resolutions
// ---------------------
while (EnumDisplaySettings(NULL, iModeNum++, &dmi) != 0)
{
char szBuffer[100];
@ -158,7 +161,12 @@ void DllConfig(HWND _hParent)
}
ZeroMemory(&dmi, sizeof(dmi));
}
frame->ShowModal();
// ----------------------------
// Create the controls and show the window
frame->CreateGUIControls();
frame->Show();
#elif defined(USE_WX) && USE_WX
ConfigDialog frame(NULL);