]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/listctrl.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / mac / carbon / listctrl.h
index a3949e50d8f7f827c751b97c7eaaf8d765f3b946..c2aad6d74fc7711b3a069314f621b59e4158d0cc 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
@@ -406,6 +414,8 @@ protected:
   int               m_count; // for virtual lists, store item count
 
 private:
+  int CalcColumnAutoWidth(int col) const;
+
   DECLARE_EVENT_TABLE()
 };