From 5c66d7f7a4569f9a004ba91f371f5c38576bb609 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 24 Feb 2008 17:00:35 +0000 Subject: [PATCH] wxMac's wxListBox was missing GetDefaultAttributes() to accompany its GetClassDefaultAttributes() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/listbox.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.45.2