wxDEFAULT_FRAME_STYLE | wxFRAME_NO_TASKBAR |
wxSIMPLE_BORDER | wxFRAME_SHAPED) {}
- bool IsProtocolSupported() const { return false; }
+ static bool IsProtocolSupported() { return false; }
};
#endif
m_icon->ProcessEvent(event);
}
+// ----------------------------------------------------------------------------
+// wxTaskBarIconBase class:
+// ----------------------------------------------------------------------------
+
+bool wxTaskBarIconBase::IsAvailable()
+{
+ return wxTaskBarIconArea::IsProtocolSupported();
+}
+
// ----------------------------------------------------------------------------
// wxTaskBarIcon class:
// ----------------------------------------------------------------------------
{
if (m_iconWnd)
{
- m_iconWnd->Disconnect(wxEVT_DESTROY, NULL, NULL, this);
+ m_iconWnd->Disconnect(
+ wxEVT_DESTROY, wxObjectEventFunction(NULL), NULL, this);
RemoveIcon();
}
}