Browse Source

Fl_Window: shown() should be const.

tags/v1.3.1000
Jonathan Moore Liles 11 years ago
parent
commit
415422bd1b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      FL/Fl_Window.H

+ 1
- 1
FL/Fl_Window.H View File

@@ -339,7 +339,7 @@ public:
). You can tell if a window is iconified with (w->shown() ). You can tell if a window is iconified with (w->shown()
&& !w->visible()). && !w->visible()).
*/ */
int shown() {return i != 0;}
int shown() const {return i != 0;}
/** /**
Puts the window on the screen. Usually (on X) this has the side Puts the window on the screen. Usually (on X) this has the side
effect of opening the display. effect of opening the display.


Loading…
Cancel
Save