Files
wxWidgets/include/wx/msw
Artur Wieczorek 3eb650972a Fix setting style flags in wxListCtrl (wxMSW)
UpdateStyle() function was introduced in edccf428 to synchronize in
SetWindowStyleFlag() style of the control with new style flags just stored
in m_windowStyle.
In 9a8d75f1, storing directly a new flags in m_windowStyle was replaced by
the call to parent's SetWindowStyleFlag().
Because call to parent's SetWindowStyleFlag() updates both m_windowStyle
and actual style of the control for common flags (WS_*, LVS_* flags),
synchronizing the control again with UpdateStyles() is pointless (since
this function does nothing in this context).
Only wxSCROLL style flags need special care because wxListCtrl doesn't
have these styles but the control itself may have them. In order
to preserve them in the call to SetWindowStyleFlag(), we can do the trick
and request the same new scroll style as the actual physical style.
UpdateStyles() is useless now and can be deprecated.

See #17059.
2017-05-19 00:01:47 +02:00
..
2016-09-25 13:21:28 -07:00
2016-09-23 07:59:11 -07:00
2015-09-23 00:52:30 +02:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-25 13:21:28 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-03-09 15:42:51 +01:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2014-05-16 13:01:29 +00:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2017-01-10 18:29:33 +01:00
2016-09-23 07:59:11 -07:00
2016-09-25 13:21:28 -07:00
2016-09-23 07:59:11 -07:00
2017-05-09 20:51:58 +02:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2016-09-23 07:59:11 -07:00
2015-09-23 00:52:30 +02:00
2017-04-08 21:48:47 +02:00
2015-09-23 00:52:30 +02:00
2015-09-23 00:52:30 +02:00
2015-09-23 00:52:30 +02:00