summaryrefslogtreecommitdiff
path: root/FL/Fl_Group.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Group.H')
-rw-r--r--FL/Fl_Group.H14
1 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H
index fe17684b9..8e11adb01 100644
--- a/FL/Fl_Group.H
+++ b/FL/Fl_Group.H
@@ -72,7 +72,7 @@ class FL_EXPORT Fl_Group : public Fl_Widget {
Fl_Group& operator=(const Fl_Group&);
protected:
- void draw() override;
+ void draw();
void draw_child(Fl_Widget& widget) const;
void draw_children();
void draw_outside_label(const Fl_Widget& widget) const ;
@@ -85,7 +85,7 @@ protected:
public:
- int handle(int) override;
+ int handle(int);
void begin();
void end();
static Fl_Group *current();
@@ -99,15 +99,15 @@ public:
/**
Returns the n'th child.
- Returns \c nullptr if \c n is out of range (since FLTK 1.4.0).
+ Returns \c 0 if \c n is out of range (since FLTK 1.4.0).
<i>No range checking was done in FLTK 1.3 and older versions!</i>
\param[in] n index of child (0 .. children() - 1)
- \return pointer to the n'th child or nullptr if out of range
+ \return pointer to the n'th child or 0 if out of range
*/
Fl_Widget *child(int n) const {
- if (n < 0 || n > children() - 1) return nullptr;
+ if (n < 0 || n > children() - 1) return 0;
return child_[n];
}
@@ -119,7 +119,7 @@ public:
Fl_Widget* const* array() const;
- void resize(int,int,int,int) override;
+ void resize(int,int,int,int);
/**
Creates a new Fl_Group widget using the given position, size,
and label string. The default boxtype is FL_NO_BOX.
@@ -239,7 +239,7 @@ public:
unsigned int clip_children() { return (flags() & CLIP_CHILDREN) != 0; }
// Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
- Fl_Group* as_group() override { return this; }
+ Fl_Group* as_group() { return this; }
Fl_Group const* as_group() const override { return this; }
// back compatibility functions: