X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa71af91f41a6993c2e2a4ba118e3d0b5683e0c0..e562dfb1a0dbabd0a93d50495de52e827efc59a9:/src/generic/notifmsgg.cpp diff --git a/src/generic/notifmsgg.cpp b/src/generic/notifmsgg.cpp index 364cab307e..fe90a69f45 100644 --- a/src/generic/notifmsgg.cpp +++ b/src/generic/notifmsgg.cpp @@ -27,7 +27,11 @@ #define wxUSE_LIBHILDON 0 #endif -#if wxUSE_NOTIFICATION_MESSAGE && !wxUSE_LIBHILDON +#ifndef wxUSE_LIBHILDON2 + #define wxUSE_LIBHILDON2 0 +#endif + +#if wxUSE_NOTIFICATION_MESSAGE && (!wxUSE_LIBHILDON || !wxUSE_LIBHILDON2) #ifndef WX_PRECOMP #include "wx/dialog.h" @@ -81,7 +85,7 @@ private: DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxNotificationMessageDialog) + wxDECLARE_NO_COPY_CLASS(wxNotificationMessageDialog); }; // ============================================================================ @@ -238,4 +242,4 @@ bool wxGenericNotificationMessage::Close() return true; } -#endif // wxUSE_NOTIFICATION_MESSAGE && !wxUSE_LIBHILDON +#endif // wxUSE_NOTIFICATION_MESSAGE && (!wxUSE_LIBHILDON || !wxUSE_LIBHILDON2)