X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0de9b5b23f70465393526546cd1a69fcfcd26e9c..32c1cda24418c225fa2cff4b1416f7a3d62c88b1:/include/wx/gtk/listbox.h diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index a20c32802a..fa19c2d4f9 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -51,7 +51,9 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr ) { +#if wxUSE_CHECKLISTBOX m_hasCheckBoxes = FALSE; +#endif // wxUSE_CHECKLISTBOX Create(parent, id, pos, size, n, choices, style, validator, name); } virtual ~wxListBox(); @@ -117,7 +119,10 @@ public: GtkList *m_list; wxList m_clientDataList; wxList m_clientObjectList; + +#if wxUSE_CHECKLISTBOX bool m_hasCheckBoxes; +#endif // wxUSE_CHECKLISTBOX }; #endif // __GTKLISTBOXH__