Compilation fix 2

This commit is contained in:
O1L 2015-10-24 16:18:40 +04:00
parent bc8b71cbc1
commit a273768c4d

View File

@ -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"));