X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd38c87578df7a24a491401c943988e2bc89b62b..9bb50fd0b04c824fc7ba14c0dc4ba4a2a9a1e6ad:/src/motif/dataobj.cpp diff --git a/src/motif/dataobj.cpp b/src/motif/dataobj.cpp index 9a21179091..6078e4b710 100644 --- a/src/motif/dataobj.cpp +++ b/src/motif/dataobj.cpp @@ -7,10 +7,13 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dataobj.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #if wxUSE_CLIPBOARD @@ -135,17 +138,17 @@ void wxDataFormat::SetId( const wxChar *id ) m_type = wxDF_PRIVATE; wxString tmp( id ); m_format = XInternAtom( wxGlobalDisplay(), - tmp.mbc_str(), FALSE ); + tmp.mbc_str(), False ); } void wxDataFormat::PrepareFormats() { if (!g_textAtom) - g_textAtom = XInternAtom( wxGlobalDisplay(), "STRING", FALSE ); + g_textAtom = XInternAtom( wxGlobalDisplay(), "STRING", False ); if (!g_bitmapAtom) - g_bitmapAtom = XInternAtom( wxGlobalDisplay(), "PIXMAP", FALSE ); + g_bitmapAtom = XInternAtom( wxGlobalDisplay(), "PIXMAP", False ); if (!g_fileAtom) - g_fileAtom = XInternAtom( wxGlobalDisplay(), "file:ALL", FALSE ); + g_fileAtom = XInternAtom( wxGlobalDisplay(), "file:ALL", False ); } // ----------------------------------------------------------------------------