]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dlgcmn.cpp
XRC for wxListbook [patch 1152306] and wxChoicebook. Regenerated makefiles.
[wxWidgets.git] / src / common / dlgcmn.cpp
index a0f2ed50009467cb1d1deb9d04a53f17937b7dc1..ca535d37d294ac90993c7dee404eb23f16228b33 100644 (file)
@@ -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)
     {