X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da2e758f83f62cf9ff3bed69aecb8fc00f2583df..fceac6bbfe23180d460ef62dac83c591d9e0f941:/interface/wx/treelist.h diff --git a/interface/wx/treelist.h b/interface/wx/treelist.h index dc8f4cc675..8e7a7bdc25 100644 --- a/interface/wx/treelist.h +++ b/interface/wx/treelist.h @@ -319,7 +319,9 @@ public: @param width The width of the column in pixels or the special wxCOL_WIDTH_AUTOSIZE value indicating that the column should adjust - to its contents. + to its contents. Notice that the first column is special and will + be always resized to fill all the space not taken by the other + columns, i.e. the width specified here is ignored for it. @param align Alignment of both the column header and its items. @param flags @@ -360,6 +362,9 @@ public: Set column width to either the given value in pixels or to the value large enough to fit all of the items if width is wxCOL_WIDTH_AUTOSIZE. + + Notice that setting the width of the first column is ignored as this + column is always resized to fill the space left by the other columns. */ void SetColumnWidth(unsigned col, int width); @@ -883,5 +888,3 @@ public: */ #define wxTreeListEventHandler(func) \ wxEVENT_HANDLER_CAST(wxTreeListEventFunction, func) - -#endif // _WX_TREELIST_H_