[Fxruby-commits] CVS: FXRuby/ext/fox core_wrap.cpp,1.62.2.13,1.62.2.14 dialogs_wrap.cpp,1.34.2.11,1.
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-05-17 22:30:54
|
Update of /cvsroot/fxruby/FXRuby/ext/fox In directory usw-pr-cvs1:/tmp/cvs-serv5793 Modified Files: Tag: release10 core_wrap.cpp dialogs_wrap.cpp icons_wrap.cpp image_wrap.cpp layout_wrap.cpp mdi_wrap.cpp opengl_wrap.cpp scintilla_wrap.cpp ui_wrap.cpp Log Message: Index: core_wrap.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/core_wrap.cpp,v retrieving revision 1.62.2.13 retrieving revision 1.62.2.14 diff -C2 -d -r1.62.2.13 -r1.62.2.14 *** core_wrap.cpp 14 May 2002 14:15:43 -0000 1.62.2.13 --- core_wrap.cpp 17 May 2002 22:30:23 -0000 1.62.2.14 *************** *** 1,5 **** /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020513-1710 * * This file is not intended to be easily readable and contains a number of --- 1,5 ---- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020517-1652 * [...1019 lines suppressed...] rb_define_singleton_method(cFX_Document.klass, "new", VALUEFUNC(_wrap_new_FX_Document), -1); --- 19624,19628 ---- cFXDebugTarget.destroy = (void (*)(void *)) free_FXRbDebugTarget; ! cFX_Document.klass = rb_define_class_under(mFox, "FX_Document", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDocument, (void *) &cFX_Document); rb_define_singleton_method(cFX_Document.klass, "new", VALUEFUNC(_wrap_new_FX_Document), -1); *************** *** 19693,19697 **** cFX_Document.destroy = (void (*)(void *)) free_FXDocument; ! cFXDocument.klass = rb_define_class_under(mFox, "FXDocument", cFX_Document.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDocument, (void *) &cFXDocument); rb_define_singleton_method(cFXDocument.klass, "new", VALUEFUNC(_wrap_new_FXDocument), -1); --- 19642,19646 ---- cFX_Document.destroy = (void (*)(void *)) free_FXDocument; ! cFXDocument.klass = rb_define_class_under(mFox, "FXDocument", ((swig_class *) SWIGTYPE_p_FXDocument->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDocument, (void *) &cFXDocument); rb_define_singleton_method(cFXDocument.klass, "new", VALUEFUNC(_wrap_new_FXDocument), -1); Index: dialogs_wrap.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/dialogs_wrap.cpp,v retrieving revision 1.34.2.11 retrieving revision 1.34.2.12 diff -C2 -d -r1.34.2.11 -r1.34.2.12 *** dialogs_wrap.cpp 14 May 2002 14:15:51 -0000 1.34.2.11 --- dialogs_wrap.cpp 17 May 2002 22:30:31 -0000 1.34.2.12 *************** *** 1,5 **** /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020513-1710 * * This file is not intended to be easily readable and contains a number of --- 1,5 ---- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020517-1652 * * This file is not intended to be easily readable and contains a number of *************** *** 340,345 **** - - #include "FXRbCommon.h" --- 340,343 ---- *************** *** 802,806 **** - extern swig_class cFX_TopWindow; static VALUE _wrap_new_FXDialogBox(int argc, VALUE *argv, VALUE self) { --- 800,803 ---- *************** *** 1468,1472 **** - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FX_DirDialog(int argc, VALUE *argv, VALUE self) { --- 1465,1468 ---- *************** *** 1600,1604 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXDirDialog(int argc, VALUE *argv, VALUE self) { --- 1596,1599 ---- *************** *** 2164,2168 **** - extern swig_class cFX_DirDialog; static VALUE _wrap_new_FX_FileDialog(int argc, VALUE *argv, VALUE self) { --- 2159,2162 ---- *************** *** 2838,2842 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXFileDialog(int argc, VALUE *argv, VALUE self) { --- 2832,2835 ---- *************** *** 3402,3406 **** - extern swig_class cFX_FileDialog; static VALUE _wrap_FX_ColorDialog_onChgColor(int argc, VALUE *argv, VALUE self) { --- 3395,3398 ---- *************** *** 3604,3608 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXColorDialog(int argc, VALUE *argv, VALUE self) { --- 3596,3599 ---- *************** *** 4168,4172 **** - extern swig_class cFX_ColorDialog; static VALUE _wrap_new_FX_FontDialog(int argc, VALUE *argv, VALUE self) { --- 4159,4162 ---- *************** *** 4263,4267 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXFontDialog(int argc, VALUE *argv, VALUE self) { --- 4253,4256 ---- *************** *** 4827,4831 **** - extern swig_class cFX_FontDialog; static VALUE _wrap_FX_ReplaceDialog_onCmdAll(int argc, VALUE *argv, VALUE self) { --- 4816,4819 ---- *************** *** 5261,5265 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXReplaceDialog(int argc, VALUE *argv, VALUE self) { --- 5249,5252 ---- *************** *** 5829,5833 **** - extern swig_class cFX_ReplaceDialog; static VALUE _wrap_new_FX_SearchDialog(int argc, VALUE *argv, VALUE self) { --- 5816,5819 ---- *************** *** 5894,5898 **** delete arg1; } - extern swig_class cFX_ReplaceDialog; static VALUE _wrap_new_FXSearchDialog(int argc, VALUE *argv, VALUE self) { --- 5880,5883 ---- *************** *** 6462,6466 **** - extern swig_class cFX_SearchDialog; static VALUE _wrap_FX_InputDialog_onCmdAccept(int argc, VALUE *argv, VALUE self) { --- 6447,6450 ---- *************** *** 6838,6842 **** - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXInputDialog(int argc, VALUE *argv, VALUE self) { --- 6822,6825 ---- *************** *** 7418,7422 **** - extern swig_class cFX_InputDialog; static VALUE _wrap_FX_PrintDialog_onCmdToPrinter(int argc, VALUE *argv, VALUE self) { --- 7401,7404 ---- *************** *** 8283,8287 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXPrintDialog(int argc, VALUE *argv, VALUE self) { --- 8265,8268 ---- *************** *** 8847,8851 **** - extern swig_class cFX_PrintDialog; static VALUE _wrap_FX_ProgressDialog_onCmdSetValue(int argc, VALUE *argv, VALUE self) { --- 8828,8831 ---- *************** *** 9193,9197 **** delete arg1; } - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXProgressDialog(int argc, VALUE *argv, VALUE self) { --- 9173,9176 ---- *************** *** 9776,9780 **** - extern swig_class cFX_ProgressDialog; static VALUE _wrap_FX_MessageBox_onCmdClicked(int argc, VALUE *argv, VALUE self) { --- 9755,9758 ---- *************** *** 10032,10036 **** - extern swig_class cFX_DialogBox; static VALUE _wrap_new_FXMessageBox(int argc, VALUE *argv, VALUE self) { --- 10010,10013 ---- *************** *** 10663,10667 **** - extern swig_class cFX_MessageBox; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ --- 10640,10643 ---- *************** *** 13446,13450 **** ! cFX_DialogBox.klass = rb_define_class_under(mFox, "FX_DialogBox", cFX_TopWindow.klass); SWIG_TypeClientData(SWIGTYPE_p_FXDialogBox, (void *) &cFX_DialogBox); rb_define_singleton_method(cFX_DialogBox.klass, "new", VALUEFUNC(_wrap_new_FX_DialogBox), -1); --- 13422,13426 ---- ! cFX_DialogBox.klass = rb_define_class_under(mFox, "FX_DialogBox", ((swig_class *) SWIGTYPE_p_FXTopWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDialogBox, (void *) &cFX_DialogBox); rb_define_singleton_method(cFX_DialogBox.klass, "new", VALUEFUNC(_wrap_new_FX_DialogBox), -1); *************** *** 13461,13465 **** cFX_DialogBox.mark = (void (*)(void *)) FXRbDialogBox::markfunc; ! cFXDialogBox.klass = rb_define_class_under(mFox, "FXDialogBox", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDialogBox, (void *) &cFXDialogBox); rb_define_singleton_method(cFXDialogBox.klass, "new", VALUEFUNC(_wrap_new_FXDialogBox), -1); --- 13437,13441 ---- cFX_DialogBox.mark = (void (*)(void *)) FXRbDialogBox::markfunc; ! cFXDialogBox.klass = rb_define_class_under(mFox, "FXDialogBox", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDialogBox, (void *) &cFXDialogBox); rb_define_singleton_method(cFXDialogBox.klass, "new", VALUEFUNC(_wrap_new_FXDialogBox), -1); *************** *** 13501,13505 **** cFXDialogBox.destroy = (void (*)(void *)) free_FXRbDialogBox; ! cFX_DirDialog.klass = rb_define_class_under(mFox, "FX_DirDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXDirDialog, (void *) &cFX_DirDialog); rb_define_singleton_method(cFX_DirDialog.klass, "new", VALUEFUNC(_wrap_new_FX_DirDialog), -1); --- 13477,13481 ---- cFXDialogBox.destroy = (void (*)(void *)) free_FXRbDialogBox; ! cFX_DirDialog.klass = rb_define_class_under(mFox, "FX_DirDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDirDialog, (void *) &cFX_DirDialog); rb_define_singleton_method(cFX_DirDialog.klass, "new", VALUEFUNC(_wrap_new_FX_DirDialog), -1); *************** *** 13512,13516 **** cFX_DirDialog.destroy = (void (*)(void *)) free_FXDirDialog; ! cFXDirDialog.klass = rb_define_class_under(mFox, "FXDirDialog", cFX_DirDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDirDialog, (void *) &cFXDirDialog); rb_define_singleton_method(cFXDirDialog.klass, "new", VALUEFUNC(_wrap_new_FXDirDialog), -1); --- 13488,13492 ---- cFX_DirDialog.destroy = (void (*)(void *)) free_FXDirDialog; ! cFXDirDialog.klass = rb_define_class_under(mFox, "FXDirDialog", ((swig_class *) SWIGTYPE_p_FXDirDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbDirDialog, (void *) &cFXDirDialog); rb_define_singleton_method(cFXDirDialog.klass, "new", VALUEFUNC(_wrap_new_FXDirDialog), -1); *************** *** 13552,13556 **** cFXDirDialog.destroy = (void (*)(void *)) free_FXRbDirDialog; ! cFX_FileDialog.klass = rb_define_class_under(mFox, "FX_FileDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXFileDialog, (void *) &cFX_FileDialog); rb_define_singleton_method(cFX_FileDialog.klass, "new", VALUEFUNC(_wrap_new_FX_FileDialog), -1); --- 13528,13532 ---- cFXDirDialog.destroy = (void (*)(void *)) free_FXRbDirDialog; ! cFX_FileDialog.klass = rb_define_class_under(mFox, "FX_FileDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFileDialog, (void *) &cFX_FileDialog); rb_define_singleton_method(cFX_FileDialog.klass, "new", VALUEFUNC(_wrap_new_FX_FileDialog), -1); *************** *** 13586,13590 **** cFX_FileDialog.destroy = (void (*)(void *)) free_FXFileDialog; ! cFXFileDialog.klass = rb_define_class_under(mFox, "FXFileDialog", cFX_FileDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbFileDialog, (void *) &cFXFileDialog); rb_define_singleton_method(cFXFileDialog.klass, "new", VALUEFUNC(_wrap_new_FXFileDialog), -1); --- 13562,13566 ---- cFX_FileDialog.destroy = (void (*)(void *)) free_FXFileDialog; ! cFXFileDialog.klass = rb_define_class_under(mFox, "FXFileDialog", ((swig_class *) SWIGTYPE_p_FXFileDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbFileDialog, (void *) &cFXFileDialog); rb_define_singleton_method(cFXFileDialog.klass, "new", VALUEFUNC(_wrap_new_FXFileDialog), -1); *************** *** 13626,13630 **** cFXFileDialog.destroy = (void (*)(void *)) free_FXRbFileDialog; ! cFX_ColorDialog.klass = rb_define_class_under(mFox, "FX_ColorDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXColorDialog, (void *) &cFX_ColorDialog); rb_define_singleton_method(cFX_ColorDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ColorDialog), -1); --- 13602,13606 ---- cFXFileDialog.destroy = (void (*)(void *)) free_FXRbFileDialog; ! cFX_ColorDialog.klass = rb_define_class_under(mFox, "FX_ColorDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXColorDialog, (void *) &cFX_ColorDialog); rb_define_singleton_method(cFX_ColorDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ColorDialog), -1); *************** *** 13643,13647 **** cFX_ColorDialog.destroy = (void (*)(void *)) free_FXColorDialog; ! cFXColorDialog.klass = rb_define_class_under(mFox, "FXColorDialog", cFX_ColorDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbColorDialog, (void *) &cFXColorDialog); rb_define_singleton_method(cFXColorDialog.klass, "new", VALUEFUNC(_wrap_new_FXColorDialog), -1); --- 13619,13623 ---- cFX_ColorDialog.destroy = (void (*)(void *)) free_FXColorDialog; ! cFXColorDialog.klass = rb_define_class_under(mFox, "FXColorDialog", ((swig_class *) SWIGTYPE_p_FXColorDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbColorDialog, (void *) &cFXColorDialog); rb_define_singleton_method(cFXColorDialog.klass, "new", VALUEFUNC(_wrap_new_FXColorDialog), -1); *************** *** 13683,13687 **** cFXColorDialog.destroy = (void (*)(void *)) free_FXRbColorDialog; ! cFX_FontDialog.klass = rb_define_class_under(mFox, "FX_FontDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXFontDialog, (void *) &cFX_FontDialog); rb_define_singleton_method(cFX_FontDialog.klass, "new", VALUEFUNC(_wrap_new_FX_FontDialog), -1); --- 13659,13663 ---- cFXColorDialog.destroy = (void (*)(void *)) free_FXRbColorDialog; ! cFX_FontDialog.klass = rb_define_class_under(mFox, "FX_FontDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFontDialog, (void *) &cFX_FontDialog); rb_define_singleton_method(cFX_FontDialog.klass, "new", VALUEFUNC(_wrap_new_FX_FontDialog), -1); *************** *** 13692,13696 **** cFX_FontDialog.destroy = (void (*)(void *)) free_FXFontDialog; ! cFXFontDialog.klass = rb_define_class_under(mFox, "FXFontDialog", cFX_FontDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbFontDialog, (void *) &cFXFontDialog); rb_define_singleton_method(cFXFontDialog.klass, "new", VALUEFUNC(_wrap_new_FXFontDialog), -1); --- 13668,13672 ---- cFX_FontDialog.destroy = (void (*)(void *)) free_FXFontDialog; ! cFXFontDialog.klass = rb_define_class_under(mFox, "FXFontDialog", ((swig_class *) SWIGTYPE_p_FXFontDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbFontDialog, (void *) &cFXFontDialog); rb_define_singleton_method(cFXFontDialog.klass, "new", VALUEFUNC(_wrap_new_FXFontDialog), -1); *************** *** 13732,13736 **** cFXFontDialog.destroy = (void (*)(void *)) free_FXRbFontDialog; ! cFX_ReplaceDialog.klass = rb_define_class_under(mFox, "FX_ReplaceDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXReplaceDialog, (void *) &cFX_ReplaceDialog); rb_define_singleton_method(cFX_ReplaceDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ReplaceDialog), -1); --- 13708,13712 ---- cFXFontDialog.destroy = (void (*)(void *)) free_FXRbFontDialog; ! cFX_ReplaceDialog.klass = rb_define_class_under(mFox, "FX_ReplaceDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXReplaceDialog, (void *) &cFX_ReplaceDialog); rb_define_singleton_method(cFX_ReplaceDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ReplaceDialog), -1); *************** *** 13774,13778 **** cFX_ReplaceDialog.destroy = (void (*)(void *)) free_FXReplaceDialog; ! cFXReplaceDialog.klass = rb_define_class_under(mFox, "FXReplaceDialog", cFX_ReplaceDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbReplaceDialog, (void *) &cFXReplaceDialog); rb_define_singleton_method(cFXReplaceDialog.klass, "new", VALUEFUNC(_wrap_new_FXReplaceDialog), -1); --- 13750,13754 ---- cFX_ReplaceDialog.destroy = (void (*)(void *)) free_FXReplaceDialog; ! cFXReplaceDialog.klass = rb_define_class_under(mFox, "FXReplaceDialog", ((swig_class *) SWIGTYPE_p_FXReplaceDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbReplaceDialog, (void *) &cFXReplaceDialog); rb_define_singleton_method(cFXReplaceDialog.klass, "new", VALUEFUNC(_wrap_new_FXReplaceDialog), -1); *************** *** 13814,13818 **** cFXReplaceDialog.destroy = (void (*)(void *)) free_FXRbReplaceDialog; ! cFX_SearchDialog.klass = rb_define_class_under(mFox, "FX_SearchDialog", cFX_ReplaceDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXSearchDialog, (void *) &cFX_SearchDialog); rb_define_singleton_method(cFX_SearchDialog.klass, "new", VALUEFUNC(_wrap_new_FX_SearchDialog), -1); --- 13790,13794 ---- cFXReplaceDialog.destroy = (void (*)(void *)) free_FXRbReplaceDialog; ! cFX_SearchDialog.klass = rb_define_class_under(mFox, "FX_SearchDialog", ((swig_class *) SWIGTYPE_p_FXReplaceDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXSearchDialog, (void *) &cFX_SearchDialog); rb_define_singleton_method(cFX_SearchDialog.klass, "new", VALUEFUNC(_wrap_new_FX_SearchDialog), -1); *************** *** 13821,13825 **** cFX_SearchDialog.destroy = (void (*)(void *)) free_FXSearchDialog; ! cFXSearchDialog.klass = rb_define_class_under(mFox, "FXSearchDialog", cFX_SearchDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbSearchDialog, (void *) &cFXSearchDialog); rb_define_singleton_method(cFXSearchDialog.klass, "new", VALUEFUNC(_wrap_new_FXSearchDialog), -1); --- 13797,13801 ---- cFX_SearchDialog.destroy = (void (*)(void *)) free_FXSearchDialog; ! cFXSearchDialog.klass = rb_define_class_under(mFox, "FXSearchDialog", ((swig_class *) SWIGTYPE_p_FXSearchDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbSearchDialog, (void *) &cFXSearchDialog); rb_define_singleton_method(cFXSearchDialog.klass, "new", VALUEFUNC(_wrap_new_FXSearchDialog), -1); *************** *** 13865,13869 **** rb_define_const(mFox,"INPUTDIALOG_PASSWORD", INT2NUM(INPUTDIALOG_PASSWORD)); ! cFX_InputDialog.klass = rb_define_class_under(mFox, "FX_InputDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXInputDialog, (void *) &cFX_InputDialog); rb_define_singleton_method(cFX_InputDialog.klass, "new", VALUEFUNC(_wrap_new_FX_InputDialog), -1); --- 13841,13845 ---- rb_define_const(mFox,"INPUTDIALOG_PASSWORD", INT2NUM(INPUTDIALOG_PASSWORD)); ! cFX_InputDialog.klass = rb_define_class_under(mFox, "FX_InputDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXInputDialog, (void *) &cFX_InputDialog); rb_define_singleton_method(cFX_InputDialog.klass, "new", VALUEFUNC(_wrap_new_FX_InputDialog), -1); *************** *** 13882,13886 **** cFX_InputDialog.mark = (void (*)(void *)) FXRbInputDialog::markfunc; ! cFXInputDialog.klass = rb_define_class_under(mFox, "FXInputDialog", cFX_InputDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbInputDialog, (void *) &cFXInputDialog); rb_define_singleton_method(cFXInputDialog.klass, "new", VALUEFUNC(_wrap_new_FXInputDialog), -1); --- 13858,13862 ---- cFX_InputDialog.mark = (void (*)(void *)) FXRbInputDialog::markfunc; ! cFXInputDialog.klass = rb_define_class_under(mFox, "FXInputDialog", ((swig_class *) SWIGTYPE_p_FXInputDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbInputDialog, (void *) &cFXInputDialog); rb_define_singleton_method(cFXInputDialog.klass, "new", VALUEFUNC(_wrap_new_FXInputDialog), -1); *************** *** 13922,13926 **** cFXInputDialog.destroy = (void (*)(void *)) free_FXRbInputDialog; ! cFX_PrintDialog.klass = rb_define_class_under(mFox, "FX_PrintDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXPrintDialog, (void *) &cFX_PrintDialog); rb_define_singleton_method(cFX_PrintDialog.klass, "new", VALUEFUNC(_wrap_new_FX_PrintDialog), -1); --- 13898,13902 ---- cFXInputDialog.destroy = (void (*)(void *)) free_FXRbInputDialog; ! cFX_PrintDialog.klass = rb_define_class_under(mFox, "FX_PrintDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXPrintDialog, (void *) &cFX_PrintDialog); rb_define_singleton_method(cFX_PrintDialog.klass, "new", VALUEFUNC(_wrap_new_FX_PrintDialog), -1); *************** *** 13986,13990 **** cFX_PrintDialog.destroy = (void (*)(void *)) free_FXPrintDialog; ! cFXPrintDialog.klass = rb_define_class_under(mFox, "FXPrintDialog", cFX_PrintDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPrintDialog, (void *) &cFXPrintDialog); rb_define_singleton_method(cFXPrintDialog.klass, "new", VALUEFUNC(_wrap_new_FXPrintDialog), -1); --- 13962,13966 ---- cFX_PrintDialog.destroy = (void (*)(void *)) free_FXPrintDialog; ! cFXPrintDialog.klass = rb_define_class_under(mFox, "FXPrintDialog", ((swig_class *) SWIGTYPE_p_FXPrintDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPrintDialog, (void *) &cFXPrintDialog); rb_define_singleton_method(cFXPrintDialog.klass, "new", VALUEFUNC(_wrap_new_FXPrintDialog), -1); *************** *** 14029,14033 **** rb_define_const(mFox,"PROGRESSDIALOG_NORMAL", INT2NUM(PROGRESSDIALOG_NORMAL)); ! cFX_ProgressDialog.klass = rb_define_class_under(mFox, "FX_ProgressDialog", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXProgressDialog, (void *) &cFX_ProgressDialog); rb_define_singleton_method(cFX_ProgressDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ProgressDialog), -1); --- 14005,14009 ---- rb_define_const(mFox,"PROGRESSDIALOG_NORMAL", INT2NUM(PROGRESSDIALOG_NORMAL)); ! cFX_ProgressDialog.klass = rb_define_class_under(mFox, "FX_ProgressDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXProgressDialog, (void *) &cFX_ProgressDialog); rb_define_singleton_method(cFX_ProgressDialog.klass, "new", VALUEFUNC(_wrap_new_FX_ProgressDialog), -1); *************** *** 14050,14054 **** cFX_ProgressDialog.destroy = (void (*)(void *)) free_FXProgressDialog; ! cFXProgressDialog.klass = rb_define_class_under(mFox, "FXProgressDialog", cFX_ProgressDialog.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbProgressDialog, (void *) &cFXProgressDialog); rb_define_singleton_method(cFXProgressDialog.klass, "new", VALUEFUNC(_wrap_new_FXProgressDialog), -1); --- 14026,14030 ---- cFX_ProgressDialog.destroy = (void (*)(void *)) free_FXProgressDialog; ! cFXProgressDialog.klass = rb_define_class_under(mFox, "FXProgressDialog", ((swig_class *) SWIGTYPE_p_FXProgressDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbProgressDialog, (void *) &cFXProgressDialog); rb_define_singleton_method(cFXProgressDialog.klass, "new", VALUEFUNC(_wrap_new_FXProgressDialog), -1); *************** *** 14102,14106 **** rb_define_const(mFox,"MBOX_CLICKED_SAVE", INT2NUM(MBOX_CLICKED_SAVE)); ! cFX_MessageBox.klass = rb_define_class_under(mFox, "FX_MessageBox", cFX_DialogBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXMessageBox, (void *) &cFX_MessageBox); rb_define_singleton_method(cFX_MessageBox.klass, "new", VALUEFUNC(_wrap_new_FX_MessageBox), -1); --- 14078,14082 ---- rb_define_const(mFox,"MBOX_CLICKED_SAVE", INT2NUM(MBOX_CLICKED_SAVE)); ! cFX_MessageBox.klass = rb_define_class_under(mFox, "FX_MessageBox", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMessageBox, (void *) &cFX_MessageBox); rb_define_singleton_method(cFX_MessageBox.klass, "new", VALUEFUNC(_wrap_new_FX_MessageBox), -1); *************** *** 14121,14125 **** cFX_MessageBox.mark = (void (*)(void *)) FXRbMessageBox::markfunc; ! cFXMessageBox.klass = rb_define_class_under(mFox, "FXMessageBox", cFX_MessageBox.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbMessageBox, (void *) &cFXMessageBox); rb_define_singleton_method(cFXMessageBox.klass, "new", VALUEFUNC(_wrap_new_FXMessageBox), -1); --- 14097,14101 ---- cFX_MessageBox.mark = (void (*)(void *)) FXRbMessageBox::markfunc; ! cFXMessageBox.klass = rb_define_class_under(mFox, "FXMessageBox", ((swig_class *) SWIGTYPE_p_FXMessageBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbMessageBox, (void *) &cFXMessageBox); rb_define_singleton_method(cFXMessageBox.klass, "new", VALUEFUNC(_wrap_new_FXMessageBox), -1); Index: icons_wrap.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/icons_wrap.cpp,v retrieving revision 1.37.2.12 retrieving revision 1.37.2.13 diff -C2 -d -r1.37.2.12 -r1.37.2.13 *** icons_wrap.cpp 14 May 2002 14:15:52 -0000 1.37.2.12 --- icons_wrap.cpp 17 May 2002 22:30:31 -0000 1.37.2.13 *************** *** 1,5 **** /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020513-1710 * * This file is not intended to be easily readable and contains a number of --- 1,5 ---- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020517-1652 * * This file is not intended to be easily readable and contains a number of *************** *** 334,339 **** - - #include "FXRbCommon.h" --- 334,337 ---- *************** *** 668,672 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXIcon(int argc, VALUE *argv, VALUE self) { --- 666,669 ---- *************** *** 972,976 **** - extern swig_class cFX_Icon; static VALUE _wrap_new_FX_BMPIcon(int argc, VALUE *argv, VALUE self) { --- 969,972 ---- *************** *** 1027,1031 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXBMPIcon(int argc, VALUE *argv, VALUE self) { --- 1023,1026 ---- *************** *** 1326,1330 **** - extern swig_class cFX_BMPIcon; static VALUE _wrap_fxloadBMP(int argc, VALUE *argv, VALUE self) { --- 1321,1324 ---- *************** *** 1428,1432 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXGIFIcon(int argc, VALUE *argv, VALUE self) { --- 1422,1425 ---- *************** *** 1727,1731 **** - extern swig_class cFX_GIFIcon; static VALUE _wrap_new_FX_ICOIcon(int argc, VALUE *argv, VALUE self) { --- 1720,1723 ---- *************** *** 1782,1786 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXICOIcon(int argc, VALUE *argv, VALUE self) { --- 1774,1777 ---- *************** *** 2081,2085 **** - extern swig_class cFX_ICOIcon; static VALUE _wrap_fxloadICO(int argc, VALUE *argv, VALUE self) { --- 2072,2075 ---- *************** *** 2214,2218 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXJPGIcon(int argc, VALUE *argv, VALUE self) { --- 2204,2207 ---- *************** *** 2513,2517 **** - extern swig_class cFX_JPGIcon; static VALUE _wrap_new_FX_PCXIcon(int argc, VALUE *argv, VALUE self) { --- 2502,2505 ---- *************** *** 2568,2572 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXPCXIcon(int argc, VALUE *argv, VALUE self) { --- 2556,2559 ---- *************** *** 2867,2871 **** - extern swig_class cFX_PCXIcon; static VALUE _wrap_fxloadPCX(int argc, VALUE *argv, VALUE self) { --- 2854,2857 ---- *************** *** 2999,3003 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXPNGIcon(int argc, VALUE *argv, VALUE self) { --- 2985,2988 ---- *************** *** 3298,3302 **** - extern swig_class cFX_PNGIcon; static VALUE _wrap_fxloadPNG(int argc, VALUE *argv, VALUE self) { --- 3283,3286 ---- *************** *** 3400,3404 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXRGBIcon(int argc, VALUE *argv, VALUE self) { --- 3384,3387 ---- *************** *** 3699,3703 **** - extern swig_class cFX_RGBIcon; static VALUE _wrap_new_FXTGAIcon(int argc, VALUE *argv, VALUE self) { --- 3682,3685 ---- *************** *** 3754,3758 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXRbTGAIcon(int argc, VALUE *argv, VALUE self) { --- 3736,3739 ---- *************** *** 4053,4057 **** - extern swig_class cFXTGAIcon; static VALUE _wrap_new_FX_TIFIcon(int argc, VALUE *argv, VALUE self) { --- 4034,4037 ---- *************** *** 4139,4143 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXTIFIcon(int argc, VALUE *argv, VALUE self) { --- 4119,4122 ---- *************** *** 4438,4442 **** - extern swig_class cFX_TIFIcon; static VALUE _wrap_new_FX_XPMIcon(int argc, VALUE *argv, VALUE self) { --- 4417,4420 ---- *************** *** 4497,4501 **** delete arg1; } - extern swig_class cFX_Icon; static VALUE _wrap_new_FXXPMIcon(int argc, VALUE *argv, VALUE self) { --- 4475,4478 ---- *************** *** 4800,4804 **** - extern swig_class cFX_XPMIcon; static VALUE _wrap_fxloadXPM(int argc, VALUE *argv, VALUE self) { --- 4777,4780 ---- *************** *** 7027,7031 **** ! cFX_Icon.klass = rb_define_class_under(mFox, "FX_Icon", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXIcon, (void *) &cFX_Icon); rb_define_singleton_method(cFX_Icon.klass, "new", VALUEFUNC(_wrap_new_FX_Icon), -1); --- 7003,7007 ---- ! cFX_Icon.klass = rb_define_class_under(mFox, "FX_Icon", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXIcon, (void *) &cFX_Icon); rb_define_singleton_method(cFX_Icon.klass, "new", VALUEFUNC(_wrap_new_FX_Icon), -1); *************** *** 7041,7045 **** cFX_Icon.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXIcon.klass = rb_define_class_under(mFox, "FXIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbIcon, (void *) &cFXIcon); rb_define_singleton_method(cFXIcon.klass, "new", VALUEFUNC(_wrap_new_FXIcon), -1); --- 7017,7021 ---- cFX_Icon.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXIcon.klass = rb_define_class_under(mFox, "FXIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbIcon, (void *) &cFXIcon); rb_define_singleton_method(cFXIcon.klass, "new", VALUEFUNC(_wrap_new_FXIcon), -1); *************** *** 7063,7067 **** cFXIcon.destroy = (void (*)(void *)) free_FXRbIcon; ! cFX_BMPIcon.klass = rb_define_class_under(mFox, "FX_BMPIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXBMPIcon, (void *) &cFX_BMPIcon); rb_define_singleton_method(cFX_BMPIcon.klass, "new", VALUEFUNC(_wrap_new_FX_BMPIcon), -1); --- 7039,7043 ---- cFXIcon.destroy = (void (*)(void *)) free_FXRbIcon; ! cFX_BMPIcon.klass = rb_define_class_under(mFox, "FX_BMPIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXBMPIcon, (void *) &cFX_BMPIcon); rb_define_singleton_method(cFX_BMPIcon.klass, "new", VALUEFUNC(_wrap_new_FX_BMPIcon), -1); *************** *** 7070,7074 **** cFX_BMPIcon.destroy = (void (*)(void *)) free_FXBMPIcon; ! cFXBMPIcon.klass = rb_define_class_under(mFox, "FXBMPIcon", cFX_BMPIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBMPIcon, (void *) &cFXBMPIcon); rb_define_singleton_method(cFXBMPIcon.klass, "new", VALUEFUNC(_wrap_new_FXBMPIcon), -1); --- 7046,7050 ---- cFX_BMPIcon.destroy = (void (*)(void *)) free_FXBMPIcon; ! cFXBMPIcon.klass = rb_define_class_under(mFox, "FXBMPIcon", ((swig_class *) SWIGTYPE_p_FXBMPIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBMPIcon, (void *) &cFXBMPIcon); rb_define_singleton_method(cFXBMPIcon.klass, "new", VALUEFUNC(_wrap_new_FXBMPIcon), -1); *************** *** 7094,7098 **** rb_define_module_function(mFox, "fxsaveBMP", VALUEFUNC(_wrap_fxsaveBMP), -1); ! cFX_GIFIcon.klass = rb_define_class_under(mFox, "FX_GIFIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXGIFIcon, (void *) &cFX_GIFIcon); rb_define_singleton_method(cFX_GIFIcon.klass, "new", VALUEFUNC(_wrap_new_FX_GIFIcon), -1); --- 7070,7074 ---- rb_define_module_function(mFox, "fxsaveBMP", VALUEFUNC(_wrap_fxsaveBMP), -1); ! cFX_GIFIcon.klass = rb_define_class_under(mFox, "FX_GIFIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXGIFIcon, (void *) &cFX_GIFIcon); rb_define_singleton_method(cFX_GIFIcon.klass, "new", VALUEFUNC(_wrap_new_FX_GIFIcon), -1); *************** *** 7101,7105 **** cFX_GIFIcon.destroy = (void (*)(void *)) free_FXGIFIcon; ! cFXGIFIcon.klass = rb_define_class_under(mFox, "FXGIFIcon", cFX_GIFIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbGIFIcon, (void *) &cFXGIFIcon); rb_define_singleton_method(cFXGIFIcon.klass, "new", VALUEFUNC(_wrap_new_FXGIFIcon), -1); --- 7077,7081 ---- cFX_GIFIcon.destroy = (void (*)(void *)) free_FXGIFIcon; ! cFXGIFIcon.klass = rb_define_class_under(mFox, "FXGIFIcon", ((swig_class *) SWIGTYPE_p_FXGIFIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbGIFIcon, (void *) &cFXGIFIcon); rb_define_singleton_method(cFXGIFIcon.klass, "new", VALUEFUNC(_wrap_new_FXGIFIcon), -1); *************** *** 7123,7127 **** cFXGIFIcon.destroy = (void (*)(void *)) free_FXRbGIFIcon; ! cFX_ICOIcon.klass = rb_define_class_under(mFox, "FX_ICOIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXICOIcon, (void *) &cFX_ICOIcon); rb_define_singleton_method(cFX_ICOIcon.klass, "new", VALUEFUNC(_wrap_new_FX_ICOIcon), -1); --- 7099,7103 ---- cFXGIFIcon.destroy = (void (*)(void *)) free_FXRbGIFIcon; ! cFX_ICOIcon.klass = rb_define_class_under(mFox, "FX_ICOIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXICOIcon, (void *) &cFX_ICOIcon); rb_define_singleton_method(cFX_ICOIcon.klass, "new", VALUEFUNC(_wrap_new_FX_ICOIcon), -1); *************** *** 7130,7134 **** cFX_ICOIcon.destroy = (void (*)(void *)) free_FXICOIcon; ! cFXICOIcon.klass = rb_define_class_under(mFox, "FXICOIcon", cFX_ICOIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbICOIcon, (void *) &cFXICOIcon); rb_define_singleton_method(cFXICOIcon.klass, "new", VALUEFUNC(_wrap_new_FXICOIcon), -1); --- 7106,7110 ---- cFX_ICOIcon.destroy = (void (*)(void *)) free_FXICOIcon; ! cFXICOIcon.klass = rb_define_class_under(mFox, "FXICOIcon", ((swig_class *) SWIGTYPE_p_FXICOIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbICOIcon, (void *) &cFXICOIcon); rb_define_singleton_method(cFXICOIcon.klass, "new", VALUEFUNC(_wrap_new_FXICOIcon), -1); *************** *** 7154,7158 **** rb_define_module_function(mFox, "fxsaveICO", VALUEFUNC(_wrap_fxsaveICO), -1); ! cFX_JPGIcon.klass = rb_define_class_under(mFox, "FX_JPGIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXJPGIcon, (void *) &cFX_JPGIcon); rb_define_singleton_method(cFX_JPGIcon.klass, "new", VALUEFUNC(_wrap_new_FX_JPGIcon), -1); --- 7130,7134 ---- rb_define_module_function(mFox, "fxsaveICO", VALUEFUNC(_wrap_fxsaveICO), -1); ! cFX_JPGIcon.klass = rb_define_class_under(mFox, "FX_JPGIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXJPGIcon, (void *) &cFX_JPGIcon); rb_define_singleton_method(cFX_JPGIcon.klass, "new", VALUEFUNC(_wrap_new_FX_JPGIcon), -1); *************** *** 7163,7167 **** cFX_JPGIcon.destroy = (void (*)(void *)) free_FXJPGIcon; ! cFXJPGIcon.klass = rb_define_class_under(mFox, "FXJPGIcon", cFX_JPGIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbJPGIcon, (void *) &cFXJPGIcon); rb_define_singleton_method(cFXJPGIcon.klass, "new", VALUEFUNC(_wrap_new_FXJPGIcon), -1); --- 7139,7143 ---- cFX_JPGIcon.destroy = (void (*)(void *)) free_FXJPGIcon; ! cFXJPGIcon.klass = rb_define_class_under(mFox, "FXJPGIcon", ((swig_class *) SWIGTYPE_p_FXJPGIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbJPGIcon, (void *) &cFXJPGIcon); rb_define_singleton_method(cFXJPGIcon.klass, "new", VALUEFUNC(_wrap_new_FXJPGIcon), -1); *************** *** 7185,7189 **** cFXJPGIcon.destroy = (void (*)(void *)) free_FXRbJPGIcon; ! cFX_PCXIcon.klass = rb_define_class_under(mFox, "FX_PCXIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXPCXIcon, (void *) &cFX_PCXIcon); rb_define_singleton_method(cFX_PCXIcon.klass, "new", VALUEFUNC(_wrap_new_FX_PCXIcon), -1); --- 7161,7165 ---- cFXJPGIcon.destroy = (void (*)(void *)) free_FXRbJPGIcon; ! cFX_PCXIcon.klass = rb_define_class_under(mFox, "FX_PCXIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXPCXIcon, (void *) &cFX_PCXIcon); rb_define_singleton_method(cFX_PCXIcon.klass, "new", VALUEFUNC(_wrap_new_FX_PCXIcon), -1); *************** *** 7192,7196 **** cFX_PCXIcon.destroy = (void (*)(void *)) free_FXPCXIcon; ! cFXPCXIcon.klass = rb_define_class_under(mFox, "FXPCXIcon", cFX_PCXIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPCXIcon, (void *) &cFXPCXIcon); rb_define_singleton_method(cFXPCXIcon.klass, "new", VALUEFUNC(_wrap_new_FXPCXIcon), -1); --- 7168,7172 ---- cFX_PCXIcon.destroy = (void (*)(void *)) free_FXPCXIcon; ! cFXPCXIcon.klass = rb_define_class_under(mFox, "FXPCXIcon", ((swig_class *) SWIGTYPE_p_FXPCXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPCXIcon, (void *) &cFXPCXIcon); rb_define_singleton_method(cFXPCXIcon.klass, "new", VALUEFUNC(_wrap_new_FXPCXIcon), -1); *************** *** 7216,7220 **** rb_define_module_function(mFox, "fxsavePCX", VALUEFUNC(_wrap_fxsavePCX), -1); ! cFX_PNGIcon.klass = rb_define_class_under(mFox, "FX_PNGIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXPNGIcon, (void *) &cFX_PNGIcon); rb_define_singleton_method(cFX_PNGIcon.klass, "new", VALUEFUNC(_wrap_new_FX_PNGIcon), -1); --- 7192,7196 ---- rb_define_module_function(mFox, "fxsavePCX", VALUEFUNC(_wrap_fxsavePCX), -1); ! cFX_PNGIcon.klass = rb_define_class_under(mFox, "FX_PNGIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXPNGIcon, (void *) &cFX_PNGIcon); rb_define_singleton_method(cFX_PNGIcon.klass, "new", VALUEFUNC(_wrap_new_FX_PNGIcon), -1); *************** *** 7225,7229 **** cFX_PNGIcon.destroy = (void (*)(void *)) free_FXPNGIcon; ! cFXPNGIcon.klass = rb_define_class_under(mFox, "FXPNGIcon", cFX_PNGIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPNGIcon, (void *) &cFXPNGIcon); rb_define_singleton_method(cFXPNGIcon.klass, "new", VALUEFUNC(_wrap_new_FXPNGIcon), -1); --- 7201,7205 ---- cFX_PNGIcon.destroy = (void (*)(void *)) free_FXPNGIcon; ! cFXPNGIcon.klass = rb_define_class_under(mFox, "FXPNGIcon", ((swig_class *) SWIGTYPE_p_FXPNGIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbPNGIcon, (void *) &cFXPNGIcon); rb_define_singleton_method(cFXPNGIcon.klass, "new", VALUEFUNC(_wrap_new_FXPNGIcon), -1); *************** *** 7249,7253 **** rb_define_module_function(mFox, "fxsavePNG", VALUEFUNC(_wrap_fxsavePNG), -1); ! cFX_RGBIcon.klass = rb_define_class_under(mFox, "FX_RGBIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRGBIcon, (void *) &cFX_RGBIcon); rb_define_singleton_method(cFX_RGBIcon.klass, "new", VALUEFUNC(_wrap_new_FX_RGBIcon), -1); --- 7225,7229 ---- rb_define_module_function(mFox, "fxsavePNG", VALUEFUNC(_wrap_fxsavePNG), -1); ! cFX_RGBIcon.klass = rb_define_class_under(mFox, "FX_RGBIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRGBIcon, (void *) &cFX_RGBIcon); rb_define_singleton_method(cFX_RGBIcon.klass, "new", VALUEFUNC(_wrap_new_FX_RGBIcon), -1); *************** *** 7256,7260 **** cFX_RGBIcon.destroy = (void (*)(void *)) free_FXRGBIcon; ! cFXRGBIcon.klass = rb_define_class_under(mFox, "FXRGBIcon", cFX_RGBIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbRGBIcon, (void *) &cFXRGBIcon); rb_define_singleton_method(cFXRGBIcon.klass, "new", VALUEFUNC(_wrap_new_FXRGBIcon), -1); --- 7232,7236 ---- cFX_RGBIcon.destroy = (void (*)(void *)) free_FXRGBIcon; ! cFXRGBIcon.klass = rb_define_class_under(mFox, "FXRGBIcon", ((swig_class *) SWIGTYPE_p_FXRGBIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbRGBIcon, (void *) &cFXRGBIcon); rb_define_singleton_method(cFXRGBIcon.klass, "new", VALUEFUNC(_wrap_new_FXRGBIcon), -1); *************** *** 7278,7282 **** cFXRGBIcon.destroy = (void (*)(void *)) free_FXRbRGBIcon; ! cFXTGAIcon.klass = rb_define_class_under(mFox, "FXTGAIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXTGAIcon, (void *) &cFXTGAIcon); rb_define_singleton_method(cFXTGAIcon.klass, "new", VALUEFUNC(_wrap_new_FXTGAIcon), -1); --- 7254,7258 ---- cFXRGBIcon.destroy = (void (*)(void *)) free_FXRbRGBIcon; ! cFXTGAIcon.klass = rb_define_class_under(mFox, "FXTGAIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXTGAIcon, (void *) &cFXTGAIcon); rb_define_singleton_method(cFXTGAIcon.klass, "new", VALUEFUNC(_wrap_new_FXTGAIcon), -1); *************** *** 7285,7289 **** cFXTGAIcon.destroy = (void (*)(void *)) free_FXTGAIcon; ! cFXRbTGAIcon.klass = rb_define_class_under(mFox, "FXRbTGAIcon", cFXTGAIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbTGAIcon, (void *) &cFXRbTGAIcon); rb_define_singleton_method(cFXRbTGAIcon.klass, "new", VALUEFUNC(_wrap_new_FXRbTGAIcon), -1); --- 7261,7265 ---- cFXTGAIcon.destroy = (void (*)(void *)) free_FXTGAIcon; ! cFXRbTGAIcon.klass = rb_define_class_under(mFox, "FXRbTGAIcon", ((swig_class *) SWIGTYPE_p_FXTGAIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbTGAIcon, (void *) &cFXRbTGAIcon); rb_define_singleton_method(cFXRbTGAIcon.klass, "new", VALUEFUNC(_wrap_new_FXRbTGAIcon), -1); *************** *** 7307,7311 **** cFXRbTGAIcon.destroy = (void (*)(void *)) free_FXRbTGAIcon; ! cFX_TIFIcon.klass = rb_define_class_under(mFox, "FX_TIFIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXTIFIcon, (void *) &cFX_TIFIcon); rb_define_singleton_method(cFX_TIFIcon.klass, "new", VALUEFUNC(_wrap_new_FX_TIFIcon), -1); --- 7283,7287 ---- cFXRbTGAIcon.destroy = (void (*)(void *)) free_FXRbTGAIcon; ! cFX_TIFIcon.klass = rb_define_class_under(mFox, "FX_TIFIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXTIFIcon, (void *) &cFX_TIFIcon); rb_define_singleton_method(cFX_TIFIcon.klass, "new", VALUEFUNC(_wrap_new_FX_TIFIcon), -1); *************** *** 7316,7320 **** cFX_TIFIcon.destroy = (void (*)(void *)) free_FXTIFIcon; ! cFXTIFIcon.klass = rb_define_class_under(mFox, "FXTIFIcon", cFX_TIFIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbTIFIcon, (void *) &cFXTIFIcon); rb_define_singleton_method(cFXTIFIcon.klass, "new", VALUEFUNC(_wrap_new_FXTIFIcon), -1); --- 7292,7296 ---- cFX_TIFIcon.destroy = (void (*)(void *)) free_FXTIFIcon; ! cFXTIFIcon.klass = rb_define_class_under(mFox, "FXTIFIcon", ((swig_class *) SWIGTYPE_p_FXTIFIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbTIFIcon, (void *) &cFXTIFIcon); rb_define_singleton_method(cFXTIFIcon.klass, "new", VALUEFUNC(_wrap_new_FXTIFIcon), -1); *************** *** 7338,7342 **** cFXTIFIcon.destroy = (void (*)(void *)) free_FXRbTIFIcon; ! cFX_XPMIcon.klass = rb_define_class_under(mFox, "FX_XPMIcon", cFX_Icon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXXPMIcon, (void *) &cFX_XPMIcon); rb_define_singleton_method(cFX_XPMIcon.klass, "new", VALUEFUNC(_wrap_new_FX_XPMIcon), -1); --- 7314,7318 ---- cFXTIFIcon.destroy = (void (*)(void *)) free_FXRbTIFIcon; ! cFX_XPMIcon.klass = rb_define_class_under(mFox, "FX_XPMIcon", ((swig_class *) SWIGTYPE_p_FXIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXXPMIcon, (void *) &cFX_XPMIcon); rb_define_singleton_method(cFX_XPMIcon.klass, "new", VALUEFUNC(_wrap_new_FX_XPMIcon), -1); *************** *** 7345,7349 **** cFX_XPMIcon.destroy = (void (*)(void *)) free_FXXPMIcon; ! cFXXPMIcon.klass = rb_define_class_under(mFox, "FXXPMIcon", cFX_XPMIcon.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbXPMIcon, (void *) &cFXXPMIcon); rb_define_singleton_method(cFXXPMIcon.klass, "new", VALUEFUNC(_wrap_new_FXXPMIcon), -1); --- 7321,7325 ---- cFX_XPMIcon.destroy = (void (*)(void *)) free_FXXPMIcon; ! cFXXPMIcon.klass = rb_define_class_under(mFox, "FXXPMIcon", ((swig_class *) SWIGTYPE_p_FXXPMIcon->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbXPMIcon, (void *) &cFXXPMIcon); rb_define_singleton_method(cFXXPMIcon.klass, "new", VALUEFUNC(_wrap_new_FXXPMIcon), -1); Index: image_wrap.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/image_wrap.cpp,v retrieving revision 1.39.2.12 retrieving revision 1.39.2.13 diff -C2 -d -r1.39.2.12 -r1.39.2.13 *** image_wrap.cpp 14 May 2002 14:15:52 -0000 1.39.2.12 --- image_wrap.cpp 17 May 2002 22:30:31 -0000 1.39.2.13 *************** *** 1,5 **** /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020513-1710 * * This file is not intended to be easily readable and contains a number of --- 1,5 ---- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.12u-20020517-1652 * * This file is not intended to be easily readable and contains a number of *************** *** 337,342 **** - - #include "FXRbCommon.h" --- 337,340 ---- *************** *** 751,755 **** delete arg1; } - extern swig_class cFX_Drawable; static VALUE _wrap_new_FXBitmap(int argc, VALUE *argv, VALUE self) { --- 749,752 ---- *************** *** 953,957 **** - extern swig_class cFX_Bitmap; static VALUE _wrap_new_FXMemoryBuffer(int argc, VALUE *argv, VALUE self) { --- 950,953 ---- *************** *** 1445,1449 **** delete arg1; } - extern swig_class cFX_Drawable; static VALUE _wrap_new_FXImage(int argc, VALUE *argv, VALUE self) { --- 1441,1444 ---- *************** *** 1745,1749 **** - extern swig_class cFX_Image; static VALUE _wrap_new_FX_BMPImage(int argc, VALUE *argv, VALUE self) { --- 1740,1743 ---- *************** *** 1796,1800 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXBMPImage(int argc, VALUE *argv, VALUE self) { --- 1790,1793 ---- *************** *** 2091,2095 **** - extern swig_class cFX_BMPImage; static VALUE _wrap_new_FX_GIFImage(int argc, VALUE *argv, VALUE self) { --- 2084,2087 ---- *************** *** 2142,2146 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXGIFImage(int argc, VALUE *argv, VALUE self) { --- 2134,2137 ---- *************** *** 2437,2441 **** - extern swig_class cFX_GIFImage; static VALUE _wrap_new_FX_ICOImage(int argc, VALUE *argv, VALUE self) { --- 2428,2431 ---- *************** *** 2488,2492 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXICOImage(int argc, VALUE *argv, VALUE self) { --- 2478,2481 ---- *************** *** 2783,2787 **** - extern swig_class cFX_ICOImage; static VALUE _wrap_new_FX_JPGImage(int argc, VALUE *argv, VALUE self) { --- 2772,2775 ---- *************** *** 2865,2869 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXJPGImage(int argc, VALUE *argv, VALUE self) { --- 2853,2856 ---- *************** *** 3160,3164 **** - extern swig_class cFX_JPGImage; static VALUE _wrap_fxloadJPG(int argc, VALUE *argv, VALUE self) { --- 3147,3150 ---- *************** *** 3253,3257 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXPCXImage(int argc, VALUE *argv, VALUE self) { --- 3239,3242 ---- *************** *** 3548,3552 **** - extern swig_class cFX_PCXImage; static VALUE _wrap_new_FX_PNGImage(int argc, VALUE *argv, VALUE self) { --- 3533,3536 ---- *************** *** 3629,3633 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXPNGImage(int argc, VALUE *argv, VALUE self) { --- 3613,3616 ---- *************** *** 3924,3928 **** - extern swig_class cFX_PNGImage; static VALUE _wrap_new_FX_RGBImage(int argc, VALUE *argv, VALUE self) { --- 3907,3910 ---- *************** *** 3975,3979 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXRGBImage(int argc, VALUE *argv, VALUE self) { --- 3957,3960 ---- *************** *** 4270,4274 **** - extern swig_class cFX_RGBImage; static VALUE _wrap_fxloadRGB(int argc, VALUE *argv, VALUE self) { --- 4251,4254 ---- *************** *** 4368,4372 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXRbTGAImage(int argc, VALUE *argv, VALUE self) { --- 4348,4351 ---- *************** *** 4663,4667 **** - extern swig_class cFXTGAImage; static VALUE _wrap_fxloadTGA(int argc, VALUE *argv, VALUE self) { --- 4642,4645 ---- *************** *** 4822,4826 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXTIFImage(int argc, VALUE *argv, VALUE self) { --- 4800,4803 ---- *************** *** 5117,5121 **** - extern swig_class cFX_TIFImage; static VALUE _wrap_fxloadTIF(int argc, VALUE *argv, VALUE self) { --- 5094,5097 ---- *************** *** 5221,5225 **** delete arg1; } - extern swig_class cFX_Image; static VALUE _wrap_new_FXXPMImage(int argc, VALUE *argv, VALUE self) { --- 5197,5200 ---- *************** *** 5520,5524 **** - extern swig_class cFX_XPMImage; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ --- 5495,5498 ---- *************** *** 7386,7390 **** rb_define_const(mFox,"BITMAP_SHMP", INT2NUM(BITMAP_SHMP)); ! cFX_Bitmap.klass = rb_define_class_under(mFox, "FX_Bitmap", cFX_Drawable.klass); SWIG_TypeClientData(SWIGTYPE_p_FXBitmap, (void *) &cFX_Bitmap); rb_define_singleton_method(cFX_Bitmap.klass, "new", VALUEFUNC(_wrap_new_FX_Bitmap), -1); --- 7360,7364 ---- rb_define_const(mFox,"BITMAP_SHMP", INT2NUM(BITMAP_SHMP)); ! cFX_Bitmap.klass = rb_define_class_under(mFox, "FX_Bitmap", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXBitmap, (void *) &cFX_Bitmap); rb_define_singleton_method(cFX_Bitmap.klass, "new", VALUEFUNC(_wrap_new_FX_Bitmap), -1); *************** *** 7404,7408 **** cFX_Bitmap.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXBitmap.klass = rb_define_class_under(mFox, "FXBitmap", cFX_Bitmap.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBitmap, (void *) &cFXBitmap); rb_define_singleton_method(cFXBitmap.klass, "new", VALUEFUNC(_wrap_new_FXBitmap), -1); --- 7378,7382 ---- cFX_Bitmap.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXBitmap.klass = rb_define_class_under(mFox, "FXBitmap", ((swig_class *) SWIGTYPE_p_FXBitmap->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBitmap, (void *) &cFXBitmap); rb_define_singleton_method(cFXBitmap.klass, "new", VALUEFUNC(_wrap_new_FXBitmap), -1); *************** *** 7443,7447 **** rb_define_const(mFox,"IMAGE_ALPHAGUESS", INT2NUM(IMAGE_ALPHAGUESS)); ! cFX_Image.klass = rb_define_class_under(mFox, "FX_Image", cFX_Drawable.klass); SWIG_TypeClientData(SWIGTYPE_p_FXImage, (void *) &cFX_Image); rb_define_singleton_method(cFX_Image.klass, "new", VALUEFUNC(_wrap_new_FX_Image), -1); --- 7417,7421 ---- rb_define_const(mFox,"IMAGE_ALPHAGUESS", INT2NUM(IMAGE_ALPHAGUESS)); ! cFX_Image.klass = rb_define_class_under(mFox, "FX_Image", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXImage, (void *) &cFX_Image); rb_define_singleton_method(cFX_Image.klass, "new", VALUEFUNC(_wrap_new_FX_Image), -1); *************** *** 7470,7474 **** cFX_Image.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXImage.klass = rb_define_class_under(mFox, "FXImage", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbImage, (void *) &cFXImage); rb_define_singleton_method(cFXImage.klass, "new", VALUEFUNC(_wrap_new_FXImage), -1); --- 7444,7448 ---- cFX_Image.destroy = (void (*)(void *)) FXRbUnregisterRubyObj; ! cFXImage.klass = rb_define_class_under(mFox, "FXImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbImage, (void *) &cFXImage); rb_define_singleton_method(cFXImage.klass, "new", VALUEFUNC(_wrap_new_FXImage), -1); *************** *** 7492,7496 **** cFXImage.destroy = (void (*)(void *)) free_FXRbImage; ! cFX_BMPImage.klass = rb_define_class_under(mFox, "FX_BMPImage", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXBMPImage, (void *) &cFX_BMPImage); rb_define_singleton_method(cFX_BMPImage.klass, "new", VALUEFUNC(_wrap_new_FX_BMPImage), -1); --- 7466,7470 ---- cFXImage.destroy = (void (*)(void *)) free_FXRbImage; ! cFX_BMPImage.klass = rb_define_class_under(mFox, "FX_BMPImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXBMPImage, (void *) &cFX_BMPImage); rb_define_singleton_method(cFX_BMPImage.klass, "new", VALUEFUNC(_wrap_new_FX_BMPImage), -1); *************** *** 7499,7503 **** cFX_BMPImage.destroy = (void (*)(void *)) free_FXBMPImage; ! cFXBMPImage.klass = rb_define_class_under(mFox, "FXBMPImage", cFX_BMPImage.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBMPImage, (void *) &cFXBMPImage); rb_define_singleton_method(cFXBMPImage.klass, "new", VALUEFUNC(_wrap_new_FXBMPImage), -1); --- 7473,7477 ---- cFX_BMPImage.destroy = (void (*)(void *)) free_FXBMPImage; ! cFXBMPImage.klass = rb_define_class_under(mFox, "FXBMPImage", ((swig_class *) SWIGTYPE_p_FXBMPImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbBMPImage, (void *) &cFXBMPImage); rb_define_singleton_method(cFXBMPImage.klass, "new", VALUEFUNC(_wrap_new_FXBMPImage), -1); *************** *** 7521,7525 **** cFXBMPImage.destroy = (void (*)(void *)) free_FXRbBMPImage; ! cFX_GIFImage.klass = rb_define_class_under(mFox, "FX_GIFImage", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXGIFImage, (void *) &cFX_GIFImage); rb_define_singleton_method(cFX_GIFImage.klass, "new", VALUEFUNC(_wrap_new_FX_GIFImage), -1); --- 7495,7499 ---- cFXBMPImage.destroy = (void (*)(void *)) free_FXRbBMPImage; ! cFX_GIFImage.klass = rb_define_class_under(mFox, "FX_GIFImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXGIFImage, (void *) &cFX_GIFImage); rb_define_singleton_method(cFX_GIFImage.klass, "new", VALUEFUNC(_wrap_new_FX_GIFImage), -1); *************** *** 7528,7532 **** cFX_GIFImage.destroy = (void (*)(void *)) free_FXGIFImage; ! cFXGIFImage.klass = rb_define_class_under(mFox, "FXGIFImage", cFX_GIFImage.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbGIFImage, (void *) &cFXGIFImage); rb_define_singleton_method(cFXGIFImage.klass, "new", VALUEFUNC(_wrap_new_FXGIFImage), -1); --- 7502,7506 ---- cFX_GIFImage.destroy = (void (*)(void *)) free_FXGIFImage; ! cFXGIFImage.klass = rb_define_class_under(mFox, "FXGIFImage", ((swig_class *) SWIGTYPE_p_FXGIFImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbGIFImage, (void *) &cFXGIFImage); rb_define_singleton_method(cFXGIFImage.klass, "new", VALUEFUNC(_wrap_new_FXGIFImage), -1); *************** *** 7550,7554 **** cFXGIFImage.destroy = (void (*)(void *)) free_FXRbGIFImage; ! cFX_ICOImage.klass = rb_define_class_under(mFox, "FX_ICOImage", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXICOImage, (void *) &cFX_ICOImage); rb_define_singleton_method(cFX_ICOImage.klass, "new", VALUEFUNC(_wrap_new_FX_ICOImage), -1); --- 7524,7528 ---- cFXGIFImage.destroy = (void (*)(void *)) free_FXRbGIFImage; ! cFX_ICOImage.klass = rb_define_class_under(mFox, "FX_ICOImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXICOImage, (void *) &cFX_ICOImage); rb_define_singleton_method(cFX_ICOImage.klass, "new", VALUEFUNC(_wrap_new_FX_ICOImage), -1); *************** *** 7557,7561 **** cFX_ICOImage.destroy = (void (*)(void *)) free_FXICOImage; ! cFXICOImage.klass = rb_define_class_under(mFox, "FXICOImage", cFX_ICOImage.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbICOImage, (void *) &cFXICOImage); rb_define_singleton_method(cFXICOImage.klass, "new", VALUEFUNC(_wrap_new_FXICOImage), -1); --- 7531,7535 ---- cFX_ICOImage.destroy = (void (*)(void *)) free_FXICOImage; ! cFXICOImage.klass = rb_define_class_under(mFox, "FXICOImage", ((swig_class *) SWIGTYPE_p_FXICOImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbICOImage, (void *) &cFXICOImage); rb_define_singleton_method(cFXICOImage.klass, "new", VALUEFUNC(_wrap_new_FXICOImage), -1); *************** *** 7579,7583 **** cFXICOImage.destroy = (void (*)(void *)) free_FXRbICOImage; ! cFX_JPGImage.klass = rb_define_class_under(mFox, "FX_JPGImage", cFX_Image.klass); SWIG_TypeClientData(SWIGTYPE_p_FXJPGImage, (void *) &cFX_JPGImage); rb_define_singleton_method(cFX_JPGImage.klass, "new", VALUEFUNC(_wrap_new_FX_JPGImage), -1); --- 7553,7557 ---- cFXICOImage.destroy = (void (*)(void *)) free_FXRbICOImage; ! cFX_JPGImage.klass = rb_define_class_under(mFox, "FX_JPGImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXJPGImage, (void *) &cFX_JPGImage); rb_define_singleton_method(cFX_JPGImage.klass, "new", VALUEFUNC(_wrap_new_FX_JPGImage), -1); *************** *** 7588,7592 **** cFX_JPGImage.destroy = (void (*)(void *)) free_FXJPGImage; ! cFXJPGImage.klass = rb_define_class_under(mFox, "FXJPGImage", cFX_JPGImage.klass); SWIG_TypeClientData(SWIGTYPE_p_FXRbJPGImage, (void *) &cFXJPGImage); rb_define_singleton_method(cFXJPGImage.klass, "new", VALUEFUNC(_wrap_new_FXJPGImage), -1); --- 7562,7566 ---- cFX_JPGImage.destroy = (void (*)(void *)) free_FXJPGImage; ! cFXJPGImage.klass = rb_define_class_under(mFox, "FXJPGImage", ((swig_class *) SWIGTYPE_p_FXJPGImage->clientdata)->klass); SWIG_TypeClientData(SWIGTYP... [truncated message content] |