From aa74396d46f89699c3b5bb29abafc8ae2bb59ba9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 12 Feb 2002 23:25:36 +0000 Subject: [PATCH] don't allow dragging a window if it is maximized git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/topluniv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index 869a53a14a..6392765ed6 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -680,7 +680,7 @@ bool wxStdFrameInputHandler::HandleMouse(wxInputConsumer *consumer, consumer->PerformAction(wxACTION_TOPLEVEL_BUTTON_PRESS, m_winPressed); return TRUE; } - else if ( hit & wxHT_TOPLEVEL_TITLEBAR ) + else if ( (hit & wxHT_TOPLEVEL_TITLEBAR) && !w->IsMaximized() ) { consumer->PerformAction(wxACTION_TOPLEVEL_MOVE); return TRUE; -- 2.47.2