diff --git a/include/wx/mac/carbon/listbox.h b/include/wx/mac/carbon/listbox.h index 9d4800171f..4be48d9bb6 100644 --- a/include/wx/mac/carbon/listbox.h +++ b/include/wx/mac/carbon/listbox.h @@ -101,6 +101,11 @@ public: virtual void EnsureVisible(int n); + virtual wxVisualAttributes GetDefaultAttributes() const + { + return GetClassDefaultAttributes(GetWindowVariant()); + } + // wxCheckListBox support static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);