]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
send selection events when Ctrl-clicking an item repeeatedly in a multiselection...
[wxWidgets.git] / src / x11 / app.cpp
index a7165cf5ec4bf93fb828bf008bf770b959a20dfc..afcc29cb00f76d75223715857ae60e83647a565b 100644 (file)
@@ -544,7 +544,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
 
             if (event->type == ButtonPress)
             {
-                if ((win != wxWindow::FindFocus()) && win->AcceptsFocus())
+                if ((win != wxWindow::FindFocus()) && win->CanAcceptFocus())
                 {
                     // This might actually be done in wxWindow::SetFocus()
                     // and not here. TODO.