X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Ftoggle.h;fp=source%2Ftoggle.h;h=7c572c51e98c74d18cbf5860e56d6460224afb23;hp=0f6c610b00ffdd69a08b4fdd1bdf2e902711e7c8;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/toggle.h b/source/toggle.h index 0f6c610..7c572c5 100644 --- a/source/toggle.h +++ b/source/toggle.h @@ -28,9 +28,9 @@ public: private: Text text; - bool pressed; - bool value; - bool exclusive; + bool pressed = false; + bool value = false; + bool exclusive = false; public: Toggle(const std::string & = std::string());