wxGTK2: No need to check for __WXGTK20__ here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-04-06 12:01:04 +00:00
parent afeb58f16b
commit 2ec371fda2

View File

@ -96,7 +96,7 @@ static void wxgtk_window_set_urgency_hint (GtkWindow *win,
static gboolean gtk_frame_urgency_timer_callback( wxTopLevelWindowGTK *win )
{
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,7,0)
#if GTK_CHECK_VERSION(2,7,0)
if(!gtk_check_version(2,7,0))
gtk_window_set_urgency_hint(GTK_WINDOW( win->m_widget ), FALSE);
else
@ -146,7 +146,7 @@ static gboolean gtk_frame_focus_in_callback( GtkWidget *widget,
g_source_remove( win->m_urgency_hint );
// no break, fallthrough to remove hint too
case -1:
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,7,0)
#if GTK_CHECK_VERSION(2,7,0)
if(!gtk_check_version(2,7,0))
gtk_window_set_urgency_hint(GTK_WINDOW( widget ), FALSE);
else
@ -1264,7 +1264,7 @@ void wxTopLevelWindowGTK::RequestUserAttention(int flags)
}
}
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,7,0)
#if GTK_CHECK_VERSION(2,7,0)
if(!gtk_check_version(2,7,0))
gtk_window_set_urgency_hint(GTK_WINDOW( m_widget ), new_hint_value);
else