X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/common/dlgcmn.cpp diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index df030412fd..73d1bcd7dc 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -17,10 +17,8 @@ // headers // ---------------------------------------------------------------------------- -#if 0 #ifdef __GNUG__ - #pragma implementation -#endif + #pragma implementation "dialogbase.h" #endif // For compilers that support precompilation, includes "wx.h". @@ -56,13 +54,13 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString &message ) wxString line; for (size_t pos = 0; pos < message.Len(); pos++) { - if (message[pos] == T('\n')) + if (message[pos] == wxT('\n')) { if (!line.IsEmpty()) { wxStaticText *s1 = new wxStaticText( this, -1, line ); box->Add( s1 ); - line = T(""); + line = wxT(""); } else {