git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30200
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+wxDialog
+--------
+position Position -1,-1
+size Size -1,-1
+style Style[wxDialog] wxDEFAULT_DIALOG_STYLE
+title I18nString ""
+icon Bitmap (empty)
+centered Boolean false
+
+wxDialog may have children objects.
+
+
+wxFrame
+--------
+position Position -1,-1
+size Size -1,-1
+style Style[wxDialog] wxDEFAULT_FRAME_STYLE
+title I18nString ""
+icon Bitmap (empty)
+centered Boolean false
+
+wxFrame may have children objects. There can be at most one wxToolBar,
+wxMenuBar and wxStatusBar children; objects of these types are automatically
+set as frame's tool-, menu- and statusbar respectively.
+
+
wxScrolledWindow
----------------
position Position -1,-1
size Size -1,-1
style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL
wxScrolledWindow
----------------
position Position -1,-1
size Size -1,-1
style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL
+wxScolledWindow may have children objects.
+
wxSplitterWindow
----------------
wxSplitterWindow
----------------
splitter is created split, either horizontally or vertically depending
on the value of "orientation" attribute.
splitter is created split, either horizontally or vertically depending
on the value of "orientation" attribute.
wxStatusBar
-----------
fields Integer number of fields
widths Width1, Width2, Width3, ...
wxStatusBar
-----------
fields Integer number of fields
widths Width1, Width2, Width3, ...
wxToolBar
---------
position Position -1,-1
wxToolBar
---------
position Position -1,-1
dlg->SetClientSize(GetSize());
if (HasParam(wxT("pos")))
dlg->Move(GetPosition());
dlg->SetClientSize(GetSize());
if (HasParam(wxT("pos")))
dlg->Move(GetPosition());
+ if (HasParam(wxT("icon")))
+ dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
frame->SetClientSize(GetSize());
if (HasParam(wxT("pos")))
frame->Move(GetPosition());
frame->SetClientSize(GetSize());
if (HasParam(wxT("pos")))
frame->Move(GetPosition());
+ if (HasParam(wxT("icon")))
+ frame->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
// Any bitmaps:
if (node->GetName() == _T("bitmap"))
return true;
// Any bitmaps:
if (node->GetName() == _T("bitmap"))
return true;
+
+ if (node->GetName() == _T("icon"))
+ return true;
// URLs in wxHtmlWindow:
if (node->GetName() == _T("url"))
// URLs in wxHtmlWindow:
if (node->GetName() == _T("url"))