From d5f005cc9385455ceebdf2063aa7f421f70315d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Aug 2001 11:30:13 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/button.cpp b/src/motif/button.cpp index 5aacdf44ae..645f99cf44 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -111,7 +111,7 @@ void wxButton::SetDefault() { 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 -- 2.45.2