wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dataobj.cpp
|
||||
// Name: src/motif/dataobj.cpp
|
||||
// Purpose: wxDataObject class
|
||||
// Author: Julian Smart
|
||||
// Id: $Id$
|
||||
@@ -10,8 +10,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_CLIPBOARD
|
||||
|
||||
#include "wx/dataobj.h"
|
||||
@@ -106,7 +104,7 @@ wxString wxDataFormat::GetId() const
|
||||
{
|
||||
char *t = XGetAtomName ((Display*) wxGetDisplay(), m_format);
|
||||
wxString ret( t ); // this will convert from ascii to Unicode
|
||||
if (t)
|
||||
if (t)
|
||||
XFree( t );
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user