git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11389
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxWindow *parent = GetParent();
if ( parent )
{
wxWindow *parent = GetParent();
if ( parent )
- panel->SetDefaultItem(this);
+ parent->SetDefaultItem(this);
// We initially do not set XmNdefaultShadowThickness, to have small buttons.
// Unfortunately, buttons are now mis-aligned. We try to correct this
// We initially do not set XmNdefaultShadowThickness, to have small buttons.
// Unfortunately, buttons are now mis-aligned. We try to correct this