occt: master 839b8d3c

Author Committer Branch Timestamp Parent
rkv bugmaster master 2015-10-06 13:43:47 master 5a9487c4
Affected Issues  0026669: Eliminate compile warnings obtained by building occt with vc14: 'type cast': conversion from 'BOOL' to 'WNDPROC' of greater size
Changeset 0026669: Eliminate compile warnings obtained by building occt with vc14: 'type cast': conversion from 'BOOL' to 'WNDPROC' of greater size

Signature of the command window callback has been fixed to avoid unnecessary type casting. It is used when Draw_IsConsoleSubsystem = Standard_False
 i.e. in non-console mode (see _main_() in Draw_Main.cxx).
mod - src/Draw/init.cxx Diff File
mod - src/Draw/MainWindow.cxx Diff File
mod - src/Draw/MAINWINDOW.h Diff File