compilation error fixed (see Sun build log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,7 +67,7 @@ wxControl::~wxControl()
|
|||||||
wxPanel *panel = wxDynamicCast(GetParent(), wxPanel);
|
wxPanel *panel = wxDynamicCast(GetParent(), wxPanel);
|
||||||
if (panel)
|
if (panel)
|
||||||
{
|
{
|
||||||
if (panel->GetDefaultItem() == this)
|
if ( (wxControl *)panel->GetDefaultItem() == this)
|
||||||
panel->SetDefaultItem((wxButton*) NULL);
|
panel->SetDefaultItem((wxButton*) NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user