fix (harmless) warnings in release mingw32 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -535,7 +535,12 @@ bool wxHeaderCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
if ( idx != wxNOT_FOUND )
|
||||
{
|
||||
idx = MSWFromNativeIdx(idx);
|
||||
evtType = GetClickEventType(code == NM_RDBLCLK, 1);
|
||||
|
||||
// due to a bug in mingw32 headers NM_RDBLCLK is signed
|
||||
// there so we need a cast to avoid warnings about signed/
|
||||
// unsigned comparison
|
||||
evtType = GetClickEventType(
|
||||
code == static_cast<UINT>(NM_RDBLCLK), 1);
|
||||
}
|
||||
//else: ignore clicks outside any column
|
||||
}
|
||||
|
Reference in New Issue
Block a user