git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47347
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
return false;
if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
return false;
+ // this window itself shouldn't get the focus, only m_mainWin should
+ SetCanFocus(false);
+
// don't create the inner window with the border
style &= ~wxBORDER_MASK;
// don't create the inner window with the border
style &= ~wxBORDER_MASK;