X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d45bc436954b74745c2f33fdd32b8e813f23431d..06aa2a5508ab2bcdd69e6c5f6660c96e79b35f3d:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 07096d4c71..765dc8c452 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -1442,6 +1442,13 @@ void wxHtmlHelpFrame::OnCloseWindow(wxCloseEvent& evt) GetSize(&m_Cfg.w, &m_Cfg.h); GetPosition(&m_Cfg.x, &m_Cfg.y); +#ifdef __WXGTK__ + if (IsGrabbed()) + { + RemoveGrab(); + } +#endif + if (m_Splitter && m_Cfg.navig_on) m_Cfg.sashpos = m_Splitter->GetSashPosition(); if (m_Config)