]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUniv fixes for generic wxColourDialog
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 21 Nov 2001 00:01:53 +0000 (00:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 21 Nov 2001 00:01:53 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/colrdlgg.cpp

index 8fbf74264aefcd98c9db72ae8d17ae42113c27b0..926030df832115e91e1a5f1da8285105b32eb950 100644 (file)
@@ -187,7 +187,11 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
       int ptr = (int)(selX + selY*8);
       OnCustomColourClick(ptr);
     }
+    else
+        event.Skip();
   }
+  else
+      event.Skip();
 }
 
 void wxGenericColourDialog::OnPaint(wxPaintEvent& event)