Update of /cvsroot/fxruby/FXRuby/ext/fox/include
In directory usw-pr-cvs1:/tmp/cvs-serv9699
Modified Files:
FXRbTable.h
Log Message:
Replaced calls to FXRbNotifyDestroyed() with calls to FXRbUnregisterRubyObj().
Index: FXRbTable.h
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbTable.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FXRbTable.h 19 Mar 2002 20:04:42 -0000 1.7
--- FXRbTable.h 1 Apr 2002 23:16:21 -0000 1.8
***************
*** 175,179 ****
baseclass::removeRows(row,nr,notify); \
for(FXint i=0;i<items.no();i++){ \
! FXRbNotifyDestroyed(items[i]); \
} \
} \
--- 175,179 ----
baseclass::removeRows(row,nr,notify); \
for(FXint i=0;i<items.no();i++){ \
! FXRbUnregisterRubyObj(items[i]); \
} \
} \
***************
*** 190,194 ****
baseclass::removeColumns(col,nc,notify); \
for(FXint i=0;i<items.no();i++){ \
! FXRbNotifyDestroyed(items[i]); \
} \
} \
--- 190,194 ----
baseclass::removeColumns(col,nc,notify); \
for(FXint i=0;i<items.no();i++){ \
! FXRbUnregisterRubyObj(items[i]); \
} \
} \
***************
*** 199,203 ****
FXTableItem* item=getItem(row,col); \
baseclass::removeItem(row,col,notify); \
! FXRbNotifyDestroyed(item); \
} \
void cls::removeItem(FXint row,FXint col,FXbool notify){ \
--- 199,203 ----
FXTableItem* item=getItem(row,col); \
baseclass::removeItem(row,col,notify); \
! FXRbUnregisterRubyObj(item); \
} \
void cls::removeItem(FXint row,FXint col,FXbool notify){ \
|