compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-08-16 11:30:13 +00:00
parent ef344ff862
commit d5f005cc93

View File

@ -111,7 +111,7 @@ void wxButton::SetDefault()
{ {
wxWindow *parent = GetParent(); wxWindow *parent = GetParent();
if ( parent ) if ( parent )
panel->SetDefaultItem(this); parent->SetDefaultItem(this);
// We initially do not set XmNdefaultShadowThickness, to have small buttons. // We initially do not set XmNdefaultShadowThickness, to have small buttons.
// Unfortunately, buttons are now mis-aligned. We try to correct this // Unfortunately, buttons are now mis-aligned. We try to correct this