summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-07-28 15:51:05 +0000
committerManolo Gouy <Manolo>2017-07-28 15:51:05 +0000
commitc88466928db4ecdeb4e6c6eb84c873319d02ec7d (patch)
tree4a56a225eb62566bbe000b10196790207774e64d /src/Fl_win32.cxx
parent879c4df5bd5247a72900915a5c2fc7b9bb308b95 (diff)
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
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index f5e064a62..cc58336b1 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1682,10 +1682,10 @@ int Fl_WinAPI_Window_Driver::fake_X_wm(int &X,int &Y, int &bt,int &bx, int &by)
void Fl_WinAPI_Window_Driver::resize(int X,int Y,int W,int H) {
UINT flags = SWP_NOSENDCHANGING | SWP_NOZORDER
| SWP_NOACTIVATE | SWP_NOOWNERZORDER;
- int is_a_resize = (W != w() || H != h() || is_a_rescale);
+ int is_a_resize = (W != w() || H != h() || is_a_rescale());
int resize_from_program = (pWindow != resize_bug_fix);
if (!resize_from_program) resize_bug_fix = 0;
- if (X != x() || Y != y() || is_a_rescale) {
+ if (X != x() || Y != y() || is_a_rescale()) {
force_position(1);
} else {
if (!is_a_resize) return;