From: Robin Dunn Date: Tue, 10 Apr 2012 03:27:22 +0000 (+0000) Subject: Add CreateTextSizer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/be631dbaa0f2b874a81ff86cfff59e92a4ed93a5 Add CreateTextSizer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/dialog.h b/interface/wx/dialog.h index 5f0235dbe5..736b97488d 100644 --- a/interface/wx/dialog.h +++ b/interface/wx/dialog.h @@ -283,6 +283,12 @@ public: */ wxStdDialogButtonSizer* CreateStdDialogButtonSizer(long flags); + /** + Splits text up at newlines and places the lines into wxStaticText + objects in a vertical wxBoxSizer. + */ + wxSizer *CreateTextSizer( const wxString& message ); + /** Performs layout adaptation, usually if the dialog is too large to fit on the display.