]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/hildon/notifmsg.cpp
Implement undo and redo for the ie and gtk webkit backends. Extend the sample to...
[wxWidgets.git] / src / gtk / hildon / notifmsg.cpp
index 3cad17868e6e9d5d3f24df9f7d045694fac1fe02..58011398fe01d76a6a289f2e12cb464118c89e1f 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        gtk/hildon/notifmsg.cpp
+// Name:        src/gtk/hildon/notifmsg.cpp
 // Purpose:     Hildon implementation of wxNotificationMessage
 // Author:      Vadim Zeitlin
 // Created:     2007-11-21
@@ -23,7 +23,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_LIBHILDON
+#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2
 
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 #include "wx/notifmsg.h"
 #include "wx/toplevel.h"
 
-#include <hildon-widgets/hildon-banner.h>
+#if wxUSE_LIBHILDON
+    #include <hildon-widgets/hildon-banner.h>
+#endif // wxUSE_LIBHILDON
+
+#if wxUSE_LIBHILDON2
+    #include <hildon/hildon.h>
+#endif // wxUSE_LIBHILDON2
 
 // ============================================================================
 // wxNotificationMessage implementation
@@ -123,4 +129,4 @@ wxNotificationMessage::~wxNotificationMessage()
     Close();
 }
 
-#endif // wxUSE_LIBHILDON
+#endif // wxUSE_LIBHILDON || wxUSE_LIBHILDON2