X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbutton.cpp;h=8e6e7131cb4157c266b096e4bd121931eb68abdb;hb=91997dd3189b93a67179822ec2fed5f2a7bddb74;hp=5871a5fabd0c7db23b2a0dfea1a5c6e6902f0368;hpb=deb15ee122f963ca41121e8358d5845401ac43ca;p=libs%2Fgltk.git diff --git a/source/button.cpp b/source/button.cpp index 5871a5f..8e6e713 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -12,13 +12,11 @@ Distributed under the LGPL namespace Msp { namespace GLtk { -Button::Button(const Resources &r, const std::string &t): - Widget(r), +Button::Button(const std::string &t): text(), icon(0), pressed(false) { - update_style(); set_text(t); }