]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/control.cpp
Some minor clean-ups to the wxScrolledWindow code.
[wxWidgets.git] / src / mac / control.cpp
index 15bc46b48e4a0f402107e7eb493af79085a69195..63610676a06912f12de959f129bd651bd5ebeceb 100644 (file)
@@ -16,6 +16,7 @@
 #include "wx/control.h"
 #include "wx/panel.h"
 #include "wx/app.h"
+#include "wx/dc.h"
 #include "wx/notebook.h"
 #include "wx/tabctrl.h"
 #include "wx/radiobox.h"
@@ -761,10 +762,12 @@ void  wxControl::OnMouseEvent( wxMouseEvent &event )
        
                controlpart = FindControl( localwhere , window , &control ) ;
                {
+               /*
                        if ( AcceptsFocus() && FindFocus() != this )
                        {
                                SetFocus() ;
                        }
+               */
                        if ( control && UMAIsControlActive( control ) )
                        {
                                {