diff --git a/src/gtk/clipbrd.cpp b/src/gtk/clipbrd.cpp index e5aec7830b..7fc00a539e 100644 --- a/src/gtk/clipbrd.cpp +++ b/src/gtk/clipbrd.cpp @@ -35,7 +35,7 @@ GdkAtom g_clipboardAtom = 0; GdkAtom g_targetsAtom = 0; GdkAtom g_timestampAtom = 0; -#if defined(__WXGTK20__) && wxUSE_UNICODE +#if wxUSE_UNICODE extern GdkAtom g_altTextAtom; #endif @@ -548,7 +548,7 @@ bool wxClipboard::IsSupported( const wxDataFormat& format ) while (m_waiting) gtk_main_iteration(); -#if defined(__WXGTK20__) && wxUSE_UNICODE +#if wxUSE_UNICODE if (!m_formatSupported && format == wxDataFormat(wxDF_UNICODETEXT)) { // Another try with plain STRING format