MusicMod: Build fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1752 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-01-03 19:39:17 +00:00
parent cea5259d30
commit 677c94414b
2 changed files with 4 additions and 3 deletions

View File

@ -365,8 +365,9 @@ void CFrame::InitBitmaps()
MM_InitBitmaps(); MM_InitBitmaps();
#endif #endif
// Scale to 24x24 for toolbar. Toolbar_Log is already 24x24 /* Scale to 24x24 for toolbar. Toolbar_Log is already 24x24 so we exclude that from
for (size_t n = Toolbar_FileOpen; n < WXSIZEOF(m_Bitmaps); n++) the rescaling */
for (size_t n = Toolbar_FileOpen; n <= Toolbar_Help; n++)
{ {
m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(24, 24)); m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(24, 24));
} }

View File

@ -103,7 +103,7 @@ class CFrame : public wxFrame
Toolbar_FullScreen, Toolbar_FullScreen,
Toolbar_Help, Toolbar_Help,
#ifdef MUSICMOD #ifdef MUSICMOD
Toolbar_Log, Toolbar_Log, Toolbar_PluginDSP_Dis, Toolbar_Log_Dis,
#endif #endif
Bitmaps_Max, Bitmaps_Max,
END END