add missing stdcall to fix crash when using state image lists after r58572

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-17 09:57:10 +00:00
parent a10c8e43d0
commit 2ec94d6b96

View File

@@ -2706,7 +2706,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
// delete it (in POSTPAINT notify)
if (m_imageListState && m_imageListState->GetImageCount() > 0)
{
typedef BOOL (*ImageList_Copy_t)
typedef BOOL (wxSTDCALL *ImageList_Copy_t)
(HIMAGELIST, int, HIMAGELIST, int, UINT);
static ImageList_Copy_t s_pfnImageList_Copy = NULL;
static bool loaded = false;