]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/button.cpp
Loader improvements
[libs/gltk.git] / source / button.cpp
index e81fe02c20a5ffdc609aa74106adf4b4bc879855..3c71499bde19cdc32794478687ef689e18f4e90b 100644 (file)
@@ -104,7 +104,7 @@ Button::Loader::Loader(Button &btn):
 
 void Button::Loader::text(const std::string &t)
 {
-       static_cast<Button &>(wdg).text = t;
+       static_cast<Button &>(obj).text = t;
 }
 
 } // namespace GLtk