]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dlgcmn.cpp
Small bugfix
[wxWidgets.git] / src / common / dlgcmn.cpp
index 595643cba4fabf614ab9b95293fba9030348b348..73d1bcd7dcb5c44953720c990607167bcde27fbb 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#if 0
 #ifdef __GNUG__
 #ifdef __GNUG__
-    #pragma implementation
-#endif
+    #pragma implementation "dialogbase.h"
 #endif
 
 // For compilers that support precompilation, includes "wx.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++)
     {
     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 );
         {
             if (!line.IsEmpty())
             {
                 wxStaticText *s1 = new wxStaticText( this, -1, line );
                box->Add( s1 );
-                line = _T("");
+                line = wxT("");
             }
            else
            {
             }
            else
            {