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