]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Store the Resources reference only in Root widget
[libs/gltk.git] / source / dropdown.h
index 7428ebf086d24eb1e0660f0d703fea45cb0b74ee..2fe82d0a194c41421bfee2b057813b3d5cc01841 100644 (file)
@@ -35,7 +35,7 @@ private:
 public:
        sigc::signal<void, int, const std::string &> signal_item_selected;
 
-       Dropdown(const Resources &);
+       Dropdown();
 
        void append(const std::string &);
        void insert(unsigned, const std::string &);
@@ -54,6 +54,7 @@ private:
        virtual void render_special(const Part &) const;
 
        virtual void on_geometry_change();
+       virtual void on_style_change();
        void resize_list();
 
        void list_item_selected(unsigned, const std::string &);