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
@@ -258,6 +258,10 @@ enum
|
||||
Processes a @c wxEVT_LIST_CACHE_HINT event type.
|
||||
@endEventTable
|
||||
|
||||
@note Under wxMSW this control uses wxSystemThemedControl for an explorer
|
||||
style appearance by default since wxWidgets 3.1.0. If this is not desired,
|
||||
you can call wxSystemThemedControl::EnableSystemTheme with @c false
|
||||
argument to disable this.
|
||||
|
||||
@library{wxcore}
|
||||
@category{ctrl}
|
||||
|
Reference in New Issue
Block a user