diff --git a/common/widgets/net_selector.cpp b/common/widgets/net_selector.cpp index 8deadda5ff..2c32f027e0 100644 --- a/common/widgets/net_selector.cpp +++ b/common/widgets/net_selector.cpp @@ -529,7 +529,9 @@ protected: void doSetFocus( wxWindow* aWindow ) { +#ifndef __WXGTK__ // Cannot focus in non-toplevel windows on GTK KIPLATFORM::UI::ForceFocus( aWindow ); +#endif } protected: