X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dc06fdcece9307ffb0c23bb6944ff03c526808..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/dialog.h 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.