]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation of new wxNotificationMessage for wxGTK without libnotify.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jul 2012 16:03:35 +0000 (16:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jul 2012 16:03:35 +0000 (16:03 +0000)
Add the wxUSE_LIBNOTIFY check forgotten by the previous commit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/notifmsg.cpp

index 8b4b75c076389d7392b095b93c6a9ed3e0cbf75a..d3b6285925736532b01f1b2d0538b7f09b0d767a 100644 (file)
@@ -23,7 +23,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_NOTIFICATION_MESSAGE
+#if wxUSE_NOTIFICATION_MESSAGE && wxUSE_LIBNOTIFY
 
 #ifndef WX_PRECOMP
 #endif // WX_PRECOMP
@@ -191,4 +191,4 @@ wxNotificationMessage::~wxNotificationMessage()
         g_object_unref(m_notification);
 }
 
-#endif // wxUSE_NOTIFICATION_MESSAGE
+#endif // wxUSE_NOTIFICATION_MESSAGE && wxUSE_LIBNOTIFY