]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tglbtn.cpp
Update AUI pane resizable status even when it is floating.
[wxWidgets.git] / src / msw / tglbtn.cpp
index edadc6a1efb0d67322366d3327f6ded65ece0d6a..0f25bf1fcbe74652962d5c616fe1f87d76bcab90 100644 (file)
@@ -187,7 +187,7 @@ void wxBitmapToggleButton::OnMouse(wxMouseEvent &event)
 
         if (event.LeftUp())
         {
-            ReleaseCapture();
+            ReleaseMouse();
             m_capturing = false;
             if (mouse_in)
             {