From be631dbaa0f2b874a81ff86cfff59e92a4ed93a5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 10 Apr 2012 03:27:22 +0000 Subject: [PATCH] Add CreateTextSizer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/dialog.h | 6 ++++++ 1 file changed, 6 insertions(+) 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.