corrected mac src due to new api changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,7 +53,8 @@ void wxButton::SetDefault()
|
||||
wxPanel *panel = wxDynamicCast(parent, wxPanel);
|
||||
if ( panel )
|
||||
{
|
||||
btnOldDefault = panel->GetDefaultItem();
|
||||
btnOldDefault = wxDynamicCast(panel->GetDefaultItem(),
|
||||
wxButton);
|
||||
panel->SetDefaultItem(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user