Add parent pointer of the classes: item -> category -> jump list.
The parent of wxTaskBarJumpListItem is wxTaskBarJumpListCategory, the parent of wxTaskBarJumpListCategory is wxTaskBarJumpList. After this change, users do not need to call the update method of jump list manually. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,7 +69,8 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxTaskBarJumpListImpl
|
||||
{
|
||||
public:
|
||||
wxTaskBarJumpListImpl(const wxString& appID = wxEmptyString);
|
||||
wxTaskBarJumpListImpl(wxTaskBarJumpList *jumpList = NULL,
|
||||
const wxString& appID = wxEmptyString);
|
||||
virtual ~wxTaskBarJumpListImpl();
|
||||
void ShowRecentCategory(bool shown = true);
|
||||
void HideRecentCategory();
|
||||
@@ -93,6 +94,8 @@ private:
|
||||
void AddCustomCategoriesToDestionationList();
|
||||
void LoadKnownCategory(const wxString& title);
|
||||
|
||||
wxTaskBarJumpList *m_jumpList;
|
||||
|
||||
ICustomDestinationList *m_destinationList;
|
||||
IObjectArray *m_objectArray;
|
||||
|
||||
|
Reference in New Issue
Block a user