]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/listbox.h
implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
[wxWidgets.git] / include / wx / mac / carbon / listbox.h
index 9d4800171fcb5b7282fce1c901f87a169679812c..390cb34b63a4e5e99f3d45123924df1d0b3fc1c9 100644 (file)
@@ -32,7 +32,7 @@ WX_DEFINE_ARRAY( char* , wxListDataArray );
 // List box control
 // ----------------------------------------------------------------------------
 
 // List box control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase
 {
 public:
     // ctors and such
 {
 public:
     // ctors and such
@@ -101,6 +101,11 @@ public:
 
     virtual void EnsureVisible(int n);
 
 
     virtual void EnsureVisible(int n);
 
+    virtual wxVisualAttributes GetDefaultAttributes() const
+    {
+        return GetClassDefaultAttributes(GetWindowVariant());
+    }
+
     // wxCheckListBox support
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
     // wxCheckListBox support
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);