added 'centered' property to wxDialog handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
019faef468
commit
b6b0af42a0
@ -62,6 +62,9 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
|
||||
|
||||
CreateChildren(dlg);
|
||||
|
||||
if (GetBool(_("centered"), FALSE))
|
||||
dlg->Centre();
|
||||
|
||||
return dlg;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
node dialog
|
||||
var title of text
|
||||
var style of flags wxSTAY_ON_TOP,wxCAPTION,wxDEFAULT_DIALOG_STYLE,wxTHICK_FRAME,wxSYSTEM_MENU,wxRESIZE_BORDER,wxRESIZE_BOX,wxDIALOG_MODAL,wxDIALOG_MODELESS
|
||||
var centered of bool
|
||||
derived from panelbase
|
||||
|
Loading…
Reference in New Issue
Block a user