From c88466928db4ecdeb4e6c6eb84c873319d02ec7d Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 28 Jul 2017 15:51:05 +0000 Subject: Replace static protected bool Fl_Window_Driver::is_a_rescale by a private static variable and a public getter. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 85e58c349..dfce3ea9b 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -55,7 +55,7 @@ void Fl_Double_Window::resize(int X,int Y,int W,int H) { int oh = h(); Fl_Window::resize(X,Y,W,H); Fl_X *myi = Fl_X::i(this); - if (myi && driver()->other_xid && (ow < w() || oh < h() || Fl_Window_Driver::is_a_rescale)) + if (myi && driver()->other_xid && (ow < w() || oh < h() || Fl_Window_Driver::is_a_rescale())) driver()->destroy_double_buffer(); } -- cgit v1.2.3