mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user