small code fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1106 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-11-09 20:55:04 +00:00
parent 475daf0331
commit 814d3ddb0e
4 changed files with 7 additions and 6 deletions

View file

@ -181,9 +181,10 @@ SetTitle(wxT("Sound Debugging"));
m_settings->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
m_settings->SetMinSize(wxSize(m_settings->GetSize().GetWidth() - 40,
m_settings->GetCount() * 15));
#ifdef _WIN32
for (int i = 0; i < m_settings->GetCount(); ++i)
m_settings->GetItem(i)->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
#endif
m_checkSizer2->Add(m_settings, 0, 0, 0);
// ------------------------