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 d53da6c..c64c094 100644 (file)
@@ -78,7 +78,7 @@ public:
                SetSizer (_sizer);
 
                long style = wxLC_REPORT | wxLC_SINGLE_SEL;
-               if (title) {
+               if (!title) {
                        style |= wxLC_NO_HEADER;
                }