From a273768c4d184b6d2037e2da198096b1f3f285e4 Mon Sep 17 00:00:00 2001 From: O1L Date: Sat, 24 Oct 2015 16:18:40 +0400 Subject: [PATCH] Compilation fix 2 --- rpcs3/Gui/GameViewer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rpcs3/Gui/GameViewer.cpp b/rpcs3/Gui/GameViewer.cpp index 4e094673d1..d08209af8a 100644 --- a/rpcs3/Gui/GameViewer.cpp +++ b/rpcs3/Gui/GameViewer.cpp @@ -256,11 +256,13 @@ void GameViewer::RightClick(wxListEvent& event) m_popup->Destroy(1); m_popup->Destroy(2); + wxMenuItem* boot_item = new wxMenuItem(m_popup, 0, _T("Boot")); +#if defined (_WIN32) + // wxMenuItem::Set(Get)Font only available for the wxMSW port wxFont font = GetFont(); font.SetWeight(wxFONTWEIGHT_BOLD); - wxMenuItem* boot_item = new wxMenuItem(m_popup, 0, _T("Boot")); boot_item->SetFont(font); - +#endif m_popup->Append(boot_item); m_popup->Append(1, _T("Configure")); m_popup->Append(2, _T("Remove Game"));