fxruby 1.6.23 → 1.6.24
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +4 -0
- data/History.txt +4 -0
- data/Manifest.txt +0 -1
- data/README.rdoc +1 -1
- data/Rakefile +3 -3
- data/Rakefile.cross +5 -5
- data/doap.rdf +1 -1
- data/ext/fox16/FXRuby.cpp +1 -0
- data/ext/fox16/core_wrap.cpp +64 -32
- data/ext/fox16/dc_wrap.cpp +4 -2
- data/ext/fox16/dialogs_wrap.cpp +75 -45
- data/ext/fox16/extconf.rb +4 -3
- data/ext/fox16/frames_wrap.cpp +35 -19
- data/ext/fox16/fx3d_wrap.cpp +12 -4
- data/ext/fox16/iconlist_wrap.cpp +2 -0
- data/ext/fox16/icons_wrap.cpp +26 -13
- data/ext/fox16/image_wrap.cpp +27 -13
- data/ext/fox16/label_wrap.cpp +16 -10
- data/ext/fox16/layout_wrap.cpp +30 -17
- data/ext/fox16/list_wrap.cpp +2 -0
- data/ext/fox16/mdi_wrap.cpp +9 -2
- data/ext/fox16/menu_wrap.cpp +17 -10
- data/ext/fox16/scintilla_wrap.cpp +1 -0
- data/ext/fox16/table_wrap.cpp +2 -1
- data/ext/fox16/text_wrap.cpp +2 -1
- data/ext/fox16/treelist_wrap.cpp +3 -0
- data/ext/fox16/ui_wrap.cpp +46 -21
- data/lib/fox16/version.rb +1 -1
- data/swig-interfaces/FXApp.i +1 -1
- data/swig-interfaces/FXSplashWindow.i +2 -2
- data/swig-interfaces/ruby-typemaps.i +8 -2
- data/test/TC_FXApp.rb +4 -0
- data/test/TC_FXButton.rb +4 -0
- data/test/TC_FXGLViewer.rb +9 -0
- data/test/TC_FXMessageBox.rb +4 -0
- data/test/TC_FXScrollArea.rb +4 -0
- data/test/TC_FXShell.rb +4 -0
- data/test/TC_FXTopWindow.rb +4 -0
- metadata +4 -5
- data/README.git +0 -3
data/ext/fox16/label_wrap.cpp
CHANGED
@@ -945,7 +945,7 @@ static VALUE _wrap_new_FXLabel(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
945
945
|
if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) {
|
946
946
|
arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); }
|
947
947
|
if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) {
|
948
|
-
arg12 = NUM2INT(argv[11]); } {
|
948
|
+
arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
949
949
|
result = (FXLabel *)new_FXLabel(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
950
950
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
951
951
|
static VALUE _wrap_FXLabel_setText(int argc, VALUE *argv, VALUE self) { FXLabel *arg1 = (FXLabel *) 0 ; FXString *arg2 = 0 ;
|
@@ -1317,7 +1317,8 @@ static VALUE _wrap_new_FXButton(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
1317
1317
|
if (argc > 5) { arg6 = NUM2UINT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
1318
1318
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
1319
1319
|
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
1320
|
-
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } {
|
1320
|
+
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) {
|
1321
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1321
1322
|
result = (FXButton *)new_FXButton(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
|
1322
1323
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1323
1324
|
static VALUE _wrap_FXButton_setState(int argc, VALUE *argv, VALUE self) { FXButton *arg1 = (FXButton *) 0 ; FXuint arg2 ;
|
@@ -1645,7 +1646,8 @@ static VALUE _wrap_new_FXCheckButton(int argc, VALUE *argv, VALUE self) { FXComp
|
|
1645
1646
|
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) {
|
1646
1647
|
arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); }
|
1647
1648
|
if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) {
|
1648
|
-
arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } {
|
1649
|
+
arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) {
|
1650
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1649
1651
|
result = (FXCheckButton *)new_FXCheckButton(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
1650
1652
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1651
1653
|
static VALUE _wrap_FXCheckButton_setCheck(int argc, VALUE *argv, VALUE self) { FXCheckButton *arg1 = (FXCheckButton *) 0 ;
|
@@ -1986,7 +1988,7 @@ static VALUE _wrap_new_FXMenuButton(int argc, VALUE *argv, VALUE self) { FXCompo
|
|
1986
1988
|
if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
1987
1989
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
1988
1990
|
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
1989
|
-
arg13 = NUM2INT(argv[12]); } {
|
1991
|
+
arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1990
1992
|
result = (FXMenuButton *)new_FXMenuButton(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
1991
1993
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1992
1994
|
static VALUE _wrap_FXMenuButton_setMenu(int argc, VALUE *argv, VALUE self) { FXMenuButton *arg1 = (FXMenuButton *) 0 ;
|
@@ -2295,7 +2297,8 @@ static VALUE _wrap_new_FXOption(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
2295
2297
|
if (argc > 5) { arg6 = NUM2UINT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
2296
2298
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
2297
2299
|
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
2298
|
-
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } {
|
2300
|
+
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) {
|
2301
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2299
2302
|
result = (FXOption *)new_FXOption(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
|
2300
2303
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2301
2304
|
static VALUE _wrap_FXOption_selBackColore___(int argc, VALUE *argv, VALUE self) { FXOption *arg1 = (FXOption *) 0 ;
|
@@ -2594,7 +2597,7 @@ static VALUE _wrap_new_FXOptionMenu(int argc, VALUE *argv, VALUE self) { FXCompo
|
|
2594
2597
|
if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
2595
2598
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); }
|
2596
2599
|
if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) {
|
2597
|
-
arg11 = NUM2INT(argv[10]); } {
|
2600
|
+
arg11 = NUM2INT(argv[10]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2598
2601
|
result = (FXOptionMenu *)new_FXOptionMenu(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
|
2599
2602
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2600
2603
|
static VALUE _wrap_FXOptionMenu_setCurrent(int argc, VALUE *argv, VALUE self) { FXOptionMenu *arg1 = (FXOptionMenu *) 0 ;
|
@@ -2957,7 +2960,8 @@ static VALUE _wrap_new_FXRadioButton(int argc, VALUE *argv, VALUE self) { FXComp
|
|
2957
2960
|
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) {
|
2958
2961
|
arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); }
|
2959
2962
|
if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) {
|
2960
|
-
arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } {
|
2963
|
+
arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) {
|
2964
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2961
2965
|
result = (FXRadioButton *)new_FXRadioButton(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
2962
2966
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2963
2967
|
static VALUE _wrap_FXRadioButton_setCheck(int argc, VALUE *argv, VALUE self) { FXRadioButton *arg1 = (FXRadioButton *) 0 ;
|
@@ -3594,7 +3598,8 @@ static VALUE _wrap_new_FXToggleButton(int argc, VALUE *argv, VALUE self) { FXCom
|
|
3594
3598
|
if (argc > 7) { arg8 = NUM2UINT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
3595
3599
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
3596
3600
|
if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } if (argc > 14) {
|
3597
|
-
arg15 = NUM2INT(argv[14]); } if (argc > 15) { arg16 = NUM2INT(argv[15]); } {
|
3601
|
+
arg15 = NUM2INT(argv[14]); } if (argc > 15) { arg16 = NUM2INT(argv[15]); } { if (!arg1) {
|
3602
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3598
3603
|
result = (FXToggleButton *)new_FXToggleButton(arg1,(FXString const &)*arg2,(FXString const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16);
|
3599
3604
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3600
3605
|
static VALUE _wrap_FXToggleButton_setAltText(int argc, VALUE *argv, VALUE self) { FXToggleButton *arg1 = (FXToggleButton *) 0 ;
|
@@ -3895,7 +3900,7 @@ static VALUE _wrap_new_FXTriStateButton(int argc, VALUE *argv, VALUE self) { FXC
|
|
3895
3900
|
arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) {
|
3896
3901
|
arg14 = NUM2INT(argv[13]); } if (argc > 14) { arg15 = NUM2INT(argv[14]); } if (argc > 15) {
|
3897
3902
|
arg16 = NUM2INT(argv[15]); } if (argc > 16) { arg17 = NUM2INT(argv[16]); } if (argc > 17) {
|
3898
|
-
arg18 = NUM2INT(argv[17]); } {
|
3903
|
+
arg18 = NUM2INT(argv[17]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3899
3904
|
result = (FXTriStateButton *)new_FXTriStateButton(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18);
|
3900
3905
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3901
3906
|
static VALUE _wrap_FXTriStateButton_setMaybeText(int argc, VALUE *argv, VALUE self) {
|
@@ -3996,7 +4001,8 @@ static VALUE _wrap_new_FXPicker(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
3996
4001
|
if (argc > 5) { arg6 = NUM2UINT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
3997
4002
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
3998
4003
|
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
3999
|
-
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } {
|
4004
|
+
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) {
|
4005
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
4000
4006
|
result = (FXPicker *)new_FXPicker(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
|
4001
4007
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
4002
4008
|
static void
|
data/ext/fox16/layout_wrap.cpp
CHANGED
@@ -1003,7 +1003,8 @@ static VALUE _wrap_new_FXPacker(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
1003
1003
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
1004
1004
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
1005
1005
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
1006
|
-
{
|
1006
|
+
{ if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1007
|
+
result = (FXPacker *)new_FXPacker(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1007
1008
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1008
1009
|
static VALUE _wrap_FXPacker_setFrameStyle(int argc, VALUE *argv, VALUE self) { FXPacker *arg1 = (FXPacker *) 0 ; FXuint arg2 ;
|
1009
1010
|
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
@@ -1296,7 +1297,8 @@ static VALUE _wrap_new_FXDockSite(int argc, VALUE *argv, VALUE self) { FXComposi
|
|
1296
1297
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
1297
1298
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
1298
1299
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
1299
|
-
{
|
1300
|
+
{ if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1301
|
+
result = (FXDockSite *)new_FXDockSite(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1300
1302
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1301
1303
|
static VALUE _wrap_FXDockSite_wrapGalleyse___(int argc, VALUE *argv, VALUE self) { FXDockSite *arg1 = (FXDockSite *) 0 ;
|
1302
1304
|
FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
@@ -1540,7 +1542,8 @@ static VALUE _wrap_new_FXSpring(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
1540
1542
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
1541
1543
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
1542
1544
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
1543
|
-
if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } {
|
1545
|
+
if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) {
|
1546
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1544
1547
|
result = (FXSpring *)new_FXSpring(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
|
1545
1548
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1546
1549
|
static VALUE _wrap_FXSpring_setRelativeWidth(int argc, VALUE *argv, VALUE self) { FXSpring *arg1 = (FXSpring *) 0 ; FXint arg2 ;
|
@@ -1745,7 +1748,8 @@ static VALUE _wrap_new_FXHorizontalFrame(int argc, VALUE *argv, VALUE self) { FX
|
|
1745
1748
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
1746
1749
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
1747
1750
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
1748
|
-
{
|
1751
|
+
{ if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1752
|
+
result = (FXHorizontalFrame *)new_FXHorizontalFrame(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1749
1753
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1750
1754
|
static VALUE _wrap_FXHorizontalFrame_save(int argc, VALUE *argv, VALUE self) {
|
1751
1755
|
FXHorizontalFrame *arg1 = (FXHorizontalFrame *) 0 ; FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1))
|
@@ -1965,7 +1969,8 @@ static VALUE _wrap_new_FXVerticalFrame(int argc, VALUE *argv, VALUE self) { FXCo
|
|
1965
1969
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
1966
1970
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
1967
1971
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
1968
|
-
{
|
1972
|
+
{ if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1973
|
+
result = (FXVerticalFrame *)new_FXVerticalFrame(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1969
1974
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1970
1975
|
static void
|
1971
1976
|
free_FXVerticalFrame(FXVerticalFrame *arg1) {
|
@@ -2197,8 +2202,8 @@ static VALUE _wrap_new_FXMatrix(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
2197
2202
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
2198
2203
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
2199
2204
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
2200
|
-
if (argc > 12) { arg13 = NUM2INT(argv[12]); } {
|
2201
|
-
|
2205
|
+
if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); }
|
2206
|
+
} { result = (FXMatrix *)new_FXMatrix(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
2202
2207
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2203
2208
|
static VALUE _wrap_FXMatrix_childAtRowCol(int argc, VALUE *argv, VALUE self) { FXMatrix *arg1 = (FXMatrix *) 0 ; FXint arg2 ;
|
2204
2209
|
FXint arg3 ; FXWindow *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
@@ -2456,7 +2461,7 @@ static VALUE _wrap_new_FXGroupBox(int argc, VALUE *argv, VALUE self) { FXComposi
|
|
2456
2461
|
if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
2457
2462
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
2458
2463
|
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
2459
|
-
arg13 = NUM2INT(argv[12]); } {
|
2464
|
+
arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2460
2465
|
result = (FXGroupBox *)new_FXGroupBox(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
2461
2466
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2462
2467
|
static VALUE _wrap_FXGroupBox_setText(int argc, VALUE *argv, VALUE self) { FXGroupBox *arg1 = (FXGroupBox *) 0 ;
|
@@ -2725,7 +2730,7 @@ static VALUE _wrap_new_FXSwitcher(int argc, VALUE *argv, VALUE self) { FXComposi
|
|
2725
2730
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2726
2731
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
2727
2732
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
2728
|
-
arg10 = NUM2INT(argv[9]); } {
|
2733
|
+
arg10 = NUM2INT(argv[9]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2729
2734
|
result = (FXSwitcher *)new_FXSwitcher(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
|
2730
2735
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2731
2736
|
static VALUE _wrap_FXSwitcher_setCurrent(int argc, VALUE *argv, VALUE self) { FXSwitcher *arg1 = (FXSwitcher *) 0 ; FXint arg2 ;
|
@@ -3252,7 +3257,8 @@ static VALUE _wrap_new_FXShutter(int argc, VALUE *argv, VALUE self) { FXComposit
|
|
3252
3257
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); }
|
3253
3258
|
if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) {
|
3254
3259
|
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
3255
|
-
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } {
|
3260
|
+
arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) {
|
3261
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3256
3262
|
result = (FXShutter *)new_FXShutter(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
|
3257
3263
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3258
3264
|
static VALUE _wrap_FXShutter_getCurrent(int argc, VALUE *argv, VALUE self) { FXShutter *arg1 = (FXShutter *) 0 ; FXint result;
|
@@ -3491,7 +3497,8 @@ static VALUE _wrap_new_FXSplitter__SWIG_0(int argc, VALUE *argv, VALUE self) { F
|
|
3491
3497
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
3492
3498
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); }
|
3493
3499
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
3494
|
-
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
3500
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) {
|
3501
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3495
3502
|
result = (FXSplitter *)new_FXSplitter__SWIG_0(arg1,arg2,arg3,arg4,arg5,arg6);
|
3496
3503
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3497
3504
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
@@ -3511,7 +3518,8 @@ static VALUE _wrap_new_FXSplitter__SWIG_1(int argc, VALUE *argv, VALUE self) { F
|
|
3511
3518
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
|
3512
3519
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[2]); if (argc > 3) {
|
3513
3520
|
arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); }
|
3514
|
-
if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
3521
|
+
if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } { if (!arg1) {
|
3522
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3515
3523
|
result = (FXSplitter *)new_FXSplitter__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
3516
3524
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3517
3525
|
static VALUE _wrap_new_FXSplitter(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[8]; int ii; argc = nargs;
|
@@ -3808,7 +3816,8 @@ static VALUE _wrap_new_FX4Splitter__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
3808
3816
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
3809
3817
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); }
|
3810
3818
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
3811
|
-
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
3819
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) {
|
3820
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3812
3821
|
result = (FX4Splitter *)new_FX4Splitter__SWIG_0(arg1,arg2,arg3,arg4,arg5,arg6);
|
3813
3822
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3814
3823
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
@@ -3828,7 +3837,8 @@ static VALUE _wrap_new_FX4Splitter__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
3828
3837
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
|
3829
3838
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[2]); if (argc > 3) {
|
3830
3839
|
arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); }
|
3831
|
-
if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
3840
|
+
if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } { if (!arg1) {
|
3841
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3832
3842
|
result = (FX4Splitter *)new_FX4Splitter__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
3833
3843
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3834
3844
|
static VALUE _wrap_new_FX4Splitter(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[8]; int ii; argc = nargs;
|
@@ -4130,7 +4140,8 @@ static VALUE _wrap_new_FXStatusBar(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
4130
4140
|
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); }
|
4131
4141
|
if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) {
|
4132
4142
|
arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); }
|
4133
|
-
{
|
4143
|
+
{ if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
4144
|
+
result = (FXStatusBar *)new_FXStatusBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
4134
4145
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
4135
4146
|
static VALUE _wrap_FXStatusBar_setCornerStyle(int argc, VALUE *argv, VALUE self) { FXStatusBar *arg1 = (FXStatusBar *) 0 ;
|
4136
4147
|
FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
@@ -4395,7 +4406,8 @@ static VALUE _wrap_new_FXScrollArea(int argc, VALUE *argv, VALUE self) { FXCompo
|
|
4395
4406
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
4396
4407
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); }
|
4397
4408
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
4398
|
-
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
4409
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) {
|
4410
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
4399
4411
|
result = (FXScrollArea *)new_FXScrollArea(arg1,arg2,arg3,arg4,arg5,arg6);
|
4400
4412
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
4401
4413
|
static VALUE _wrap_FXScrollArea_setScrollStyle(int argc, VALUE *argv, VALUE self) { FXScrollArea *arg1 = (FXScrollArea *) 0 ;
|
@@ -4691,7 +4703,8 @@ static VALUE _wrap_new_FXScrollWindow(int argc, VALUE *argv, VALUE self) { FXCom
|
|
4691
4703
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
4692
4704
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); }
|
4693
4705
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
4694
|
-
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
4706
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) {
|
4707
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
4695
4708
|
result = (FXScrollWindow *)new_FXScrollWindow(arg1,arg2,arg3,arg4,arg5,arg6);
|
4696
4709
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
4697
4710
|
static VALUE _wrap_FXScrollWindow_contentWindow(int argc, VALUE *argv, VALUE self) {
|
data/ext/fox16/list_wrap.cpp
CHANGED
@@ -1122,6 +1122,7 @@ static VALUE _wrap_new_FXList(int argc, VALUE *argv, VALUE self) { FXComposite *
|
|
1122
1122
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1123
1123
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1124
1124
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1125
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1125
1126
|
result = (FXList *)new_FXList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1126
1127
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1127
1128
|
static VALUE _wrap_FXList_getNumItems(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
|
@@ -1857,6 +1858,7 @@ static VALUE _wrap_new_FXColorList(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
1857
1858
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1858
1859
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1859
1860
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1861
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1860
1862
|
result = (FXColorList *)new_FXColorList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1861
1863
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1862
1864
|
static VALUE _wrap_FXColorList_fillItems(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
|
data/ext/fox16/mdi_wrap.cpp
CHANGED
@@ -736,6 +736,7 @@ static VALUE _wrap_new_FXMDIDeleteButton(int argc, VALUE *argv, VALUE self) { FX
|
|
736
736
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
737
737
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
738
738
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
739
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
739
740
|
result = (FXMDIDeleteButton *)new_FXMDIDeleteButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
740
741
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
741
742
|
static void
|
@@ -964,6 +965,7 @@ static VALUE _wrap_new_FXMDIRestoreButton(int argc, VALUE *argv, VALUE self) { F
|
|
964
965
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
965
966
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
966
967
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
968
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
967
969
|
result = (FXMDIRestoreButton *)new_FXMDIRestoreButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
968
970
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
969
971
|
static void
|
@@ -1194,6 +1196,7 @@ static VALUE _wrap_new_FXMDIMaximizeButton(int argc, VALUE *argv, VALUE self) {
|
|
1194
1196
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1195
1197
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1196
1198
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1199
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1197
1200
|
result = (FXMDIMaximizeButton *)new_FXMDIMaximizeButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1198
1201
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1199
1202
|
static void
|
@@ -1427,6 +1430,7 @@ static VALUE _wrap_new_FXMDIMinimizeButton(int argc, VALUE *argv, VALUE self) {
|
|
1427
1430
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1428
1431
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1429
1432
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1433
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1430
1434
|
result = (FXMDIMinimizeButton *)new_FXMDIMinimizeButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1431
1435
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1432
1436
|
static void
|
@@ -1662,6 +1666,7 @@ static VALUE _wrap_new_FXMDIWindowButton(int argc, VALUE *argv, VALUE self) { FX
|
|
1662
1666
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXObject, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
|
1663
1667
|
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) {
|
1664
1668
|
arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } {
|
1669
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1665
1670
|
result = (FXMDIWindowButton *)new_FXMDIWindowButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
|
1666
1671
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1667
1672
|
static void
|
@@ -1879,7 +1884,8 @@ static VALUE _wrap_new_FXMDIMenu(int argc, VALUE *argv, VALUE self) { FXWindow *
|
|
1879
1884
|
FXObject *arg2 = (FXObject *) 0 ; FXMDIMenu *result; if ((argc < 1) || (argc > 2))
|
1880
1885
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1881
1886
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 1) {
|
1882
|
-
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } {
|
1887
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } { if (!arg1) {
|
1888
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMDIMenu *)new_FXMDIMenu(arg1,arg2);
|
1883
1889
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1884
1890
|
static void
|
1885
1891
|
free_FXMDIMenu(FXMDIMenu *arg1) {
|
@@ -2213,7 +2219,8 @@ static VALUE _wrap_new_FXMDIClient(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
2213
2219
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2214
2220
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); }
|
2215
2221
|
if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2216
|
-
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
2222
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) {
|
2223
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2217
2224
|
result = (FXMDIClient *)new_FXMDIClient(arg1,arg2,arg3,arg4,arg5,arg6);
|
2218
2225
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2219
2226
|
static VALUE _wrap_FXMDIClient_forallWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ;
|
data/ext/fox16/menu_wrap.cpp
CHANGED
@@ -783,6 +783,7 @@ static VALUE _wrap_new_FXMenuPane(int argc, VALUE *argv, VALUE self) { FXWindow
|
|
783
783
|
FXuint arg2 = (FXuint) 0 ; FXMenuPane *result; if ((argc < 1) || (argc > 2))
|
784
784
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
785
785
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); } {
|
786
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
786
787
|
result = (FXMenuPane *)new_FXMenuPane(arg1,arg2); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
787
788
|
if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
788
789
|
static void
|
@@ -993,8 +994,9 @@ static VALUE _wrap_new_FXScrollPane(int argc, VALUE *argv, VALUE self) { FXWindo
|
|
993
994
|
FXuint arg3 = (FXuint) 0 ; FXScrollPane *result; if ((argc < 2) || (argc > 3))
|
994
995
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
995
996
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[1]); if (argc > 2) {
|
996
|
-
arg3 = NUM2UINT(argv[2]); } {
|
997
|
-
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
997
|
+
arg3 = NUM2UINT(argv[2]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
998
|
+
result = (FXScrollPane *)new_FXScrollPane(arg1,arg2,arg3); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
999
|
+
if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
998
1000
|
static VALUE _wrap_FXScrollPane_numVisible(int argc, VALUE *argv, VALUE self) { FXScrollPane *arg1 = (FXScrollPane *) 0 ;
|
999
1001
|
FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1000
1002
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
@@ -1293,6 +1295,7 @@ static VALUE _wrap_new_FXMenuCaption(int argc, VALUE *argv, VALUE self) { FXComp
|
|
1293
1295
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1294
1296
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
1295
1297
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } {
|
1298
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1296
1299
|
result = (FXMenuCaption *)new_FXMenuCaption(arg1,(FXString const &)*arg2,arg3,arg4);
|
1297
1300
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1298
1301
|
static VALUE _wrap_FXMenuCaption_setText(int argc, VALUE *argv, VALUE self) { FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
|
@@ -1601,6 +1604,7 @@ static VALUE _wrap_new_FXMenuSeparator(int argc, VALUE *argv, VALUE self) { FXCo
|
|
1601
1604
|
FXuint arg2 = (FXuint) 0 ; FXMenuSeparator *result; if ((argc < 1) || (argc > 2))
|
1602
1605
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1603
1606
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); } {
|
1607
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1604
1608
|
result = (FXMenuSeparator *)new_FXMenuSeparator(arg1,arg2); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
1605
1609
|
if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1606
1610
|
static VALUE _wrap_FXMenuSeparator_setHiliteColor(int argc, VALUE *argv, VALUE self) {
|
@@ -1915,6 +1919,7 @@ static VALUE _wrap_new_FXMenuTitle(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
1915
1919
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
1916
1920
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) {
|
1917
1921
|
SWIG_ConvertPtr(argv[3], (void **) &arg4, SWIGTYPE_p_FXPopup, 1); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } {
|
1922
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1918
1923
|
result = (FXMenuTitle *)new_FXMenuTitle(arg1,(FXString const &)*arg2,arg3,arg4,arg5);
|
1919
1924
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1920
1925
|
static VALUE _wrap_FXMenuTitle_setMenu(int argc, VALUE *argv, VALUE self) { FXMenuTitle *arg1 = (FXMenuTitle *) 0 ;
|
@@ -2187,6 +2192,7 @@ static VALUE _wrap_new_FXMenuCascade(int argc, VALUE *argv, VALUE self) { FXComp
|
|
2187
2192
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
2188
2193
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) {
|
2189
2194
|
SWIG_ConvertPtr(argv[3], (void **) &arg4, SWIGTYPE_p_FXPopup, 1); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } {
|
2195
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2190
2196
|
result = (FXMenuCascade *)new_FXMenuCascade(arg1,(FXString const &)*arg2,arg3,arg4,arg5);
|
2191
2197
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2192
2198
|
static VALUE _wrap_FXMenuCascade_setMenu(int argc, VALUE *argv, VALUE self) { FXMenuCascade *arg1 = (FXMenuCascade *) 0 ;
|
@@ -2455,8 +2461,8 @@ static VALUE _wrap_new_FXMenuCommand(int argc, VALUE *argv, VALUE self) { FXComp
|
|
2455
2461
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
2456
2462
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) {
|
2457
2463
|
SWIG_ConvertPtr(argv[3], (void **) &arg4, SWIGTYPE_p_FXObject, 1); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); }
|
2458
|
-
if (argc > 5) { arg6 = NUM2UINT(argv[5]); } {
|
2459
|
-
|
2464
|
+
if (argc > 5) { arg6 = NUM2UINT(argv[5]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } }
|
2465
|
+
{ result = (FXMenuCommand *)new_FXMenuCommand(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6);
|
2460
2466
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2461
2467
|
static VALUE _wrap_FXMenuCommand_setAccelText(int argc, VALUE *argv, VALUE self) { FXMenuCommand *arg1 = (FXMenuCommand *) 0 ;
|
2462
2468
|
FXString *arg2 = 0 ; SwigValueWrapper<FXString > p2 ; if ((argc < 1) || (argc > 1))
|
@@ -2704,7 +2710,7 @@ static VALUE _wrap_new_FXMenuBar__SWIG_0(int argc, VALUE *argv, VALUE self) { FX
|
|
2704
2710
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); }
|
2705
2711
|
if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) {
|
2706
2712
|
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) {
|
2707
|
-
arg13 = NUM2INT(argv[12]); } {
|
2713
|
+
arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2708
2714
|
result = (FXMenuBar *)new_FXMenuBar__SWIG_0(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
2709
2715
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2710
2716
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
@@ -2726,7 +2732,8 @@ static VALUE _wrap_new_FXMenuBar__SWIG_1(int argc, VALUE *argv, VALUE self) { FX
|
|
2726
2732
|
arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); }
|
2727
2733
|
if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) {
|
2728
2734
|
arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); }
|
2729
|
-
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } {
|
2735
|
+
if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) {
|
2736
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2730
2737
|
result = (FXMenuBar *)new_FXMenuBar__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
2731
2738
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2732
2739
|
static VALUE _wrap_new_FXMenuBar(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[13]; int ii; argc = nargs;
|
@@ -3094,8 +3101,8 @@ static VALUE _wrap_new_FXMenuCheck(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
3094
3101
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
3095
3102
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
3096
3103
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXObject, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
|
3097
|
-
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } {
|
3098
|
-
|
3104
|
+
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } }
|
3105
|
+
{ result = (FXMenuCheck *)new_FXMenuCheck(arg1,(FXString const &)*arg2,arg3,arg4,arg5);
|
3099
3106
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3100
3107
|
static VALUE _wrap_FXMenuCheck_setCheck(int argc, VALUE *argv, VALUE self) { FXMenuCheck *arg1 = (FXMenuCheck *) 0 ;
|
3101
3108
|
FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
@@ -3395,8 +3402,8 @@ static VALUE _wrap_new_FXMenuRadio(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
3395
3402
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
3396
3403
|
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
|
3397
3404
|
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXObject, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
|
3398
|
-
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } {
|
3399
|
-
|
3405
|
+
if (argc > 4) { arg5 = NUM2UINT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } }
|
3406
|
+
{ result = (FXMenuRadio *)new_FXMenuRadio(arg1,(FXString const &)*arg2,arg3,arg4,arg5);
|
3400
3407
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3401
3408
|
static VALUE _wrap_FXMenuRadio_setCheck(int argc, VALUE *argv, VALUE self) { FXMenuRadio *arg1 = (FXMenuRadio *) 0 ;
|
3402
3409
|
FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
@@ -1027,6 +1027,7 @@ static VALUE _wrap_new_FXScintilla(int argc, VALUE *argv, VALUE self) { FXCompos
|
|
1027
1027
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1028
1028
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1029
1029
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1030
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1030
1031
|
result = (FXScintilla *)new_FXScintilla(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1031
1032
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1032
1033
|
static VALUE _wrap_FXScintilla_setScintillaID(int argc, VALUE *argv, VALUE self) { FXScintilla *arg1 = (FXScintilla *) 0 ;
|
data/ext/fox16/table_wrap.cpp
CHANGED
@@ -1483,7 +1483,8 @@ static VALUE _wrap_new_FXTable(int argc, VALUE *argv, VALUE self) { FXComposite
|
|
1483
1483
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1484
1484
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); }
|
1485
1485
|
if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) {
|
1486
|
-
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } {
|
1486
|
+
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) {
|
1487
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1487
1488
|
result = (FXTable *)new_FXTable(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1488
1489
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1489
1490
|
static VALUE _wrap_FXTable_cornerButton(int argc, VALUE *argv, VALUE self) { FXTable *arg1 = (FXTable *) 0 ; FXButton *result;
|
data/ext/fox16/text_wrap.cpp
CHANGED
@@ -1532,7 +1532,8 @@ static VALUE _wrap_new_FXText(int argc, VALUE *argv, VALUE self) { FXComposite *
|
|
1532
1532
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1533
1533
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); }
|
1534
1534
|
if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) {
|
1535
|
-
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } {
|
1535
|
+
arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) {
|
1536
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1536
1537
|
result = (FXText *)new_FXText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
|
1537
1538
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1538
1539
|
static VALUE _wrap_FXText_setMarginTop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ;
|
data/ext/fox16/treelist_wrap.cpp
CHANGED
@@ -1354,6 +1354,7 @@ static VALUE _wrap_new_FXFoldingList(int argc, VALUE *argv, VALUE self) { FXComp
|
|
1354
1354
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
1355
1355
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
1356
1356
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
1357
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
1357
1358
|
result = (FXFoldingList *)new_FXFoldingList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
1358
1359
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1359
1360
|
static VALUE _wrap_FXFoldingList_getHeader(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ;
|
@@ -2617,6 +2618,7 @@ static VALUE _wrap_new_FXTreeList(int argc, VALUE *argv, VALUE self) { FXComposi
|
|
2617
2618
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
2618
2619
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
2619
2620
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
2621
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
2620
2622
|
result = (FXTreeList *)new_FXTreeList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
2621
2623
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2622
2624
|
static VALUE _wrap_FXTreeList_getNumItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ;
|
@@ -3776,6 +3778,7 @@ static VALUE _wrap_new_FXDirList(int argc, VALUE *argv, VALUE self) { FXComposit
|
|
3776
3778
|
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
3777
3779
|
if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
3778
3780
|
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
|
3781
|
+
if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } {
|
3779
3782
|
result = (FXDirList *)new_FXDirList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
3780
3783
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
3781
3784
|
static VALUE _wrap_FXDirList_scan(int argc, VALUE *argv, VALUE self) { FXDirList *arg1 = (FXDirList *) 0 ;
|