]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/headercol.h
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / include / wx / headercol.h
index a84c175858b797c638aa73a601d97326b9f7fdb7..051ebbf14efcee9d477632eb6fad6d0b3e65498d 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "wx/bitmap.h"
 
 
 #include "wx/bitmap.h"
 
+#if wxUSE_HEADERCTRL
+
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
 enum
 {
     // special value for column width meaning unspecified/default
 enum
 {
     // special value for column width meaning unspecified/default
-    wxCOL_WIDTH_DEFAULT = -1
+    wxCOL_WIDTH_DEFAULT = -1,
+
+    // size the column automatically to fit all values
+    wxCOL_WIDTH_AUTOSIZE = -2
 };
 
 // bit masks for the various column attributes
 };
 
 // bit masks for the various column attributes
@@ -268,5 +273,8 @@ private:
     bool m_sort,
          m_sortAscending;
 };
     bool m_sort,
          m_sortAscending;
 };
+
+#endif // wxUSE_HEADERCTRL
+
 #endif // _WX_HEADERCOL_H_
 
 #endif // _WX_HEADERCOL_H_