]> git.saurik.com Git - wxWidgets.git/commitdiff
forgot to release capture
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 22 Dec 2007 08:57:28 +0000 (08:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 22 Dec 2007 08:57:28 +0000 (08:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/drawing/drawing.cpp

index 7c1e0d578f9012c1a83375ec32ac511466daf45e..a4870c96919bc2619bfc12e7b1c075cbc5125caa 100644 (file)
@@ -1556,6 +1556,7 @@ void MyCanvas::OnMouseUp(wxMouseEvent &event)
 {
     if ( m_rubberBand )
     {
+        ReleaseMouse();
         {
             wxClientDC dc( this );
             PrepareDC( dc );