]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/widget.h
Use nullptr instead of 0 for pointers
[libs/gltk.git] / source / widget.h
index 9b86691e48343344b723af0ad2d90726d82ff6b6..14d15fc7a5678a33fed2062b81d530719e62cabc 100644 (file)
@@ -47,11 +47,11 @@ public:
 protected:
        Geometry geom;
        std::string style_name;
-       const Style *style = 0;
+       const Style *style = nullptr;
        State state = NORMAL;
        bool visible = true;
        InputType input_type = INPUT_NONE;
-       Container *parent = 0;
+       Container *parent = nullptr;
        std::string tooltip;
        PartCache part_cache;
        bool rebuild_needed = false;