summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-23 18:00:37 +0000
committerManolo Gouy <Manolo>2016-03-23 18:00:37 +0000
commitfdaad858ba78ac232df8b5a7d6f1ab3a64680a6c (patch)
tree47cf7aaf6cd8622f8ec4253cc209b6fce948ca34 /src/Fl_arg.cxx
parente3ee1e7b81c9b1a8806b80cd69c66eeccc679bf9 (diff)
Rewrite Fl_Window::iconize() under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index 02f3da1da..34ba95bb1 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -53,7 +53,6 @@ static int fl_match(const char *a, const char *s, int atleast = 1) {
}
// flags set by previously parsed arguments:
-extern char fl_show_iconic; // in Fl_x.cxx
static char arg_called;
static char return_i;
static const char *name;
@@ -148,7 +147,7 @@ int Fl::arg(int argc, char **argv, int &i) {
s++; // point after the dash
if (fl_match(s, "iconic")) {
- fl_show_iconic = 1;
+ Fl_Window::show_iconic_ = 1;
i++;
return 1;
} else if (fl_match(s, "kbd")) {