X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0de9b5b23f70465393526546cd1a69fcfcd26e9c..1e3eca9d3782d5eed5ba8d8019548c9f82523517:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index a20c32802a..993a9b64c9 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_LISTBOX + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -51,7 +54,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 +122,12 @@ public: GtkList *m_list; wxList m_clientDataList; wxList m_clientObjectList; + +#if wxUSE_CHECKLISTBOX bool m_hasCheckBoxes; +#endif // wxUSE_CHECKLISTBOX }; +#endif + #endif // __GTKLISTBOXH__