]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct GTK version check
authorRobert Roebling <robert@roebling.de>
Sat, 26 May 2007 22:06:47 +0000 (22:06 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 26 May 2007 22:06:47 +0000 (22:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/msgdlg.cpp

index 14e71134c23c0a9e49d67954ac6cf94682621e22..58ed5548a471123803e3067ff1bc0a0c490b3b37 100644 (file)
@@ -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