Fix the game list tooltips on linux in a better way. Also activated them on OSX, but they still don't work the best there.

Fix a hang on emulation shutdown on linux.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7215 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-02-20 22:56:03 +00:00
parent b90a85da49
commit 636af2ce67
2 changed files with 26 additions and 22 deletions

View file

@ -686,8 +686,16 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
void CFrame::GetRenderWindowSize(int& x, int& y, int& width, int& height)
{
#ifdef __WXGTK__
if (!wxIsMainThread())
wxMutexGuiEnter();
#endif
m_RenderParent->GetClientSize(&width, &height);
m_RenderParent->GetPosition(&x, &y);
#ifdef __WXGTK__
if (!wxIsMainThread())
wxMutexGuiLeave();
#endif
}
void CFrame::OnRenderWindowSizeRequest(int width, int height)