Minor corrections to wxSL_LABELS definition and documentation.
Use parentheses around the macro expansion to ensure that code like "whatever & ~wxSL_LABELS" still works as expected. Be more explicit in wxSL_LABELS description and mark wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL as being new in 2.9.1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#define wxSL_INVERSE 0x1000
|
||||
#define wxSL_MIN_MAX_LABELS 0x2000
|
||||
#define wxSL_VALUE_LABEL 0x4000
|
||||
#define wxSL_LABELS wxSL_MIN_MAX_LABELS|wxSL_VALUE_LABEL
|
||||
#define wxSL_LABELS (wxSL_MIN_MAX_LABELS|wxSL_VALUE_LABEL)
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
// obsolete
|
||||
|
Reference in New Issue
Block a user