mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-04 09:22:38 +00: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:
parent
5746ed490c
commit
bdd02fb1b6
5 changed files with 63 additions and 44 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue