X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdropdown.h;h=78c52b763a6215aab975904c02be782713628056;hb=9dbdf5decfa160df15c237887fdcbf12fc8f835b;hp=24c62cf862254136bcf0de2ed112ecc81b55882e;hpb=707b59d45ae50b69c94918f8f74313283b304597;p=libs%2Fgltk.git diff --git a/source/dropdown.h b/source/dropdown.h index 24c62cf..78c52b7 100644 --- a/source/dropdown.h +++ b/source/dropdown.h @@ -49,7 +49,7 @@ public: template void set_item_type() { list.set_item_type(); } - void set_selected_index(int); + void set_selected_index(int i) { list.set_selected_index(i); } int get_selected_index() const { return list.get_selected_index(); } private: @@ -65,6 +65,7 @@ private: void list_autosize_changed(); void resize_list(); void list_item_selected(unsigned); + void list_selection_cleared(); }; } // namespace GLtk