X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de150f6af99a77c15546cba1d323ae916a5c11de..8606ee50771053a38554c7d38b765a8142a1a96c:/include/wx/headercol.h diff --git a/include/wx/headercol.h b/include/wx/headercol.h index a84c175858..051ebbf14e 100644 --- a/include/wx/headercol.h +++ b/include/wx/headercol.h @@ -13,6 +13,8 @@ #include "wx/bitmap.h" +#if wxUSE_HEADERCTRL + // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -20,7 +22,10 @@ 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 @@ -268,5 +273,8 @@ private: bool m_sort, m_sortAscending; }; + +#endif // wxUSE_HEADERCTRL + #endif // _WX_HEADERCOL_H_