mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5999 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1181,7 +1181,19 @@ void CConfigMain::CallConfig(wxChoice* _pChoice)
|
||||
{
|
||||
const CPluginInfo* pInfo = static_cast<CPluginInfo*>(_pChoice->GetClientData(Index));
|
||||
if (pInfo != NULL)
|
||||
CPluginManager::GetInstance().OpenConfig((HWND) this->GetHandle(), pInfo->GetFilename().c_str(), pInfo->GetPluginInfo().Type);
|
||||
{
|
||||
#ifdef _WIN32
|
||||
// Make sure only one dialog can be opened at a time in Windows,
|
||||
// but is unnecessary and looks bad in linux.
|
||||
Disable();
|
||||
#endif
|
||||
CPluginManager::GetInstance().OpenConfig(this,
|
||||
pInfo->GetFilename().c_str(), pInfo->GetPluginInfo().Type);
|
||||
#ifdef _WIN32
|
||||
Enable();
|
||||
Raise();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user