diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-24 15:30:32 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-24 15:30:32 +0000 |
| commit | 5b62a7cf1657d9e7111d9e11b98b032e0c96d9f9 (patch) | |
| tree | e16e96d3858423db09294ba775bef1c0a683cdf8 /src | |
| parent | a2a0be6e1ca553936c4d1e4b152ee9d1436d1e58 (diff) | |
Patch from Bill so that non_modal windows can be maximized or iconified.
git-svn-id: file:///fltk/svn/fltk/trunk@240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 731fcb354..ae6802edf 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.24 1999/01/07 19:17:33 mike Exp $" +// "$Id: Fl_win32.cxx,v 1.25 1999/01/24 15:30:32 mike Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -641,7 +641,7 @@ Fl_X* Fl_X::make(Fl_Window* w) { case 2: style |= WS_THICKFRAME | WS_MAXIMIZEBOX | WS_CAPTION ; break; } if (by+bt) { - if (!w->non_modal()) style |= WS_SYSMENU | WS_MINIMIZEBOX; + if (!w->modal()) style |= WS_SYSMENU | WS_MINIMIZEBOX; wp += 2*bx; hp += 2*by+bt; } @@ -862,5 +862,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.24 1999/01/07 19:17:33 mike Exp $". +// End of "$Id: Fl_win32.cxx,v 1.25 1999/01/24 15:30:32 mike Exp $". // |
