]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/listctrl.h
removed extra wxCalendarCtrl:: which is ignored by MSVC for some reason but breaks...
[wxWidgets.git] / include / wx / mac / carbon / listctrl.h
index a3949e50d8f7f827c751b97c7eaaf8d765f3b946..16ccc810fa5d6e5f0ce02116b4b8e7a25cff6b41 100644 (file)
@@ -24,7 +24,7 @@ class wxListCtrlRenameTimer;
 
 WX_DECLARE_EXPORTED_LIST(wxListItem, wxColumnList);
 
-class WXDLLEXPORT wxListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxListCtrl)
  public:
@@ -361,6 +361,14 @@ class WXDLLEXPORT wxListCtrl: public wxControl
   void MacSetDrawingContext(void* context) { m_cgContext = context; }
   void* MacGetDrawingContext() { return m_cgContext; }
 
+  virtual wxVisualAttributes GetDefaultAttributes() const
+  {
+      return GetClassDefaultAttributes(GetWindowVariant());
+  }
+
+  static wxVisualAttributes
+  GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
 protected:
 
   // protected overrides needed for pimpl approach