X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2d5abbf527ae760cf65467bf94b914ba9974657..4798fbc7d1d29a18c456f160cc8d2f54184eb61e:/include/wx/msw/notifmsg.h?ds=inline diff --git a/include/wx/msw/notifmsg.h b/include/wx/msw/notifmsg.h index 0928ea71bc..d39fbbd7c4 100644 --- a/include/wx/msw/notifmsg.h +++ b/include/wx/msw/notifmsg.h @@ -47,11 +47,21 @@ public: // returns the task bar icon which was used previously (may be NULL) static wxTaskBarIcon *UseTaskBarIcon(wxTaskBarIcon *icon); + // call this to always use the generic implementation, even if the system + // supports the balloon tooltips used by the native one + static void AlwaysUseGeneric(bool alwaysUseGeneric) + { + ms_alwaysUseGeneric = alwaysUseGeneric; + } + private: // common part of all ctors void Init() { m_impl = NULL; } + // flag indicating whether we should always use generic implementation + static bool ms_alwaysUseGeneric; + // the real implementation of this class (selected during run-time because // the balloon task bar icons are not available in all Windows versions) class wxNotifMsgImpl *m_impl;