]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Use a different approach for custom item widgets
[libs/gltk.git] / source / dropdown.h
index eaa29c193c2260288a185bb2131c693ffeecdfdd..06aefa5af96d32cc0b6b3cc0d590bb092298164b 100644 (file)
@@ -46,6 +46,9 @@ public:
        ListData &get_data() { return list.get_data(); }
        const ListData &get_data() const { return list.get_data(); }
 
+       template<typename T>
+       void set_item_type() { list.set_item_type<T>(); }
+
        void set_selected_index(int);
        int get_selected_index() const { return list.get_selected_index(); }