]> git.saurik.com Git - wxWidgets.git/commitdiff
Add CreateTextSizer
authorRobin Dunn <robin@alldunn.com>
Tue, 10 Apr 2012 03:27:22 +0000 (03:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 10 Apr 2012 03:27:22 +0000 (03:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dialog.h

index 5f0235dbe5192493e6d37d85881fe86840f5ae12..736b97488d91ed772de1427e173fb738900071eb 100644 (file)
@@ -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.