fxruby 1.6.16 → 1.6.17
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/changes.html +53 -31
- data/doc/differences.html +9 -9
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +4 -4
- data/doc/subversion.html +1 -1
- data/examples/dilbert.rb +1 -1
- data/ext/fox16/FXRbApp.cpp +5 -2
- data/ext/fox16/FXRbDataTarget.cpp +1 -1
- data/ext/fox16/FXRbGLViewer.cpp +1 -1
- data/ext/fox16/FXRuby.cpp +28 -22
- data/ext/fox16/core_wrap.cpp +6 -6
- data/ext/fox16/dc_wrap.cpp +60 -60
- data/ext/fox16/dialogs_wrap.cpp +17 -17
- data/ext/fox16/frames_wrap.cpp +3 -3
- data/ext/fox16/fx3d_wrap.cpp +18 -28
- data/ext/fox16/iconlist_wrap.cpp +6 -6
- data/ext/fox16/icons_wrap.cpp +26 -26
- data/ext/fox16/image_wrap.cpp +12 -12
- data/ext/fox16/include/FXMemoryBuffer.h +1 -1
- data/ext/fox16/include/FXRb4Splitter.h +1 -1
- data/ext/fox16/include/FXRb7Segment.h +1 -1
- data/ext/fox16/include/FXRbAccelTable.h +1 -1
- data/ext/fox16/include/FXRbApp.h +4 -4
- data/ext/fox16/include/FXRbArrowButton.h +1 -1
- data/ext/fox16/include/FXRbBMPIcon.h +1 -1
- data/ext/fox16/include/FXRbBMPImage.h +1 -1
- data/ext/fox16/include/FXRbBitmap.h +1 -1
- data/ext/fox16/include/FXRbBitmapFrame.h +1 -1
- data/ext/fox16/include/FXRbBitmapView.h +1 -1
- data/ext/fox16/include/FXRbButton.h +1 -1
- data/ext/fox16/include/FXRbCURCursor.h +1 -1
- data/ext/fox16/include/FXRbCanvas.h +1 -1
- data/ext/fox16/include/FXRbCheckButton.h +1 -1
- data/ext/fox16/include/FXRbChoiceBox.h +1 -1
- data/ext/fox16/include/FXRbColorBar.h +1 -1
- data/ext/fox16/include/FXRbColorDialog.h +1 -1
- data/ext/fox16/include/FXRbColorList.h +1 -1
- data/ext/fox16/include/FXRbColorRing.h +1 -1
- data/ext/fox16/include/FXRbColorSelector.h +1 -1
- data/ext/fox16/include/FXRbColorWell.h +1 -1
- data/ext/fox16/include/FXRbColorWheel.h +1 -1
- data/ext/fox16/include/FXRbComboBox.h +1 -1
- data/ext/fox16/include/FXRbCommon.h +1 -1
- data/ext/fox16/include/FXRbComposite.h +1 -1
- data/ext/fox16/include/FXRbCursor.h +1 -1
- data/ext/fox16/include/FXRbDC.h +1 -1
- data/ext/fox16/include/FXRbDCPrint.h +1 -1
- data/ext/fox16/include/FXRbDCWindow.h +1 -1
- data/ext/fox16/include/FXRbDataTarget.h +1 -1
- data/ext/fox16/include/FXRbDebugTarget.h +1 -1
- data/ext/fox16/include/FXRbDelegator.h +1 -1
- data/ext/fox16/include/FXRbDial.h +1 -1
- data/ext/fox16/include/FXRbDialogBox.h +1 -1
- data/ext/fox16/include/FXRbDict.h +1 -1
- data/ext/fox16/include/FXRbDirBox.h +1 -1
- data/ext/fox16/include/FXRbDirDialog.h +1 -1
- data/ext/fox16/include/FXRbDirList.h +1 -1
- data/ext/fox16/include/FXRbDirSelector.h +1 -1
- data/ext/fox16/include/FXRbDockBar.h +1 -1
- data/ext/fox16/include/FXRbDockHandler.h +1 -1
- data/ext/fox16/include/FXRbDockSite.h +1 -1
- data/ext/fox16/include/FXRbDockTitle.h +1 -1
- data/ext/fox16/include/FXRbDocument.h +1 -1
- data/ext/fox16/include/FXRbDragCorner.h +1 -1
- data/ext/fox16/include/FXRbDrawable.h +1 -1
- data/ext/fox16/include/FXRbDriveBox.h +1 -1
- data/ext/fox16/include/FXRbFileDialog.h +1 -1
- data/ext/fox16/include/FXRbFileDict.h +1 -1
- data/ext/fox16/include/FXRbFileList.h +1 -1
- data/ext/fox16/include/FXRbFileSelector.h +1 -1
- data/ext/fox16/include/FXRbFoldingList.h +1 -1
- data/ext/fox16/include/FXRbFont.h +1 -1
- data/ext/fox16/include/FXRbFontDialog.h +1 -1
- data/ext/fox16/include/FXRbFontSelector.h +1 -1
- data/ext/fox16/include/FXRbFrame.h +1 -1
- data/ext/fox16/include/FXRbGIFCursor.h +1 -1
- data/ext/fox16/include/FXRbGIFIcon.h +1 -1
- data/ext/fox16/include/FXRbGIFImage.h +1 -1
- data/ext/fox16/include/FXRbGLCanvas.h +1 -1
- data/ext/fox16/include/FXRbGLContext.h +1 -1
- data/ext/fox16/include/FXRbGLObject.h +1 -1
- data/ext/fox16/include/FXRbGLShape.h +1 -1
- data/ext/fox16/include/FXRbGLViewer.h +1 -1
- data/ext/fox16/include/FXRbGLVisual.h +1 -1
- data/ext/fox16/include/FXRbGradientBar.h +1 -1
- data/ext/fox16/include/FXRbGroupBox.h +1 -1
- data/ext/fox16/include/FXRbHeader.h +1 -1
- data/ext/fox16/include/FXRbHorizontalFrame.h +1 -1
- data/ext/fox16/include/FXRbICOIcon.h +1 -1
- data/ext/fox16/include/FXRbICOImage.h +1 -1
- data/ext/fox16/include/FXRbIcon.h +1 -1
- data/ext/fox16/include/FXRbIconList.h +1 -1
- data/ext/fox16/include/FXRbIconSource.h +1 -1
- data/ext/fox16/include/FXRbId.h +1 -1
- data/ext/fox16/include/FXRbImage.h +1 -1
- data/ext/fox16/include/FXRbImageFrame.h +1 -1
- data/ext/fox16/include/FXRbImageView.h +1 -1
- data/ext/fox16/include/FXRbInputDialog.h +1 -1
- data/ext/fox16/include/FXRbJPGIcon.h +1 -1
- data/ext/fox16/include/FXRbJPGImage.h +1 -1
- data/ext/fox16/include/FXRbKnob.h +1 -1
- data/ext/fox16/include/FXRbLabel.h +1 -1
- data/ext/fox16/include/FXRbList.h +1 -1
- data/ext/fox16/include/FXRbListBox.h +1 -1
- data/ext/fox16/include/FXRbMDIButton.h +1 -1
- data/ext/fox16/include/FXRbMDIChild.h +1 -1
- data/ext/fox16/include/FXRbMDIClient.h +1 -1
- data/ext/fox16/include/FXRbMainWindow.h +1 -1
- data/ext/fox16/include/FXRbMatrix.h +1 -1
- data/ext/fox16/include/FXRbMenuBar.h +1 -1
- data/ext/fox16/include/FXRbMenuButton.h +1 -1
- data/ext/fox16/include/FXRbMenuCaption.h +1 -1
- data/ext/fox16/include/FXRbMenuCascade.h +1 -1
- data/ext/fox16/include/FXRbMenuCheck.h +1 -1
- data/ext/fox16/include/FXRbMenuCommand.h +1 -1
- data/ext/fox16/include/FXRbMenuPane.h +1 -1
- data/ext/fox16/include/FXRbMenuRadio.h +1 -1
- data/ext/fox16/include/FXRbMenuSeparator.h +1 -1
- data/ext/fox16/include/FXRbMenuTitle.h +1 -1
- data/ext/fox16/include/FXRbMessageBox.h +1 -1
- data/ext/fox16/include/FXRbObject.h +1 -1
- data/ext/fox16/include/FXRbOptionMenu.h +1 -1
- data/ext/fox16/include/FXRbPCXIcon.h +1 -1
- data/ext/fox16/include/FXRbPCXImage.h +1 -1
- data/ext/fox16/include/FXRbPNGIcon.h +1 -1
- data/ext/fox16/include/FXRbPNGImage.h +1 -1
- data/ext/fox16/include/FXRbPPMIcon.h +1 -1
- data/ext/fox16/include/FXRbPPMImage.h +1 -1
- data/ext/fox16/include/FXRbPacker.h +1 -1
- data/ext/fox16/include/FXRbPicker.h +1 -1
- data/ext/fox16/include/FXRbPopup.h +1 -1
- data/ext/fox16/include/FXRbPrintDialog.h +1 -1
- data/ext/fox16/include/FXRbProgressBar.h +1 -1
- data/ext/fox16/include/FXRbProgressDialog.h +1 -1
- data/ext/fox16/include/FXRbRGBIcon.h +1 -1
- data/ext/fox16/include/FXRbRGBImage.h +1 -1
- data/ext/fox16/include/FXRbRadioButton.h +1 -1
- data/ext/fox16/include/FXRbRealSlider.h +1 -1
- data/ext/fox16/include/FXRbRealSpinner.h +1 -1
- data/ext/fox16/include/FXRbRecentFiles.h +1 -1
- data/ext/fox16/include/FXRbRegistry.h +1 -1
- data/ext/fox16/include/FXRbReplaceDialog.h +1 -1
- data/ext/fox16/include/FXRbRootWindow.h +1 -1
- data/ext/fox16/include/FXRbRuler.h +1 -1
- data/ext/fox16/include/FXRbScintilla.h +1 -1
- data/ext/fox16/include/FXRbScrollArea.h +1 -1
- data/ext/fox16/include/FXRbScrollBar.h +1 -1
- data/ext/fox16/include/FXRbScrollPane.h +1 -1
- data/ext/fox16/include/FXRbScrollWindow.h +1 -1
- data/ext/fox16/include/FXRbSearchDialog.h +1 -1
- data/ext/fox16/include/FXRbSeparator.h +1 -1
- data/ext/fox16/include/FXRbSettings.h +1 -1
- data/ext/fox16/include/FXRbShell.h +1 -1
- data/ext/fox16/include/FXRbShutter.h +1 -1
- data/ext/fox16/include/FXRbSlider.h +1 -1
- data/ext/fox16/include/FXRbSpinner.h +1 -1
- data/ext/fox16/include/FXRbSplashWindow.h +1 -1
- data/ext/fox16/include/FXRbSplitter.h +1 -1
- data/ext/fox16/include/FXRbSpring.h +1 -1
- data/ext/fox16/include/FXRbStatusBar.h +1 -1
- data/ext/fox16/include/FXRbStatusLine.h +1 -1
- data/ext/fox16/include/FXRbStream.h +1 -1
- data/ext/fox16/include/FXRbStringDict.h +1 -1
- data/ext/fox16/include/FXRbSwitcher.h +1 -1
- data/ext/fox16/include/FXRbTGAIcon.h +1 -1
- data/ext/fox16/include/FXRbTGAImage.h +1 -1
- data/ext/fox16/include/FXRbTIFIcon.h +1 -1
- data/ext/fox16/include/FXRbTIFImage.h +1 -1
- data/ext/fox16/include/FXRbTabBar.h +1 -1
- data/ext/fox16/include/FXRbTabBook.h +1 -1
- data/ext/fox16/include/FXRbTabItem.h +1 -1
- data/ext/fox16/include/FXRbTable.h +1 -1
- data/ext/fox16/include/FXRbText.h +1 -1
- data/ext/fox16/include/FXRbTextField.h +1 -1
- data/ext/fox16/include/FXRbToggleButton.h +1 -1
- data/ext/fox16/include/FXRbToolBar.h +1 -1
- data/ext/fox16/include/FXRbToolBarGrip.h +1 -1
- data/ext/fox16/include/FXRbToolBarShell.h +1 -1
- data/ext/fox16/include/FXRbToolBarTab.h +1 -1
- data/ext/fox16/include/FXRbToolTip.h +1 -1
- data/ext/fox16/include/FXRbTopWindow.h +1 -1
- data/ext/fox16/include/FXRbTranslator.h +1 -1
- data/ext/fox16/include/FXRbTreeList.h +1 -1
- data/ext/fox16/include/FXRbTreeListBox.h +1 -1
- data/ext/fox16/include/FXRbTriStateButton.h +1 -1
- data/ext/fox16/include/FXRbVerticalFrame.h +1 -1
- data/ext/fox16/include/FXRbVisual.h +1 -1
- data/ext/fox16/include/FXRbWindow.h +1 -1
- data/ext/fox16/include/FXRbWizard.h +1 -1
- data/ext/fox16/include/FXRbXBMIcon.h +1 -1
- data/ext/fox16/include/FXRbXBMImage.h +1 -1
- data/ext/fox16/include/FXRbXPMIcon.h +1 -1
- data/ext/fox16/include/FXRbXPMImage.h +1 -1
- data/ext/fox16/include/FXRuby.h +1 -1
- data/ext/fox16/list_wrap.cpp +8 -8
- data/ext/fox16/markfuncs.cpp +8 -8
- data/ext/fox16/table_wrap.cpp +34 -16
- data/ext/fox16/text_wrap.cpp +1 -1
- data/ext/fox16/treelist_wrap.cpp +7 -7
- data/ext/fox16/ui_wrap.cpp +10 -10
- data/ext/fox16/unregisterOwnedObjects.cpp +2 -2
- data/lib/fox16/kwargs.rb +4 -0
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FXTable.rb +24 -16
- data/tests/TC_FXRanged.rb +42 -0
- data/tests/TC_FXRangef.rb +12 -18
- data/tests/TC_FXTable.rb +193 -0
- metadata +4 -3
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSHELL_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSHUTTER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSLIDER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSPINNER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSPLASHWINDOW_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSPLITTER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSPRING_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSTATUSBAR_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSTATUSLINE_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSTREAM_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSTRINGDICT_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBSWITCHER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTGAICON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTGAIMAGE_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTIFICON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTIFIMAGE_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTABBAR_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTABBOOK_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTABITEM_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTABLE_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTEXT_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTEXTFIELD_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOGGLEBUTTON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOOLBAR_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOOLBARGRIP_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOOLBARSHELL_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOOLBARTAB_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOOLTIP_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTOPWINDOW_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTRANSLATOR_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTREELIST_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTREELISTBOX_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBTRISTATEBUTTON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBVERTICALFRAME_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBVISUAL_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBWINDOW_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBWIZARD_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBXBMICON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBXBMIMAGE_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBXPMICON_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBXPMIMAGE_H
|
data/ext/fox16/include/FXRuby.h
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id
|
24
|
+
* $Id$
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRUBY_H
|
data/ext/fox16/list_wrap.cpp
CHANGED
@@ -1185,9 +1185,9 @@ static VALUE _wrap_FXList_fillItems(int argc, VALUE *argv, VALUE self) { FXList
|
|
1185
1185
|
FXchar **arg2 = (FXchar **) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ;
|
1186
1186
|
FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
|
1187
1187
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
|
1188
|
-
{ arg2 = NULL; if(!NIL_P(argv[0])){ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *,
|
1189
|
-
for (long i = 0; i <
|
1190
|
-
arg2[i] = (FXchar *) StringValuePtr(e); } arg2[
|
1188
|
+
{ arg2 = NULL; if(!NIL_P(argv[0])){ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0]))+1) {
|
1189
|
+
for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i);
|
1190
|
+
arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } if (argc > 1) {
|
1191
1191
|
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 2) {
|
1192
1192
|
SWIG_ConvertPtr(argv[2], (void **) &arg4, 0, 1); } if (argc > 3) { arg5 = to_FXbool(argv[3]); }
|
1193
1193
|
result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4,arg5); vresult = INT2NUM(result); FXFREE(&arg2);
|
@@ -1864,12 +1864,12 @@ static VALUE _wrap_FXColorList_fillItems(int argc, VALUE *argv, VALUE self) { FX
|
|
1864
1864
|
FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
|
1865
1865
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1866
1866
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); { arg2 = NULL; if(!NIL_P(argv[0])){
|
1867
|
-
Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *,
|
1868
|
-
for (long i = 0; i <
|
1869
|
-
arg2[i] = (FXchar *) StringValuePtr(e); } arg2[
|
1867
|
+
Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0]))+1) {
|
1868
|
+
for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i);
|
1869
|
+
arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } if (argc > 1) { {
|
1870
1870
|
arg3 = NULL; if(!NIL_P(argv[1])){ Check_Type(argv[1], T_ARRAY);
|
1871
|
-
if (FXMALLOC(&arg3, FXColor,
|
1872
|
-
arg3[i] = static_cast<FXColor>(NUM2ULONG(rb_ary_entry(argv[1], i))); } arg3[
|
1871
|
+
if (FXMALLOC(&arg3, FXColor, RARRAY_LEN(argv[1]))+1) { for (long i = 0; i < RARRAY_LEN(argv[1]); i++) {
|
1872
|
+
arg3[i] = static_cast<FXColor>(NUM2ULONG(rb_ary_entry(argv[1], i))); } arg3[RARRAY_LEN(argv[1])] = 0; }
|
1873
1873
|
} } } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) {
|
1874
1874
|
arg5 = to_FXbool(argv[3]); } result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4,arg5);
|
1875
1875
|
vresult = INT2NUM(result); FXFREE(&arg2); FXFREE(&arg3); return vresult; }
|