wxGTK1 compilation fix after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-09-28 09:30:16 +00:00
parent 53a9325a43
commit 43dc5fb140
2 changed files with 10 additions and 8 deletions

View File

@@ -507,11 +507,12 @@ GdkAtom wxDropTarget::GetMatchingPair()
while (child) while (child)
{ {
// in GTK+ 1.x GdkAtom was a gulong, but now it's a pointer // in GTK+ 1.x GdkAtom was a gulong, but now it's a pointer
GdkAtom formatAtom = (GdkAtom) GdkAtom formatAtom =
#ifndef __WXGTK20__ #ifdef __WXGTK20__
GPOINTER_TO_INT (GdkAtom)(child->data);
#else
GPOINTER_TO_INT(child->data);
#endif #endif
(child->data);
wxDataFormat format( formatAtom ); wxDataFormat format( formatAtom );
#ifdef __WXDEBUG__ #ifdef __WXDEBUG__

View File

@@ -507,11 +507,12 @@ GdkAtom wxDropTarget::GetMatchingPair()
while (child) while (child)
{ {
// in GTK+ 1.x GdkAtom was a gulong, but now it's a pointer // in GTK+ 1.x GdkAtom was a gulong, but now it's a pointer
GdkAtom formatAtom = (GdkAtom) GdkAtom formatAtom =
#ifndef __WXGTK20__ #ifdef __WXGTK20__
GPOINTER_TO_INT (GdkAtom)(child->data);
#else
GPOINTER_TO_INT(child->data);
#endif #endif
(child->data);
wxDataFormat format( formatAtom ); wxDataFormat format( formatAtom );
#ifdef __WXDEBUG__ #ifdef __WXDEBUG__