X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fbutton.cpp;fp=source%2Fbutton.cpp;h=0dd20c7a6abb841cd4d2f9e98d1b75030d912d98;hp=abdc1f677b0ff379220813ae67cc0a16187c561a;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/button.cpp b/source/button.cpp index abdc1f6..0dd20c7 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -8,10 +8,7 @@ using namespace std; namespace Msp { namespace GLtk { -Button::Button(const std::string &t): - text(), - icon(0), - pressed(false) +Button::Button(const std::string &t) { input_type = INPUT_NAVIGATION; set_text(t);