]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dataobj.cpp
Warning fix about assigning unused value + little source cleaning.
[wxWidgets.git] / src / motif / dataobj.cpp
index debae5252f10b7820524c7c99b51bd77465910b9..6078e4b710317d12ca9dd45d44f3fb0ff7bb3ac0 100644 (file)
@@ -11,6 +11,9 @@
 #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 );
 }
 
 // ----------------------------------------------------------------------------