From: Mikko Rasa Date: Fri, 14 Jun 2013 17:11:18 +0000 (+0300) Subject: Use DerivedObjectLoader for widget loaders X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=df07e8f3e239b146cbc458d3cbd69758e590d255;p=libs%2Fgltk.git Use DerivedObjectLoader for widget loaders --- diff --git a/source/button.cpp b/source/button.cpp index 939d026..b881b3f 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -127,14 +127,14 @@ void Button::on_style_change() Button::Loader::Loader(Button &btn): - Widget::Loader(btn) + DataFile::DerivedObjectLoader(btn) { add("text", &Loader::text); } void Button::Loader::text(const std::string &t) { - static_cast