Use sensible default column width in generic wxListCtrl too
Set width of the new columns to wxLIST_DEFAULT_COL_WIDTH and not 0 in the generic version: this is more compatible with the MSW version and more useful. Document that omitting list column width in XRC results in columns of default, rather than null, as previously, width.
This commit is contained in:
@@ -1379,7 +1379,7 @@ following properties (all of them optional):
|
||||
@row3col{text, @ref overview_xrcformat_type_text,
|
||||
The title of the column. }
|
||||
@row3col{width, integer,
|
||||
The column width. }
|
||||
The column width. @c wxLIST_DEFAULT_COL_WIDTH is used by default. }
|
||||
@row3col{image, integer,
|
||||
The zero-based index of the image associated with the item in the 'small' image list. }
|
||||
@endTable
|
||||
|
Reference in New Issue
Block a user