X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5dbea4951e809331c76118c69026f6c44faf9c4..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/generic/notifmsgg.cpp diff --git a/src/generic/notifmsgg.cpp b/src/generic/notifmsgg.cpp index ef7d74bdff..fe90a69f45 100644 --- a/src/generic/notifmsgg.cpp +++ b/src/generic/notifmsgg.cpp @@ -27,11 +27,17 @@ #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" #include "wx/timer.h" + #include "wx/sizer.h" + #include "wx/statbmp.h" #endif //WX_PRECOMP #include "wx/artprov.h" @@ -79,7 +85,7 @@ private: DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxNotificationMessageDialog) + wxDECLARE_NO_COPY_CLASS(wxNotificationMessageDialog); }; // ============================================================================ @@ -236,4 +242,4 @@ bool wxGenericNotificationMessage::Close() return true; } -#endif // wxUSE_NOTIFICATION_MESSAGE && !wxUSE_LIBHILDON +#endif // wxUSE_NOTIFICATION_MESSAGE && (!wxUSE_LIBHILDON || !wxUSE_LIBHILDON2)