git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28868
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if ( AcceptsFocus() )
{
{
if ( AcceptsFocus() )
{
wxWindow* former = FindFocus() ;
wxWindow* former = FindFocus() ;
+ if ( former == this )
+ return ;
+
OSStatus err = m_peer->SetFocus( kControlFocusNextPart ) ;
// as we cannot rely on the control features to find out whether we are in full keyboard mode, we can only
// leave in case of an error
OSStatus err = m_peer->SetFocus( kControlFocusNextPart ) ;
// as we cannot rely on the control features to find out whether we are in full keyboard mode, we can only
// leave in case of an error