defer calling SetCanFocus() on wxGTK until after creation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2013-07-31 16:03:51 +00:00
parent cc4d5638c6
commit 4ae5ada038
4 changed files with 13 additions and 3 deletions

View File

@@ -29,6 +29,13 @@
extern WXDLLEXPORT_DATA(const char) wxStaticBoxNameStr[] = "groupBox";
wxStaticBoxBase::wxStaticBoxBase()
{
#ifndef __WXGTK__
m_container.DisableSelfFocus();
#endif
}
// ----------------------------------------------------------------------------
// XTI
// ----------------------------------------------------------------------------