X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e7b25f056b1c983eb35d3f71ba67da84a15be19..916989dfb95b7e4a72234d946b8e078235046e05:/include/wx/mac/carbon/listbox.h?ds=sidebyside diff --git a/include/wx/mac/carbon/listbox.h b/include/wx/mac/carbon/listbox.h index 9d4800171f..390cb34b63 100644 --- a/include/wx/mac/carbon/listbox.h +++ b/include/wx/mac/carbon/listbox.h @@ -32,7 +32,7 @@ WX_DEFINE_ARRAY( char* , wxListDataArray ); // List box control // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxListBox : public wxListBoxBase +class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase { public: // ctors and such @@ -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);