Fix incorrect sense of title parameter.
authorCarl Hetherington <cth@carlh.net>
Tue, 8 Sep 2020 19:37:32 +0000 (21:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 8 Sep 2020 19:37:32 +0000 (21:37 +0200)
src/wx/editable_list.h

index d53da6cbee7c42a359cfbdbf8cd7944db19e0eaa..c64c0948168f5ec40b759022efc6becbf060a3f7 100644 (file)
@@ -78,7 +78,7 @@ public:
                SetSizer (_sizer);
 
                long style = wxLC_REPORT | wxLC_SINGLE_SEL;
-               if (title) {
+               if (!title) {
                        style |= wxLC_NO_HEADER;
                }