fix for -Wundef warning for HAVE_XIM under GTK1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-24 11:17:05 +00:00
parent 285ba64d0d
commit 60e4975cb8
2 changed files with 8 additions and 8 deletions

View File

@@ -208,13 +208,13 @@ public:
#ifdef __WXGTK20__ #ifdef __WXGTK20__
wxGtkIMData *m_imData; wxGtkIMData *m_imData;
#else #else // GTK 1
#if HAVE_XIM && !defined(__WXGTK20__) #ifdef HAVE_XIM
// XIM support for wxWidgets // XIM support for wxWidgets
GdkIC *m_ic; GdkIC *m_ic;
GdkICAttr *m_icattr; GdkICAttr *m_icattr;
#endif #endif // HAVE_XIM
#endif #endif // GTK 2/1
#ifndef __WXGTK20__ #ifndef __WXGTK20__
// The area to be cleared (and not just refreshed) // The area to be cleared (and not just refreshed)

View File

@@ -208,13 +208,13 @@ public:
#ifdef __WXGTK20__ #ifdef __WXGTK20__
wxGtkIMData *m_imData; wxGtkIMData *m_imData;
#else #else // GTK 1
#if HAVE_XIM && !defined(__WXGTK20__) #ifdef HAVE_XIM
// XIM support for wxWidgets // XIM support for wxWidgets
GdkIC *m_ic; GdkIC *m_ic;
GdkICAttr *m_icattr; GdkICAttr *m_icattr;
#endif #endif // HAVE_XIM
#endif #endif // GTK 2/1
#ifndef __WXGTK20__ #ifndef __WXGTK20__
// The area to be cleared (and not just refreshed) // The area to be cleared (and not just refreshed)