X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdropdown.cpp;h=ee8ec55b7d1e8d46874e42deb82c947fa4d02ca4;hb=b30edd979e6e9c7acfaaf3a90903814a7e62a71e;hp=fcf35babdf132234476f9989eeac7c37a83a583e;hpb=1d84ac50711ce9d23cb1dafd83158d4ffa938a15;p=libs%2Fgltk.git diff --git a/source/dropdown.cpp b/source/dropdown.cpp index fcf35ba..ee8ec55 100644 --- a/source/dropdown.cpp +++ b/source/dropdown.cpp @@ -162,14 +162,14 @@ void Dropdown::list_item_selected(unsigned index) Dropdown::Loader::Loader(Dropdown &d): - Widget::Loader(d) + DataFile::DerivedObjectLoader(d) { add("item", &Loader::item); } void Dropdown::Loader::item(const string &v) { - dynamic_cast &>(dynamic_cast(obj).list.get_data()).append(v); + dynamic_cast &>(obj.list.get_data()).append(v); } } // namespace GLtk