git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37155
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
+// Name: src/msw/ole/automtn.cpp
// Purpose: OLE automation utilities
// Author: Julian Smart
// Modified by:
// Purpose: OLE automation utilities
// Author: Julian Smart
// Modified by:
oleVariant.vt = VT_DATE;
long dosDateTime = date.GetAsDOS();
oleVariant.vt = VT_DATE;
long dosDateTime = date.GetAsDOS();
- short dosDate = (dosDateTime & 0xFFFF0000) >> 16;
- short dosTime = dosDateTime & 0xFFFF;
+ short dosDate = short((dosDateTime & 0xFFFF0000) >> 16);
+ short dosTime = short(dosDateTime & 0xFFFF);
DosDateTimeToVariantTime(dosDate, dosTime, & oleVariant.date);
}
DosDateTimeToVariantTime(dosDate, dosTime, & oleVariant.date);
}
#endif
#endif // wxUSE_OLE && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
#endif
#endif // wxUSE_OLE && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
bool wxCheckWindowWndProc(WXHWND hWnd,
bool wxCheckWindowWndProc(WXHWND hWnd,
- WXFARPROC WXUNUSED_IN_WINCE(wndProc))
+ WXFARPROC WXUNUSED(wndProc))
{
// TODO: This list of window class names should be factored out so they can be
// managed in one place and then accessed from here and other places, such as
{
// TODO: This list of window class names should be factored out so they can be
// managed in one place and then accessed from here and other places, such as