mirror of https://github.com/BOINC/boinc.git
Mac: Use generic wxListCtrl to fix bug in wx2.8.7 RefreshItem()
svn path=/trunk/boinc/; revision=14420
This commit is contained in:
parent
480d73aec8
commit
ca782798ed
|
@ -206,6 +206,12 @@ bool CBOINCGUIApp::OnInit() {
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#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;
|
wxString strDirectory = wxEmptyString;
|
||||||
bool success;
|
bool success;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue