|
From: andrew7 <bd...@us...> - 2006-12-10 19:35:13
|
Update of /cvsroot/smartwin/SmartWin/include/smartwin/widgets In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8357/include/smartwin/widgets Modified Files: WidgetTextBox.h Log Message: Keep Dev-CPP happy on NULL vs 0 for non pointer Index: WidgetTextBox.h =================================================================== RCS file: /cvsroot/smartwin/SmartWin/include/smartwin/widgets/WidgetTextBox.h,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- WidgetTextBox.h 8 Dec 2006 22:15:56 -0000 1.37 +++ WidgetTextBox.h 10 Dec 2006 19:35:08 -0000 1.38 @@ -493,7 +493,7 @@ template< class EventHandlerClass, class WidgetMessageMapType, class TextBoxType > DWORD WidgetTextBox< EventHandlerClass, WidgetMessageMapType, TextBoxType>::getTextLimit() const { - return static_cast< DWORD >( ::SendMessage( this->Widget::itsHandle, EM_GETLIMITTEXT , NULL, NULL ) ); + return static_cast< DWORD >( ::SendMessage( this->Widget::itsHandle, EM_GETLIMITTEXT , 0, 0 ) ); } |