Windows, msys2 build: fix cast not accepted by GCC

This commit is contained in:
jean-pierre charras 2025-07-09 12:45:45 +02:00
parent 49db4df92d
commit d0288dbcbf

View File

@ -432,7 +432,7 @@ void KIPLATFORM::ENV::SetAppDetailsForWindow( wxWindow* aWindow, const wxString&
PROPVARIANT pv;
// This is required for any the other properties to actually work
hr = ::InitPropVariantFromString( GetAppUserModelId(), &pv );
hr = ::InitPropVariantFromString( GetAppUserModelId().wc_str(), &pv );
if( SUCCEEDED( hr ) )
{