]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/panel.h
Support loading dialog action buttons
[libs/gltk.git] / source / panel.h
index c50725b9b940cb255ed635ad665cc82c55bddfe7..258d0ceeede592cf19c793da33ddb6a443a7c712 100644 (file)
@@ -16,13 +16,12 @@ ignored.
 class Panel: public Container
 {
 public:
-       class Loader: public Widget::Loader
+       class Loader: public DataFile::DerivedObjectLoader<Panel, Widget::Loader>
        {
        public:
                typedef std::map<std::string, Widget *> WidgetMap;
 
-       private:
-               Panel &pnl;
+       protected:
                WidgetMap &wdg_map;
        
        public: