summaryrefslogtreecommitdiff
path: root/fluid/nodes/Grid_Node.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/nodes/Grid_Node.h')
-rw-r--r--fluid/nodes/Grid_Node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/nodes/Grid_Node.h b/fluid/nodes/Grid_Node.h
index 4363164ee..706791d98 100644
--- a/fluid/nodes/Grid_Node.h
+++ b/fluid/nodes/Grid_Node.h
@@ -55,8 +55,8 @@ public:
const char *alt_type_name() override {return "fltk::GridGroup";}
Widget_Node *_make() override { return new Grid_Node(); }
Fl_Widget *widget(int X,int Y,int W,int H) override;
- Type type() const override { return Type::Grid; }
- bool is_a(Type inType) const override { return (inType==Type::Grid) ? true : super::is_a(inType); }
+ Type type() const override { return FLD_NODE_TYPE_Grid; }
+ bool is_a(Type inType) const override { return (inType==FLD_NODE_TYPE_Grid) ? true : super::is_a(inType); }
void write_properties(fld::io::Project_Writer &f) override;
void read_property(fld::io::Project_Reader &f, const char *) override;
void write_parent_properties(fld::io::Project_Writer &f, Node *child, bool encapsulate) override;