From: John L. <jr...@us...> - 2005-08-23 21:27:27
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26620/src Modified Files: interp.cpp Log Message: return NULL not false for wxFindWindowByPointer Index: interp.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/interp.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** interp.cpp 17 Jul 2005 05:12:49 -0000 1.4 --- interp.cpp 23 Aug 2005 21:27:18 -0000 1.5 *************** *** 118,122 **** // ---------------------------------------------------------------------------- // wxFindWindowByPointer - find a window by it's pointer ! // return FALSE if doesn't exist, see wxFindWindowByID and wxFindWindowByLabel // ---------------------------------------------------------------------------- static wxWindow *wxFindWindowPointerRecursively(const wxWindow *parent, const wxWindow *win) --- 118,122 ---- // ---------------------------------------------------------------------------- // wxFindWindowByPointer - find a window by it's pointer ! // return NULL if doesn't exist, see wxFindWindowByID and wxFindWindowByLabel // ---------------------------------------------------------------------------- static wxWindow *wxFindWindowPointerRecursively(const wxWindow *parent, const wxWindow *win) *************** *** 170,174 **** } ! return FALSE; } --- 170,174 ---- } ! return NULL; } |