Fl_Window: shown() should be const.

This commit is contained in:
Jonathan Moore Liles 2013-07-21 20:19:39 -07:00
parent 81f41f5fed
commit 415422bd1b
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ public:
). You can tell if a window is iconified with (w->shown()
&& !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
effect of opening the display.