Added window styles to wxToolBar handler.

Allow wxScrolledWindow to have children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-05-12 09:08:36 +00:00
parent 41e2b43ea4
commit ace1785b15
4 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,7 @@ wxObject *wxScrolledWindowXmlHandler::DoCreateResource()
GetName());
SetupWindow(control);
CreateChildren(control);
return control;
}

View File

@ -39,6 +39,7 @@ wxToolBarXmlHandler::wxToolBarXmlHandler()
XRC_ADD_STYLE(wxTB_NOICONS);
XRC_ADD_STYLE(wxTB_NODIVIDER);
XRC_ADD_STYLE(wxTB_NOALIGN);
AddWindowStyles();
}
wxObject *wxToolBarXmlHandler::DoCreateResource()

View File

@ -43,6 +43,7 @@ wxObject *wxScrolledWindowXmlHandler::DoCreateResource()
GetName());
SetupWindow(control);
CreateChildren(control);
return control;
}

View File

@ -39,6 +39,7 @@ wxToolBarXmlHandler::wxToolBarXmlHandler()
XRC_ADD_STYLE(wxTB_NOICONS);
XRC_ADD_STYLE(wxTB_NODIVIDER);
XRC_ADD_STYLE(wxTB_NOALIGN);
AddWindowStyles();
}
wxObject *wxToolBarXmlHandler::DoCreateResource()