X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbutton.cpp;h=fadd00a0cafedc4dd0d1996f8be7a0ec6ae8fdaf;hb=HEAD;hp=abdc1f677b0ff379220813ae67cc0a16187c561a;hpb=878faa0c9283ee1e6e5e67b6ea1324cc52385742;p=libs%2Fgltk.git 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);