Implement wxTreeCtrl::SetDoubleBuffered() in MSW wxTreeCtrl
Also don't erase background when the control is double-buffered because it's not necessary and can cause flicker. See https://github.com/wxWidgets/wxWidgets/pull/374
This commit is contained in:
committed by
Vadim Zeitlin
parent
061e6f9a3c
commit
ef91e5ecbe
@@ -239,6 +239,10 @@
|
||||
#define TV_FIRST 0x1100
|
||||
#endif
|
||||
|
||||
#ifndef TVS_EX_DOUBLEBUFFER
|
||||
#define TVS_EX_DOUBLEBUFFER 0x0004
|
||||
#endif
|
||||
|
||||
#ifndef TVS_FULLROWSELECT
|
||||
#define TVS_FULLROWSELECT 0x1000
|
||||
#endif
|
||||
@@ -248,6 +252,11 @@
|
||||
#define TVM_SETTEXTCOLOR (TV_FIRST + 30)
|
||||
#endif
|
||||
|
||||
#ifndef TVM_SETEXTENDEDSTYLE
|
||||
#define TVM_SETEXTENDEDSTYLE (TV_FIRST + 44)
|
||||
#define TVM_GETEXTENDEDSTYLE (TV_FIRST + 45)
|
||||
#endif
|
||||
|
||||
// Various defines used by the webview library that are needed by mingw
|
||||
|
||||
#ifndef DISPID_COMMANDSTATECHANGE
|
||||
|
Reference in New Issue
Block a user