X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c058cafa56179e79df02ad370bdeafd725ff2478..c220de0b393b5098c705c1a62ef7fc4698e2fa52:/include/wx/taskbar.h diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index 96eef52049..a7f523cced 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -29,6 +29,12 @@ class WXDLLIMPEXP_ADV wxTaskBarIconBase : public wxEvtHandler public: wxTaskBarIconBase() { } +#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) + static bool IsAvailable(); +#else + static bool IsAvailable() { return true; }; +#endif + // Operations: virtual bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString) = 0; @@ -62,7 +68,7 @@ private: #elif defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) #include "wx/unix/taskbarx11.h" #elif defined (__WXMAC__) - #include "wx/mac/taskbarosx.h" + #include "wx/osx/taskbarosx.h" #elif defined (__WXCOCOA__) #include "wx/cocoa/taskbar.h" #endif