X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/331c1816d7f6fa0162783bd017d238c35d937b6c..9aaf11927c8f43dcf296563c6a62707d625c2356:/src/common/dlgcmn.cpp?ds=sidebyside diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index a0f2ed5000..ca535d37d2 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -105,7 +105,7 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) { wxStaticText *s = new wxStaticText( this, wxID_ANY, line ); box->Add( s ); - line = wxT(""); + line = wxEmptyString; } else { @@ -148,7 +148,7 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) pos = last_space; last_space = 0; - line = wxT(""); + line = wxEmptyString; } } } @@ -205,7 +205,7 @@ wxStdDialogButtonSizer *wxDialogBase::CreateStdDialogButtonSizer( long flags ) sizer->AddButton(help); } - sizer->Finalise(); + sizer->Realize(); if (flags & wxNO_DEFAULT) {