Mac: Use generic wxListCtrl to fix bug in wx2.8.7 RefreshItem()

svn path=/trunk/boinc/; revision=14420
This commit is contained in:
Charlie Fenton 2007-12-20 02:05:18 +00:00
parent 480d73aec8
commit ca782798ed
1 changed files with 6 additions and 0 deletions

View File

@ -206,6 +206,12 @@ bool CBOINCGUIApp::OnInit() {
#ifdef __WXMAC__
#if wxCHECK_VERSION(2,8,0)
// In wxMac-2.8.7, default wxListCtrl::RefreshItem() does not work
// so use traditional generic implementation.
wxSystemOptions::SetOption(wxT("mac.listctrl.always_use_generic"), 1);
#endif
wxString strDirectory = wxEmptyString;
bool success;