]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dlgcmn.cpp
Corrected wxImage for use with mono wxBitmaps,
[wxWidgets.git] / src / common / dlgcmn.cpp
index 595643cba4fabf614ab9b95293fba9030348b348..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
            {