mark changes. Mac OSX taskbar implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-09-25 13:36:07 +00:00
parent 0fdc1ca11e
commit 607667fde8
5 changed files with 234 additions and 9 deletions

View File

@@ -22,7 +22,8 @@ class WXDLLEXPORT wxMenu;
class WXDLLEXPORT wxTaskBarIcon : public wxTaskBarIconBase
{
public:
//type of taskbar item to create (currently only DOCK is implemented)
//type of taskbar item to create
//TODO: currently only DOCK is implemented
enum wxTaskBarIconType
{
DOCK,
@@ -33,16 +34,24 @@ public:
wxTaskBarIcon(const wxTaskBarIconType& nType = DOCK);
virtual ~wxTaskBarIcon();
// Operations:
//TODO: not tested extensively
bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
bool RemoveIcon();
//TODO: end not tested extensively
//pops up the menu
bool PopupMenu(wxMenu *menu);
//internal functions - don't call
void SetInternalEvent(void* pEvent);
wxMenu* GetCurrentMenu();
protected:
wxTaskBarIconType m_nType;
wxTaskBarIconType m_nType;
void* m_pEvent;
wxMenu* m_pMenu;
DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
};
#endif
// _TASKBAR_H_