summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/FrameTools.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-08-02 01:52:00 +0000
committerGlenn Rice <glennricster@gmail.com>2010-08-02 01:52:00 +0000
commit26aee8ff7612228757d95acb1e0580d718009aa6 (patch)
tree42a13d5daba571c0b5079dcc7847a7b3053d4b15 /Source/Core/DolphinWX/Src/FrameTools.cpp
parent52d3137598be98a0c41598324f8cc4dd0e83ccc5 (diff)
Create the log window after the menus. This fixes the font ugliness on windows.
Fix modality for the config dialogs on windows. Fix the compress/decompress dialog wxString issues for MacOSX (hopefully). Fix the DSP-LLE debugger for linux. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6031 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/FrameTools.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp
index 4091dd3b31..d5af6ddb20 100644
--- a/Source/Core/DolphinWX/Src/FrameTools.cpp
+++ b/Source/Core/DolphinWX/Src/FrameTools.cpp
@@ -956,20 +956,34 @@ void CFrame::OnConfigMain(wxCommandEvent& WXUNUSED (event))
void CFrame::OnPluginGFX(wxCommandEvent& WXUNUSED (event))
{
+ #ifdef _WIN32
+ Disable(); // Fake a modal dialog
+ #endif
CPluginManager::GetInstance().OpenConfig(
this,
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoPlugin.c_str(),
PLUGIN_TYPE_VIDEO
);
+ #ifdef _WIN32
+ Enable();
+ Raise();
+ #endif
}
void CFrame::OnPluginDSP(wxCommandEvent& WXUNUSED (event))
{
+ #ifdef _WIN32
+ Disable(); // Fake a modal dialog
+ #endif
CPluginManager::GetInstance().OpenConfig(
this,
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str(),
PLUGIN_TYPE_DSP
);
+ #ifdef _WIN32
+ Enable();
+ Raise();
+ #endif
}
void CFrame::OnPluginPAD(wxCommandEvent& WXUNUSED (event))
@@ -998,11 +1012,18 @@ void CFrame::OnPluginPAD(wxCommandEvent& WXUNUSED (event))
void CFrame::OnPluginWiimote(wxCommandEvent& WXUNUSED (event))
{
+ #ifdef _WIN32
+ Disable(); // Fake a modal dialog
+ #endif
CPluginManager::GetInstance().OpenConfig(
this,
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strWiimotePlugin.c_str(),
PLUGIN_TYPE_WIIMOTE
);
+ #ifdef _WIN32
+ Enable();
+ Raise();
+ #endif
}
void CFrame::OnHelp(wxCommandEvent& event)