diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-05-08 17:08:20 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-05-08 17:08:33 +0200 |
| commit | 7f7e0e4ea1cdf52e0d5f2858baa976bd391e973a (patch) | |
| tree | 928cb1348d7736b6d59e01664878d78bf5ba20b5 /src/Fl_cocoa.mm | |
| parent | ccb06e18b7416328bc2c91e8b3ac5f0f4533f3ab (diff) | |
Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale()
so it can be called by any user code.
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index aded8cb4e..02a270192 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3296,7 +3296,7 @@ void Fl_Cocoa_Window_Driver::resize(int X, int Y, int W, int H) { } else { NSPoint pt = FLTKtoCocoa(pWindow, X, Y, H); FLWindow *xid = fl_xid(pWindow); - if (W != w() || H != h() || is_a_rescale()) { + if (W != w() || H != h() || Fl_Window::is_a_rescale()) { NSRect r; float s = Fl::screen_driver()->scale(screen_num()); int bt = get_window_frame_sizes(pWindow); |
