diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-04 11:30:45 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-05 19:42:55 +0100 |
| commit | 0ae927a00e9ecd45a45edf004e939ab2e5ce4813 (patch) | |
| tree | d2d585d0d6088494b23529fc43dde9a7cdf330b3 /src/Fl_win32.cxx | |
| parent | a31409f7bbe7db51f63c79b16358d64ae6e2d4bb (diff) | |
Add Fl_Window::maximize() and Fl_Window::un_maximize()
Diffstat (limited to 'src/Fl_win32.cxx')
| -rw-r--r-- | src/Fl_win32.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 0895ca417..809fd0479 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1572,6 +1572,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar case WM_SIZE: if (!window->parent()) { + Fl_Window_Driver::driver(window)->is_maximized(wParam == SIZE_MAXIMIZED); if (wParam == SIZE_MINIMIZED || wParam == SIZE_MAXHIDE) { Fl::handle(FL_HIDE, window); } else { |
