X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdropdown.cpp;h=ee8ec55b7d1e8d46874e42deb82c947fa4d02ca4;hb=df07e8f3e239b146cbc458d3cbd69758e590d255;hp=fcf35babdf132234476f9989eeac7c37a83a583e;hpb=1021ce203ab092edf5f94770e742d56a3b8cd23b;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