From: Robert Roebling Date: Sat, 26 May 2007 22:06:47 +0000 (+0000) Subject: Correct GTK version check X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ff9bb105a0dfd89a5c2691743466494380e85505?hp=1529bc41dc2ce5d35cbcc19ca0d1f8b2f68d7010 Correct GTK version check git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/msgdlg.cpp b/src/gtk/msgdlg.cpp index 14e71134c2..58ed5548a4 100644 --- a/src/gtk/msgdlg.cpp +++ b/src/gtk/msgdlg.cpp @@ -77,7 +77,7 @@ void wxMessageDialog::GTKCreateMsgDialog() } wxString message; -#if GTK_CHECK_VERSION(2, 4, 0) +#if GTK_CHECK_VERSION(2, 6, 0) bool needsExtMessage = false; if ( gtk_check_version(2, 4, 0) == NULL && !m_extendedMessage.empty() ) { @@ -98,7 +98,7 @@ void wxMessageDialog::GTKCreateMsgDialog() "%s", (const char*)wxGTK_CONV(message)); -#if GTK_CHECK_VERSION(2, 4, 0) +#if GTK_CHECK_VERSION(2, 6, 0) if ( needsExtMessage ) { gtk_message_dialog_format_secondary_text