#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/frame.h"
+ #include "wx/dialog.h"
#endif
-#include "wx/dialog.h"
-#include "wx/frame.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxDialogXmlHandler, wxXmlResourceHandler)
wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
if (HasParam(wxT("pos")))
dlg->Move(GetPosition());
if (HasParam(wxT("icon")))
- dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
+ dlg->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON));
SetupWindow(dlg);