Add wxSystemThemedControl and use it in wxMSW
wxSystemThemedControl allows to use the "system theme" (i.e. the theme used by the system applications such as file manager and which can, surprisingly, be different from the default one). Currently it is only implemented for wxMSW and does nothing under the other platforms. Use wxSystemThemedControl for wxDataViewCtrl, wxListCtrl and, optionally, if wxTR_TWIST_BUTTONS style is specified, wxTreeCtrl to give them more native appearance under MSW. Closes #16414.
This commit is contained in:
committed by
Vadim Zeitlin
parent
b7a89f8746
commit
2fff3cd29f
@@ -32,10 +32,8 @@
|
||||
Selects alternative style of @c +/@c - buttons and shows rotating
|
||||
("twisting") arrows instead. Currently this style is only implemented
|
||||
under Microsoft Windows Vista and later Windows versions and is ignored
|
||||
under the other platforms. Notice that under Vista this style results
|
||||
in the same appearance as used by the tree control in Explorer and
|
||||
other built-in programs and so using it may be preferable to the
|
||||
default style.
|
||||
under the other platforms as enabling it is equivalent to using
|
||||
wxSystemThemedControl::EnableSystemTheme().
|
||||
@style{wxTR_NO_LINES}
|
||||
Use this style to hide vertical level connectors.
|
||||
@style{wxTR_FULL_ROW_HIGHLIGHT}
|
||||
|
Reference in New Issue
Block a user