X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d99be5f5381dad56492da02c2df1c3ec0750926..7309b92dd71901b8c96dea3e48e57a6c21d072a4:/src/msw/choice.cpp?ds=sidebyside diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 92cab89387..a40148b58b 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -186,7 +186,7 @@ void* wxChoice::DoGetClientData( int n ) const wxLogLastError(_T("CB_GETITEMDATA")); // unfortunately, there is no way to return an error code to the user - rc = NULL; + rc = (LPARAM) NULL; } return (void *)rc;