mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 21:25:30 +08:00
Fix Fl_Widget_Class_Type so that you can add code to a widget class
constructor. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -545,6 +545,7 @@ public:
|
|||||||
virtual const char *type_name() {return "widget_class";}
|
virtual const char *type_name() {return "widget_class";}
|
||||||
int pixmapID() { return 48; }
|
int pixmapID() { return 48; }
|
||||||
int is_parent() const {return 1;}
|
int is_parent() const {return 1;}
|
||||||
|
int is_code_block() const {return 1;}
|
||||||
int is_decl_block() const {return 1;}
|
int is_decl_block() const {return 1;}
|
||||||
int is_class() const {return 1;}
|
int is_class() const {return 1;}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user