diff options
Diffstat (limited to 'fluid/nodes/Node.h')
| -rw-r--r-- | fluid/nodes/Node.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/nodes/Node.h b/fluid/nodes/Node.h index 1c94e493d..02338903f 100644 --- a/fluid/nodes/Node.h +++ b/fluid/nodes/Node.h @@ -167,7 +167,7 @@ protected: /** Label text of a widget. */ const char *label_; /** If it is just a word, it's the name of the callback function. Otherwise - it is the full callback C++ code. Can be nullptr. */ + it is the full callback C++ code. Can be 0. */ const char *callback_; /** Widget user data field as C++ text. */ const char *user_data_; @@ -243,7 +243,7 @@ public: const char *comment() { return comment_; } void comment(const char *); - virtual Node* click_test(int,int) { return nullptr; } + virtual Node* click_test(int,int) { return 0; } virtual void add_child(Node *, Node *beforethis) { (void)beforethis; } virtual void move_child(Node *, Node *beforethis) { (void)beforethis; } @@ -274,7 +274,7 @@ public: virtual void write_code2(fld::io::Code_Writer& f); // code and .h after children void write_comment_h(fld::io::Code_Writer& f, const char *ind=""); // write the commentary text into the header file void write_comment_c(fld::io::Code_Writer& f, const char *ind=""); // write the commentary text into the source file - void write_comment_inline_c(fld::io::Code_Writer& f, const char *ind=nullptr); // write the commentary text + void write_comment_inline_c(fld::io::Code_Writer& f, const char *ind=0); // write the commentary text // live mode virtual Fl_Widget *enter_live_mode(int top=0); // build widgets needed for live mode |
