mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 02:36:27 +01:00
fix wxw errors:
sliders being unresponsive during emulation. Fixes issue 4496. wxw complaining about non-stock menuitem without text (sysmenu menuitem). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7579 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bad9fd1f1d
commit
7e2adf6714
@ -992,9 +992,8 @@ void CFrame::OnMouse(wxMouseEvent& event)
|
|||||||
X11Utils::SendButtonEvent(X11Utils::XDisplayFromHandle(GetHandle()), event.GetButton(),
|
X11Utils::SendButtonEvent(X11Utils::XDisplayFromHandle(GetHandle()), event.GetButton(),
|
||||||
event.GetPosition().x, event.GetPosition().y, event.ButtonDown());
|
event.GetPosition().x, event.GetPosition().y, event.ButtonDown());
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
(void)event;
|
|
||||||
#endif
|
#endif
|
||||||
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFrame::DoFullscreen(bool bF)
|
void CFrame::DoFullscreen(bool bF)
|
||||||
|
@ -205,7 +205,7 @@ void CFrame::CreateMenu()
|
|||||||
toolsMenu->Append(IDM_NETPLAY, _("Start &NetPlay"));
|
toolsMenu->Append(IDM_NETPLAY, _("Start &NetPlay"));
|
||||||
|
|
||||||
toolsMenu->Append(IDM_MENU_INSTALLWAD, _("Install WAD"));
|
toolsMenu->Append(IDM_MENU_INSTALLWAD, _("Install WAD"));
|
||||||
UpdateWiiMenuChoice(toolsMenu->Append(IDM_LOAD_WII_MENU));
|
UpdateWiiMenuChoice(toolsMenu->Append(IDM_LOAD_WII_MENU, wxT("Dummy string to keep wxw happy")));
|
||||||
|
|
||||||
toolsMenu->Append(IDM_FIFOPLAYER, _("Fifo Player"));
|
toolsMenu->Append(IDM_FIFOPLAYER, _("Fifo Player"));
|
||||||
|
|
||||||
@ -971,6 +971,7 @@ void CFrame::StartGame(const std::string& filename)
|
|||||||
m_RenderParent->Connect(wxID_ANY, wxEVT_SIZE,
|
m_RenderParent->Connect(wxID_ANY, wxEVT_SIZE,
|
||||||
wxSizeEventHandler(CFrame::OnRenderParentResize),
|
wxSizeEventHandler(CFrame::OnRenderParentResize),
|
||||||
(wxObject*)0, this);
|
(wxObject*)0, this);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxEndBusyCursor();
|
wxEndBusyCursor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user