]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dlgcmn.cpp
wxMotif compilation fixes for wxDataObject and PROCESS_EVENTS (wxSocket)
[wxWidgets.git] / src / common / dlgcmn.cpp
index df030412fd887570c33712766e331d1e01c244da..73d1bcd7dcb5c44953720c990607167bcde27fbb 100644 (file)
 // 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
            {