diff options
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r-- | src/gui/widgets/listbox.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index d5798d66..c0662ed2 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -39,7 +39,9 @@ class ListBox : public gcn::ListBox /** * Constructor. */ - ListBox(gcn::ListModel *listModel); + ListBox(gcn::ListModel *listModel, bool deleteModel = false); + + ~ListBox(); /** * Draws the list box. @@ -65,6 +67,8 @@ class ListBox : public gcn::ListBox private: static float mAlpha; + + bool mDeleteModel; }; #endif |