diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-17 16:55:37 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-17 16:55:37 +0100 |
| commit | 44bb080c0ff81b16d48dccd8d15809f058cc68ea (patch) | |
| tree | a6bb39936839aedd6be10fd435e84ac3a479fc6b /src/Fl_Window_Driver.H | |
| parent | a3fd63fd1d5fb0798210ff5f2d994b72ec0eb39a (diff) | |
Remove friend declaration from Fl_Window.H (see STR 3354)
Although this was not strictly necessary I decided to implement the
proposed patch, but in a slightly different way.
This adds a static public method for internal use only but it wouldn't
do any harm if a user called it.
Diffstat (limited to 'src/Fl_Window_Driver.H')
| -rw-r--r-- | src/Fl_Window_Driver.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Window_Driver.H b/src/Fl_Window_Driver.H index 983dfd023..43eee2227 100644 --- a/src/Fl_Window_Driver.H +++ b/src/Fl_Window_Driver.H @@ -114,8 +114,8 @@ public: void x(int X); void y(int Y); void current(Fl_Window *c); - char show_iconic() { return Fl_Window::show_iconic_; } - void show_iconic(char c) { Fl_Window::show_iconic_ = c; } + char show_iconic() { return Fl_Window::show_next_window_iconic(); } + void show_iconic(char c) { Fl_Window::show_next_window_iconic(c); } void flx(Fl_X *x) { pWindow->flx_ = x; } Fl_Cursor cursor_default() { return pWindow->cursor_default; } void destroy_double_buffer(); |
