]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
default style now applies to the text entered by the user as well (patch 574789)
[wxWidgets.git] / src / html / helpfrm.cpp
index 07096d4c71357173b7b4478f2b4e93850de98469..765dc8c452784545a0f79fac81a8c5942255785b 100644 (file)
@@ -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)