- wxLogDebug("released %p", wnd);
-}
-
-void wxWindowGTK::CaptureMouse()
-{
- wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
-
- wxLogDebug("CAPTURE %p", this);
- wxWindowList::Node *last = g_capturedWindows.GetLast();
- if (last)
- wxDoReleaseMouse(last->GetData());
-
- g_capturedWindows.Append(this);
- wxDoCaptureMouse(this);
-}
-
-void wxWindowGTK::ReleaseMouse()
-{
- wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
-
- wxLogDebug("RELEASE %p", this);
- wxDoReleaseMouse(this);
- g_capturedWindows.DeleteObject(this);
-
- wxWindowList::Node *last = g_capturedWindows.GetLast();
- if (last)
- wxDoCaptureMouse(last->GetData());