From 31350e35cfda14e88f82199c0c4ba4c9e6796cb8 Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Wed, 10 Sep 2014 14:55:56 +0000 Subject: [PATCH] Fix warning of reorder: m_appID. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/taskbarbutton.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/msw/taskbarbutton.cpp b/src/msw/taskbarbutton.cpp index 651678311e..b23db8d09f 100644 --- a/src/msw/taskbarbutton.cpp +++ b/src/msw/taskbarbutton.cpp @@ -39,6 +39,10 @@ WINOLEAPI PropVariantClear(PROPVARIANT* pvar); #define PropVariantInit(pvar) memset ( (pvar), 0, sizeof(PROPVARIANT) ) #endif +#ifndef INFOTIPSIZE +#define INFOTIPSIZE 1024 +#endif + namespace { // The maximum number of thumbnail toolbar buttons allowed on windows is 7. @@ -1201,9 +1205,9 @@ void wxTaskBarJumpList::Update() wxTaskBarJumpListImpl::wxTaskBarJumpListImpl(wxTaskBarJumpList *jumpList, const wxString& appID) : m_jumpList(jumpList), - m_appID(appID), m_destinationList(NULL) { + m_appID = appID; HRESULT hr = CoCreateInstance ( wxCLSID_DestinationList,