X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/573ac9dc6e94c0256089700d2fafac486c957b5a..92b0a2a13ccaaa23a97964ff35cdaf39dd44a104:/src/mac/listbox.cpp diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 91595e5f38..58cf2550c7 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -195,7 +195,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, #else long result ; - + wxStAppResource resload ; m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , kwxMacListWithVerticalScrollbar , 0 , 0, kControlListBoxProc , (long) this ) ; @@ -596,7 +596,7 @@ int wxListBox::GetCount() const void wxListBox::SetupColours() { - SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW)); + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); SetForegroundColour(GetParent()->GetForegroundColour()); }