X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fbutton.h;fp=source%2Fbutton.h;h=09084f183a938defe07b07a45045cacb4ab1532a;hp=2af9cf9d02c520b8cc1beb39f6b5f12230f249c5;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/button.h b/source/button.h index 2af9cf9..09084f1 100644 --- a/source/button.h +++ b/source/button.h @@ -29,8 +29,8 @@ public: private: Text text; - const GL::Texture2D *icon; - bool pressed; + const GL::Texture2D *icon = 0; + bool pressed = false; public: Button(const std::string & = std::string());