// Purpose: XRC resource for wxMDI
// Author: David M. Falkinder & Vaclav Slavik
// Created: 14/02/2005
-// RCS-ID: $Id$
// Copyright: (c) 2005 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
if ( !mdiParent )
{
- wxLogError(wxT("Parent of wxMDIChildFrame must be wxMDIParentFrame."));
+ ReportError("parent of wxMDIChildFrame must be wxMDIParentFrame");
return NULL;
}
{
wxFrame* f = wxDynamicCast(frame, wxFrame);
if (f)
- f->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
+ f->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON));
}
SetupWindow(frame);