]> git.tdb.fi Git - libs/gltk.git/blobdiff - examples/widgetdemo/widgetdemo.h
Rework how widget ownership works in Container
[libs/gltk.git] / examples / widgetdemo / widgetdemo.h
index cab80b7ed394965fe4539d0bed6767f85c6513cc..f6ef7f6996d070884f6b917101610da8ca6559e8 100644 (file)
@@ -26,7 +26,8 @@ public:
 private:
        virtual void tick();
 
-       void add_demo(const std::string &, Msp::GLtk::Panel *);
+       template<typename T>
+       void add_demo(const std::string &);
 };
 
 #endif