From: <bal...@us...> - 2003-11-03 22:48:27
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1:/tmp/cvs-serv25040/gemrb/plugins/Core Modified Files: Interface.h Interface.cpp Log Message: Bug Fixed: Cannot access Labels using GetControl function Index: Interface.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Interface.h 1 Nov 2003 22:55:11 -0000 1.21 --- Interface.h 3 Nov 2003 22:48:24 -0000 1.22 *************** *** 118,122 **** } /** Get a Control on a Window */ ! int GetControl(unsigned short WindowIndex, unsigned short ControlID); /** Set the Text of a Control */ int SetText(unsigned short WindowIndex, unsigned short ControlIndex, const char * string); --- 118,122 ---- } /** Get a Control on a Window */ ! int GetControl(unsigned short WindowIndex, unsigned long ControlID); /** Set the Text of a Control */ int SetText(unsigned short WindowIndex, unsigned short ControlIndex, const char * string); Index: Interface.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.cpp,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Interface.cpp 1 Nov 2003 22:55:11 -0000 1.36 --- Interface.cpp 3 Nov 2003 22:48:24 -0000 1.37 *************** *** 599,603 **** /** Get a Control on a Window */ ! int Interface::GetControl(unsigned short WindowIndex, unsigned short ControlID) { if(WindowIndex >= windows.size()) --- 599,603 ---- /** Get a Control on a Window */ ! int Interface::GetControl(unsigned short WindowIndex, unsigned long ControlID) { if(WindowIndex >= windows.size()) |