projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cadb4a6
)
Assert that a mode style *is* set, not that one isn't set.
author
Robin Dunn
<robin@alldunn.com>
Thu, 16 Oct 2008 22:37:58 +0000
(22:37 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Thu, 16 Oct 2008 22:37:58 +0000
(22:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56381
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/listctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/listctrl.cpp
b/src/generic/listctrl.cpp
index 55d57648271adc83b9f993ffca0e49cf54ca41da..c42fded26c26be02ad3ffdb22c60a67042aeb2b8 100644
(file)
--- a/
src/generic/listctrl.cpp
+++ b/
src/generic/listctrl.cpp
@@
-5046,7
+5046,7
@@
bool wxGenericListCtrl::Create(wxWindow *parent,
m_headerHeight = 0;
// just like in other ports, an assert will fail if the user doesn't give any type style:
- wxASSERT_MSG(
!
(style & wxLC_MASK_TYPE),
+ wxASSERT_MSG( (style & wxLC_MASK_TYPE),
_T("wxListCtrl style should have exactly one mode bit set") );
if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )