diff options
Diffstat (limited to 'src/Fl_Window_Driver.cxx')
| -rw-r--r-- | src/Fl_Window_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index 6627ed069..795031824 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -163,7 +163,7 @@ void Fl_Window_Driver::capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Sh int Fl_Window_Driver::hide_common() { pWindow->clear_visible(); - if (!pWindow->shown()) return 1; + if (!shown()) return 1; // remove from the list of windows: Fl_X* ip = Fl_X::i(pWindow); @@ -198,7 +198,7 @@ int Fl_Window_Driver::hide_common() { void Fl_Window_Driver::use_border() { - if (pWindow->shown()) { + if (shown()) { pWindow->hide(); // hide and then show to reflect the new state of the window border pWindow->show(); } |
