]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/settings.cpp
Never overflow the output buffer in wxBase64Decode().
[wxWidgets.git] / src / motif / settings.cpp
index 1db7bea1f49023f30463e61f6493d4eb7b654bb4..9b5b08342256c45be51e646bf9d288f7b0b4be14 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/settings.h"
-#include "wx/gdicmn.h"
-#include "wx/app.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/app.h"
+    #include "wx/gdicmn.h"
+#endif
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -156,7 +159,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
 
     default:
     case wxSYS_COLOUR_MAX:
-        wxFAIL_MSG( _T("unknown colour") );
+        wxFAIL_MSG( wxT("unknown colour") );
   }
   return *wxWHITE;
 }