fxruby 1.4.7 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (527) hide show
  1. data/doc/apes02.html +6 -6
  2. data/doc/apes03.html +11 -11
  3. data/doc/book.html +1 -1
  4. data/doc/build.html +65 -67
  5. data/doc/ch03s02.html +7 -7
  6. data/doc/ch03s03.html +18 -18
  7. data/doc/ch03s04.html +11 -11
  8. data/doc/ch03s05.html +14 -14
  9. data/doc/ch04s02.html +14 -14
  10. data/doc/ch04s03.html +15 -15
  11. data/doc/ch04s04.html +28 -28
  12. data/doc/ch05s02.html +49 -49
  13. data/doc/ch05s03.html +8 -8
  14. data/doc/clipboardtut.html +45 -57
  15. data/doc/cvs.html +10 -10
  16. data/doc/differences.html +4 -4
  17. data/doc/dragdroptut.html +50 -50
  18. data/doc/events.html +11 -11
  19. data/doc/examples.html +48 -48
  20. data/doc/gems.html +38 -38
  21. data/doc/goals.html +4 -4
  22. data/doc/implementation.html +4 -4
  23. data/doc/infosources.html +9 -9
  24. data/doc/library.html +19 -19
  25. data/doc/opengl.html +31 -31
  26. data/doc/pt01.html +1 -1
  27. data/doc/pt02.html +1 -1
  28. data/doc/scintilla.html +15 -15
  29. data/doc/todo.html +6 -6
  30. data/doc/tutorial1.html +34 -34
  31. data/examples/babelfish.rb +1 -1
  32. data/examples/bounce.rb +1 -1
  33. data/examples/browser.rb +2 -2
  34. data/examples/button.rb +1 -1
  35. data/examples/datatarget.rb +2 -2
  36. data/examples/dctest.rb +12 -12
  37. data/examples/dialog.rb +1 -1
  38. data/examples/dilbert.rb +2 -2
  39. data/examples/dirlist.rb +1 -1
  40. data/examples/dragdrop.rb +1 -1
  41. data/examples/dragsource.rb +1 -1
  42. data/examples/dropsite.rb +1 -1
  43. data/examples/foursplit.rb +1 -1
  44. data/examples/gltest.rb +2 -2
  45. data/examples/glviewer.rb +4 -4
  46. data/examples/groupbox.rb +22 -22
  47. data/examples/header.rb +1 -1
  48. data/examples/hello.rb +1 -1
  49. data/examples/hello2.rb +1 -1
  50. data/examples/iconlist.rb +1 -1
  51. data/examples/image.rb +2 -2
  52. data/examples/imageviewer.rb +1 -1
  53. data/examples/inputs.rb +1 -1
  54. data/examples/mditest.rb +2 -2
  55. data/examples/pig.rb +1 -1
  56. data/examples/raabrowser.rb +2 -2
  57. data/examples/ratio.rb +2 -2
  58. data/examples/scintilla-test.rb +2 -2
  59. data/examples/scribble-orig.rb +3 -3
  60. data/examples/scribble.rb +1 -1
  61. data/examples/shutter.rb +1 -1
  62. data/examples/splitter.rb +36 -36
  63. data/examples/styledtext.rb +2 -2
  64. data/examples/tabbook.rb +1 -1
  65. data/examples/table.rb +1 -1
  66. data/examples/textedit/commands.rb +2 -2
  67. data/examples/textedit/helpwindow.rb +1 -1
  68. data/examples/textedit/prefdialog.rb +1 -1
  69. data/examples/textedit/textedit.rb +5 -3
  70. data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
  71. data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
  72. data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
  73. data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
  74. data/ext/{fox14 → fox16}/MANIFEST +0 -0
  75. data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
  76. data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
  77. data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
  78. data/ext/{fox14 → fox16}/extconf.rb +8 -8
  79. data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
  80. data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
  81. data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
  82. data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
  83. data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
  84. data/ext/{fox14 → fox16}/impl.cpp +29 -0
  85. data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
  86. data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
  87. data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
  88. data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
  89. data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
  90. data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
  91. data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
  92. data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
  93. data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
  94. data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
  95. data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
  96. data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
  97. data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
  98. data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
  99. data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
  100. data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
  101. data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
  102. data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
  103. data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
  104. data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
  105. data/ext/fox16/include/FXRbColorList.h +84 -0
  106. data/ext/fox16/include/FXRbColorRing.h +51 -0
  107. data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
  108. data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
  109. data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
  110. data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
  111. data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
  112. data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
  113. data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
  114. data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
  115. data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
  116. data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
  117. data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
  118. data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
  119. data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
  120. data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
  121. data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
  122. data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
  123. data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
  124. data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
  125. data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
  126. data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
  127. data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
  128. data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
  129. data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
  130. data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
  131. data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
  132. data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
  133. data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
  134. data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
  135. data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
  136. data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
  137. data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
  138. data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
  139. data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
  140. data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
  141. data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
  142. data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
  143. data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
  144. data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
  145. data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
  146. data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
  147. data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
  148. data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
  149. data/ext/fox16/include/FXRbFont.h +183 -0
  150. data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
  151. data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
  152. data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
  153. data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
  154. data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
  155. data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
  156. data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
  157. data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
  158. data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
  159. data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
  160. data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
  161. data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
  162. data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
  163. data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
  164. data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
  165. data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
  166. data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
  167. data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
  168. data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
  169. data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
  170. data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
  171. data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
  172. data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
  173. data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
  174. data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
  175. data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
  176. data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
  177. data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
  178. data/ext/fox16/include/FXRbIconSource.h +127 -0
  179. data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
  180. data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
  181. data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
  182. data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
  183. data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
  184. data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
  185. data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
  186. data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
  187. data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
  188. data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
  189. data/ext/fox16/include/FXRbKnob.h +51 -0
  190. data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
  191. data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
  192. data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
  193. data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
  194. data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
  195. data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
  196. data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
  197. data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
  198. data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
  199. data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
  200. data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
  201. data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
  202. data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
  203. data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
  204. data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
  205. data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
  206. data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
  207. data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
  208. data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
  209. data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
  210. data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
  211. data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
  212. data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
  213. data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
  214. data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
  215. data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
  216. data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
  217. data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
  218. data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
  219. data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
  220. data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
  221. data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
  222. data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
  223. data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
  224. data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
  225. data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
  226. data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
  227. data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
  228. data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
  229. data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
  230. data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
  231. data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
  232. data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
  233. data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
  234. data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
  235. data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
  236. data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
  237. data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
  238. data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
  239. data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
  240. data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
  241. data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
  242. data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
  243. data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
  244. data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
  245. data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
  246. data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
  247. data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
  248. data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
  249. data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
  250. data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
  251. data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
  252. data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
  253. data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
  254. data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
  255. data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
  256. data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
  257. data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
  258. data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
  259. data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
  260. data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
  261. data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
  262. data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
  263. data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
  264. data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
  265. data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
  266. data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
  267. data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
  268. data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
  269. data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
  270. data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
  271. data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
  272. data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
  273. data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
  274. data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
  275. data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
  276. data/ext/fox16/include/FXRbText.h +187 -0
  277. data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
  278. data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
  279. data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
  280. data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
  281. data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
  282. data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
  283. data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
  284. data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
  285. data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
  286. data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
  287. data/ext/fox16/include/FXRbTranslator.h +61 -0
  288. data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
  289. data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
  290. data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
  291. data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
  292. data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
  293. data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
  294. data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
  295. data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
  296. data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
  297. data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
  298. data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
  299. data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
  300. data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
  301. data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
  302. data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
  303. data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
  304. data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
  305. data/ext/{fox14 → fox16}/include/impl.h +5 -0
  306. data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
  307. data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
  308. data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
  309. data/ext/{fox14 → fox16}/librb.c +0 -0
  310. data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
  311. data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
  312. data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
  313. data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
  314. data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
  315. data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
  316. data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
  317. data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
  318. data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
  319. data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
  320. data/lib/{fox14 → fox16}/aliases.rb +119 -46
  321. data/lib/{fox14 → fox16}/calendar.rb +2 -2
  322. data/lib/{fox14 → fox16}/chore.rb +6 -22
  323. data/lib/{fox14 → fox16}/colors.rb +1 -1
  324. data/lib/{fox14 → fox16}/core.rb +122 -4
  325. data/lib/{fox14 → fox16}/dict.rb +0 -0
  326. data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
  327. data/lib/{fox14 → fox16}/glgroup.rb +4 -2
  328. data/lib/{fox14 → fox16}/glshapes.rb +1 -1
  329. data/lib/{fox14 → fox16}/input.rb +1 -1
  330. data/lib/{fox14 → fox16}/irb.rb +1 -1
  331. data/lib/{fox14 → fox16}/iterators.rb +1 -1
  332. data/lib/{fox14 → fox16}/keys.rb +2 -2
  333. data/lib/{fox14 → fox16}/missingdep.rb +1 -1
  334. data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
  335. data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
  336. data/lib/{fox14 → fox16}/responder.rb +1 -1
  337. data/lib/{fox14 → fox16}/responder2.rb +5 -5
  338. data/lib/{fox14 → fox16}/scintilla.rb +249 -12
  339. data/lib/{fox14 → fox16}/settings.rb +0 -0
  340. data/lib/{fox14 → fox16}/signal.rb +1 -1
  341. data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
  342. data/lib/{fox14 → fox16}/timeout.rb +10 -37
  343. data/lib/{fox14 → fox16}/undolist.rb +2 -2
  344. data/lib/{fox14 → fox16}/version.rb +2 -2
  345. data/rdoc-sources/FX4Splitter.rb +24 -6
  346. data/rdoc-sources/FX7Segment.rb +6 -0
  347. data/rdoc-sources/FXAccelTable.rb +35 -0
  348. data/rdoc-sources/FXApp.rb +113 -1
  349. data/rdoc-sources/FXBMPIcon.rb +5 -0
  350. data/rdoc-sources/FXBMPImage.rb +5 -0
  351. data/rdoc-sources/FXBitmap.rb +23 -1
  352. data/rdoc-sources/FXCheckButton.rb +7 -0
  353. data/rdoc-sources/FXColorList.rb +55 -0
  354. data/rdoc-sources/FXColorRing.rb +49 -0
  355. data/rdoc-sources/FXColorWheel.rb +22 -2
  356. data/rdoc-sources/FXComboBox.rb +10 -0
  357. data/rdoc-sources/FXDC.rb +18 -0
  358. data/rdoc-sources/FXDial.rb +34 -1
  359. data/rdoc-sources/FXDirList.rb +1 -0
  360. data/rdoc-sources/FXDockBar.rb +21 -6
  361. data/rdoc-sources/FXDockHandler.rb +7 -0
  362. data/rdoc-sources/FXDockSite.rb +18 -0
  363. data/rdoc-sources/FXExtentd.rb +85 -0
  364. data/rdoc-sources/FXExtentf.rb +85 -0
  365. data/rdoc-sources/FXFileDialog.rb +11 -0
  366. data/rdoc-sources/FXFileDict.rb +7 -7
  367. data/rdoc-sources/FXFileList.rb +22 -0
  368. data/rdoc-sources/FXFileSelector.rb +10 -0
  369. data/rdoc-sources/FXFoldingList.rb +13 -2
  370. data/rdoc-sources/FXFont.rb +68 -62
  371. data/rdoc-sources/FXGIFIcon.rb +5 -0
  372. data/rdoc-sources/FXGIFImage.rb +5 -0
  373. data/rdoc-sources/FXGLViewer.rb +23 -0
  374. data/rdoc-sources/FXGradientBar.rb +10 -0
  375. data/rdoc-sources/FXHeader.rb +11 -0
  376. data/rdoc-sources/FXICOIcon.rb +5 -0
  377. data/rdoc-sources/FXICOImage.rb +5 -0
  378. data/rdoc-sources/FXIconList.rb +8 -0
  379. data/rdoc-sources/FXIconSource.rb +12 -12
  380. data/rdoc-sources/FXImage.rb +0 -4
  381. data/rdoc-sources/FXInputDialog.rb +19 -6
  382. data/rdoc-sources/FXJPGIcon.rb +5 -0
  383. data/rdoc-sources/FXJPGImage.rb +5 -0
  384. data/rdoc-sources/FXKnob.rb +76 -0
  385. data/rdoc-sources/FXList.rb +8 -0
  386. data/rdoc-sources/FXListBox.rb +7 -1
  387. data/rdoc-sources/FXMenuCaption.rb +3 -0
  388. data/rdoc-sources/FXMenuCheck.rb +2 -2
  389. data/rdoc-sources/FXMenuCommand.rb +1 -2
  390. data/rdoc-sources/FXMenuRadio.rb +5 -2
  391. data/rdoc-sources/FXOptionMenu.rb +7 -0
  392. data/rdoc-sources/FXPCXIcon.rb +5 -0
  393. data/rdoc-sources/FXPCXImage.rb +5 -0
  394. data/rdoc-sources/FXPNGIcon.rb +5 -0
  395. data/rdoc-sources/FXPNGImage.rb +5 -0
  396. data/rdoc-sources/FXPPMIcon.rb +5 -0
  397. data/rdoc-sources/FXPPMImage.rb +5 -0
  398. data/rdoc-sources/FXQuatd.rb +5 -12
  399. data/rdoc-sources/FXQuatf.rb +5 -7
  400. data/rdoc-sources/FXRGBIcon.rb +5 -0
  401. data/rdoc-sources/FXRGBImage.rb +5 -0
  402. data/rdoc-sources/FXRadioButton.rb +6 -0
  403. data/rdoc-sources/FXRanged.rb +3 -0
  404. data/rdoc-sources/FXRangef.rb +3 -0
  405. data/rdoc-sources/FXRealSlider.rb +3 -1
  406. data/rdoc-sources/FXRealSpinner.rb +11 -4
  407. data/rdoc-sources/FXRecentFiles.rb +10 -6
  408. data/rdoc-sources/FXRectangle.rb +12 -0
  409. data/rdoc-sources/FXRuler.rb +28 -0
  410. data/rdoc-sources/FXScrollBar.rb +9 -3
  411. data/rdoc-sources/FXScrollPane.rb +3 -0
  412. data/rdoc-sources/FXSettings.rb +26 -0
  413. data/rdoc-sources/FXSize.rb +65 -0
  414. data/rdoc-sources/FXSlider.rb +2 -0
  415. data/rdoc-sources/FXSphered.rb +12 -0
  416. data/rdoc-sources/FXSpheref.rb +12 -0
  417. data/rdoc-sources/FXSpinner.rb +8 -4
  418. data/rdoc-sources/FXTGAIcon.rb +5 -0
  419. data/rdoc-sources/FXTGAImage.rb +5 -0
  420. data/rdoc-sources/FXTIFIcon.rb +5 -0
  421. data/rdoc-sources/FXTIFImage.rb +5 -0
  422. data/rdoc-sources/FXTabBar.rb +5 -1
  423. data/rdoc-sources/FXTabBook.rb +3 -0
  424. data/rdoc-sources/FXTabItem.rb +7 -0
  425. data/rdoc-sources/FXTable.rb +96 -18
  426. data/rdoc-sources/FXText.rb +47 -12
  427. data/rdoc-sources/FXTextField.rb +6 -0
  428. data/rdoc-sources/FXToggleButton.rb +0 -1
  429. data/rdoc-sources/FXTopWindow.rb +44 -2
  430. data/rdoc-sources/FXTranslator.rb +32 -0
  431. data/rdoc-sources/FXTreeList.rb +8 -0
  432. data/rdoc-sources/FXTreeListBox.rb +20 -0
  433. data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
  434. data/rdoc-sources/FXVec2f.rb +96 -0
  435. data/rdoc-sources/FXVec3d.rb +113 -0
  436. data/rdoc-sources/FXVec3f.rb +113 -0
  437. data/rdoc-sources/FXVec4d.rb +129 -0
  438. data/rdoc-sources/FXVec4f.rb +129 -0
  439. data/rdoc-sources/FXWindow.rb +89 -14
  440. data/rdoc-sources/FXXBMIcon.rb +5 -0
  441. data/rdoc-sources/FXXBMImage.rb +5 -0
  442. data/rdoc-sources/FXXPMIcon.rb +5 -0
  443. data/rdoc-sources/FXXPMImage.rb +5 -0
  444. data/rdoc-sources/README.rdoc +1 -1
  445. data/tests/TC_FXAccelTable.rb +1 -1
  446. data/tests/TC_FXApp.rb +1 -1
  447. data/tests/TC_FXArc.rb +1 -1
  448. data/tests/TC_FXBMPIcon.rb +1 -1
  449. data/tests/TC_FXBMPImage.rb +1 -1
  450. data/tests/TC_FXButton.rb +1 -1
  451. data/tests/TC_FXCheckButton.rb +1 -1
  452. data/tests/TC_FXComboBox.rb +2 -1
  453. data/tests/TC_FXDC.rb +1 -1
  454. data/tests/TC_FXDCPrint.rb +1 -1
  455. data/tests/TC_FXDCWindow.rb +1 -1
  456. data/tests/TC_FXDataTarget.rb +1 -1
  457. data/tests/TC_FXDirList.rb +2 -2
  458. data/tests/TC_FXFileAssoc.rb +1 -1
  459. data/tests/TC_FXFileStream.rb +1 -1
  460. data/tests/TC_FXFont.rb +2 -2
  461. data/tests/TC_FXFontDesc.rb +15 -19
  462. data/tests/TC_FXGLGroup.rb +1 -1
  463. data/tests/TC_FXGLShape.rb +1 -1
  464. data/tests/TC_FXGLViewer.rb +1 -3
  465. data/tests/TC_FXGradientBar.rb +1 -1
  466. data/tests/TC_FXHeader.rb +2 -2
  467. data/tests/TC_FXIconDict.rb +1 -1
  468. data/tests/TC_FXIconList.rb +2 -2
  469. data/tests/TC_FXId.rb +2 -2
  470. data/tests/TC_FXImage.rb +1 -1
  471. data/tests/TC_FXLight.rb +1 -1
  472. data/tests/TC_FXList.rb +2 -12
  473. data/tests/TC_FXListBox.rb +2 -2
  474. data/tests/TC_FXMat4f.rb +1 -1
  475. data/tests/TC_FXMaterial.rb +2 -2
  476. data/tests/TC_FXMemoryStream.rb +1 -1
  477. data/tests/TC_FXMenuCheck.rb +1 -1
  478. data/tests/TC_FXMenuCommand.rb +15 -1
  479. data/tests/TC_FXMenuRadio.rb +1 -1
  480. data/tests/TC_FXPoint.rb +1 -1
  481. data/tests/TC_FXQuatf.rb +1 -1
  482. data/tests/TC_FXRadioButton.rb +1 -1
  483. data/tests/TC_FXRangef.rb +1 -1
  484. data/tests/TC_FXRectangle.rb +1 -1
  485. data/tests/TC_FXRegion.rb +1 -1
  486. data/tests/TC_FXRegistry.rb +1 -1
  487. data/tests/TC_FXScrollArea.rb +1 -1
  488. data/tests/TC_FXScrollWindow.rb +1 -1
  489. data/tests/TC_FXSegment.rb +1 -1
  490. data/tests/TC_FXSettings.rb +1 -1
  491. data/tests/TC_FXShell.rb +1 -1
  492. data/tests/TC_FXSize.rb +1 -1
  493. data/tests/TC_FXStream.rb +1 -1
  494. data/tests/TC_FXTable.rb +33 -1
  495. data/tests/TC_FXTableItem.rb +2 -2
  496. data/tests/TC_FXText.rb +2 -2
  497. data/tests/TC_FXTopWindow.rb +1 -1
  498. data/tests/TC_FXTreeList.rb +2 -2
  499. data/tests/TC_FXTreeListBox.rb +2 -2
  500. data/tests/TC_FXUndoList.rb +2 -2
  501. data/tests/TC_FXVec2d.rb +6 -6
  502. data/tests/TC_FXVec2f.rb +5 -5
  503. data/tests/TC_FXVec3d.rb +5 -5
  504. data/tests/TC_FXVec3f.rb +5 -5
  505. data/tests/TC_FXVec4f.rb +3 -3
  506. data/tests/TC_FXViewport.rb +1 -1
  507. data/tests/TC_FXXBMIcon.rb +1 -1
  508. data/tests/TC_FXXBMImage.rb +1 -1
  509. data/tests/TC_FXXPMIcon.rb +1 -1
  510. data/tests/TC_FXXPMImage.rb +1 -1
  511. data/tests/TC_Misc.rb +1 -1
  512. data/tests/TC_downcast.rb +1 -1
  513. data/tests/TS_All.rb +1 -2
  514. data/tests/stress1.rb +5 -5
  515. data/tests/stress2.rb +1 -1
  516. data/tests/stress3.rb +1 -1
  517. data/tests/testcase.rb +1 -1
  518. metadata +294 -280
  519. data/doc/changes.html +0 -433
  520. data/ext/fox14/include/FXRbFont.h +0 -70
  521. data/ext/fox14/include/FXRbIconSource.h +0 -127
  522. data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
  523. data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
  524. data/ext/fox14/include/FXRbText.h +0 -94
  525. data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
  526. data/rdoc-sources/FXMat4.rb +0 -171
  527. data/rdoc-sources/FXVec4.rb +0 -91
File without changes
@@ -527,49 +527,55 @@ SWIGIMPORT(void) SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_ty
527
527
  #define SWIGTYPE_p_FXIconDict swig_types[8]
528
528
  #define SWIGTYPE_p_FXShell swig_types[9]
529
529
  #define SWIGTYPE_p_FXPopup swig_types[10]
530
- #define SWIGTYPE_p_FXRootWindow swig_types[11]
531
- #define SWIGTYPE_p_FXWindow swig_types[12]
532
- #define SWIGTYPE_p_FXTopWindow swig_types[13]
533
- #define SWIGTYPE_p_void swig_types[14]
534
- #define SWIGTYPE_p_FXDocument swig_types[15]
535
- #define SWIGTYPE_p_FXRecentFiles swig_types[16]
536
- #define SWIGTYPE_p_FXMainWindow swig_types[17]
537
- #define SWIGTYPE_p_FXSplashWindow swig_types[18]
538
- #define SWIGTYPE_p_FXIcon swig_types[19]
539
- #define SWIGTYPE_p_FXID swig_types[20]
540
- #define SWIGTYPE_p_FXMutex swig_types[21]
541
- #define SWIGTYPE_p_FXEvent swig_types[22]
542
- #define SWIGTYPE_p_FXIconSource swig_types[23]
543
- #define SWIGTYPE_p_FXObject swig_types[24]
544
- #define SWIGTYPE_p_FXStringDict swig_types[25]
545
- #define SWIGTYPE_p_FXBitmap swig_types[26]
546
- #define SWIGTYPE_p_FXRectangle swig_types[27]
547
- #define SWIGTYPE_p_FXString swig_types[28]
548
- #define SWIGTYPE_p_FXPoint swig_types[29]
549
- #define SWIGTYPE_p_FXFileDict swig_types[30]
550
- #define SWIGTYPE_p_FXDebugTarget swig_types[31]
551
- #define SWIGTYPE_p_FXDataTarget swig_types[32]
552
- #define SWIGTYPE_p_FXDelegator swig_types[33]
553
- #define SWIGTYPE_p_FXDrawable swig_types[34]
554
- #define SWIGTYPE_p_FXCursor swig_types[35]
555
- #define SWIGTYPE_p_FXCURCursor swig_types[36]
556
- #define SWIGTYPE_p_FXGIFCursor swig_types[37]
557
- #define SWIGTYPE_p_FXStream swig_types[38]
558
- #define SWIGTYPE_p_FXFontDesc swig_types[39]
559
- #define SWIGTYPE_p_FXApp swig_types[40]
560
- #define SWIGTYPE_p_FXRegion swig_types[41]
561
- #define SWIGTYPE_p_FXColor swig_types[42]
562
- #define SWIGTYPE_p_FXSize swig_types[43]
563
- #define SWIGTYPE_p_p_FXchar swig_types[44]
564
- #define SWIGTYPE_p_FXFont swig_types[45]
565
- #define SWIGTYPE_p_FXchar swig_types[46]
566
- #define SWIGTYPE_p_FXFrame swig_types[47]
567
- #define SWIGTYPE_p_FXFileAssoc swig_types[48]
568
- #define SWIGTYPE_p_FXVisual swig_types[49]
569
- #define SWIGTYPE_p_FXuint swig_types[50]
570
- #define SWIGTYPE_p_FXFileStream swig_types[51]
571
- #define SWIGTYPE_p_FXMemoryStream swig_types[52]
572
- static swig_type_info *swig_types[54];
530
+ #define SWIGTYPE_p_FXTimer swig_types[11]
531
+ #define SWIGTYPE_p_p_FXWindow swig_types[12]
532
+ #define SWIGTYPE_p_FXRootWindow swig_types[13]
533
+ #define SWIGTYPE_p_FXWindow swig_types[14]
534
+ #define SWIGTYPE_p_FXTopWindow swig_types[15]
535
+ #define SWIGTYPE_p_void swig_types[16]
536
+ #define SWIGTYPE_p_FXDocument swig_types[17]
537
+ #define SWIGTYPE_p_FXRecentFiles swig_types[18]
538
+ #define SWIGTYPE_p_FXMainWindow swig_types[19]
539
+ #define SWIGTYPE_p_FXSplashWindow swig_types[20]
540
+ #define SWIGTYPE_p_FXIcon swig_types[21]
541
+ #define SWIGTYPE_p_FXID swig_types[22]
542
+ #define SWIGTYPE_p_FXMutex swig_types[23]
543
+ #define SWIGTYPE_p_FXEvent swig_types[24]
544
+ #define SWIGTYPE_p_FXIconSource swig_types[25]
545
+ #define SWIGTYPE_p_FXObject swig_types[26]
546
+ #define SWIGTYPE_p_FXStringDict swig_types[27]
547
+ #define SWIGTYPE_p_FXBitmap swig_types[28]
548
+ #define SWIGTYPE_p_FXRectangle swig_types[29]
549
+ #define SWIGTYPE_p_FXString swig_types[30]
550
+ #define SWIGTYPE_p_FXTextCodec swig_types[31]
551
+ #define SWIGTYPE_p_FXComposeContext swig_types[32]
552
+ #define SWIGTYPE_p_FXPoint swig_types[33]
553
+ #define SWIGTYPE_p_FXFileDict swig_types[34]
554
+ #define SWIGTYPE_p_FXDataTarget swig_types[35]
555
+ #define SWIGTYPE_p_FXDebugTarget swig_types[36]
556
+ #define SWIGTYPE_p_FXDrawable swig_types[37]
557
+ #define SWIGTYPE_p_FXCursor swig_types[38]
558
+ #define SWIGTYPE_p_FXDelegator swig_types[39]
559
+ #define SWIGTYPE_p_FXCURCursor swig_types[40]
560
+ #define SWIGTYPE_p_FXGIFCursor swig_types[41]
561
+ #define SWIGTYPE_p_FXTranslator swig_types[42]
562
+ #define SWIGTYPE_p_FXStream swig_types[43]
563
+ #define SWIGTYPE_p_FXFontDesc swig_types[44]
564
+ #define SWIGTYPE_p_FXApp swig_types[45]
565
+ #define SWIGTYPE_p_FXChore swig_types[46]
566
+ #define SWIGTYPE_p_FXRegion swig_types[47]
567
+ #define SWIGTYPE_p_FXColor swig_types[48]
568
+ #define SWIGTYPE_p_FXSize swig_types[49]
569
+ #define SWIGTYPE_p_p_FXchar swig_types[50]
570
+ #define SWIGTYPE_p_FXFont swig_types[51]
571
+ #define SWIGTYPE_p_FXchar swig_types[52]
572
+ #define SWIGTYPE_p_FXFrame swig_types[53]
573
+ #define SWIGTYPE_p_FXFileAssoc swig_types[54]
574
+ #define SWIGTYPE_p_FXVisual swig_types[55]
575
+ #define SWIGTYPE_p_FXuint swig_types[56]
576
+ #define SWIGTYPE_p_FXFileStream swig_types[57]
577
+ #define SWIGTYPE_p_FXMemoryStream swig_types[58]
578
+ static swig_type_info *swig_types[60];
573
579
 
574
580
  /* -------- TYPES TABLE (END) -------- */
575
581
 
@@ -750,8 +756,8 @@ static void free_FXFileStream(FXFileStream *);
750
756
  FXMemoryStream *new_FXMemoryStream(FXObject const *cont){
751
757
  return new FXRbMemoryStream(cont);
752
758
  }
753
- FXbool FXMemoryStream_open(FXMemoryStream *self,FXStreamDirection save_or_load,VALUE str){
754
- unsigned long size=0;
759
+ bool FXMemoryStream_open(FXMemoryStream *self,FXStreamDirection save_or_load,VALUE str){
760
+ FXuval size=0;
755
761
  FXuchar *data=0;
756
762
  if(!NIL_P(str)){
757
763
  size=RSTRING(str)->len;
@@ -764,7 +770,7 @@ FXbool FXMemoryStream_open(FXMemoryStream *self,FXStreamDirection save_or_load,V
764
770
  }
765
771
  VALUE FXMemoryStream_takeBuffer(FXMemoryStream *self){
766
772
  FXuchar* buffer;
767
- unsigned long sp;
773
+ FXuval sp;
768
774
  self->takeBuffer(buffer,sp);
769
775
  VALUE result=rb_str_new(const_cast<const char *>(reinterpret_cast<char*>(buffer)),sp);
770
776
  FXFREE(&buffer);
@@ -773,20 +779,20 @@ VALUE FXMemoryStream_takeBuffer(FXMemoryStream *self){
773
779
  void FXMemoryStream_giveBuffer(FXMemoryStream *self,VALUE str){
774
780
  Check_Type(str,T_STRING);
775
781
  FXuchar* buffer=reinterpret_cast<FXuchar*>(StringValuePtr(str));
776
- unsigned long sp=RSTRING(str)->len;
782
+ FXuval sp=RSTRING(str)->len;
777
783
  self->giveBuffer(buffer,sp);
778
784
  }
779
785
 
780
786
  swig_class cFXMemoryStream;
781
787
  static void free_FXMemoryStream(FXMemoryStream *);
782
- FXbool FXSize_operator_Se__Se_(FXSize const *self,FXSize const &s){ return (*self == s); }
788
+ bool FXSize_operator_Se__Se_(FXSize const *self,FXSize const &s){ return (*self == s); }
783
789
  FXSize FXSize_operator_Sa_(FXSize const *self,FXSize const &s){ return *self + s; }
784
790
  FXSize FXSize_operator_Ss_(FXSize const *self,FXSize const &s){ return *self - s; }
785
791
  FXSize FXSize_operator_Sm_(FXSize const *self,FXshort c){ return *self * c; }
786
792
  FXSize FXSize_operator_Sd_(FXSize const *self,FXshort c){ return *self / c; }
787
793
 
788
794
  swig_class cFXSize;
789
- FXbool FXPoint_operator_Se__Se_(FXPoint const *self,FXPoint const &p){ return *self == p; }
795
+ bool FXPoint_operator_Se__Se_(FXPoint const *self,FXPoint const &p){ return *self == p; }
790
796
  FXPoint FXPoint_operator_Sa___SWIG_0(FXPoint const *self,FXPoint const &p){ return *self + p; }
791
797
  FXPoint FXPoint_operator_Sa___SWIG_1(FXPoint const *self,FXSize const &s){ return *self + s; }
792
798
  FXPoint FXPoint_operator_Ss___SWIG_0(FXPoint const *self,FXPoint const &p){ return *self - p; }
@@ -795,10 +801,10 @@ FXPoint FXPoint_operator_Sm_(FXPoint const *self,FXshort c){ return *self * c; }
795
801
  FXPoint FXPoint_operator_Sd_(FXPoint const *self,FXshort c){ return *self / c; }
796
802
 
797
803
  swig_class cFXPoint;
798
- FXbool FXRectangle_operator_Se__Se_(FXRectangle const *self,FXRectangle const &p){
804
+ bool FXRectangle_operator_Se__Se_(FXRectangle const *self,FXRectangle const &p){
799
805
  return *self == p;
800
806
  }
801
- FXbool FXRectangle_overlap(FXRectangle const *self,FXRectangle const &p){
807
+ bool FXRectangle_overlap(FXRectangle const *self,FXRectangle const &p){
802
808
  return overlap(*self,p);
803
809
  }
804
810
  FXRectangle FXRectangle_operator_Sa_(FXRectangle const *self,FXRectangle const &p){
@@ -813,7 +819,7 @@ FXRegion FXRegion_operator_Sa_(FXRegion const *self,FXRegion const &other){ retu
813
819
  FXRegion FXRegion_operator_Sm_(FXRegion const *self,FXRegion const &other){ return (*self)*other; }
814
820
  FXRegion FXRegion_operator_Ss_(FXRegion const *self,FXRegion const &other){ return (*self)-other; }
815
821
  FXRegion FXRegion_operator_Sx_(FXRegion const *self,FXRegion const &other){ return (*self)^other; }
816
- FXbool FXRegion_operator_Se__Se_(FXRegion const *self,FXRegion const &other){ return (*self)==other; }
822
+ bool FXRegion_operator_Se__Se_(FXRegion const *self,FXRegion const &other){ return (*self)==other; }
817
823
 
818
824
  swig_class cFXRegion;
819
825
  static void free_FXRegion(FXRegion *);
@@ -918,6 +924,10 @@ static void free_FXAccelTable(FXAccelTable *);
918
924
 
919
925
  swig_class cFXEvent;
920
926
  static void free_FXEvent(FXEvent *);
927
+
928
+ swig_class cFXChore;
929
+
930
+ swig_class cFXTimer;
921
931
  VALUE FXApp_copyright(){
922
932
  return rb_str_new2((const char *) FXApp::copyright);
923
933
  }
@@ -973,7 +983,7 @@ void FXApp_removeSignal(FXApp *self,VALUE sigObj){
973
983
  }
974
984
  self->removeSignal(sig);
975
985
  }
976
- FXbool FXApp_addInput(FXApp *self,VALUE obj,FXuint mode,FXObject *tgt,FXSelector sel){
986
+ bool FXApp_addInput(FXApp *self,VALUE obj,FXuint mode,FXObject *tgt,FXSelector sel){
977
987
  FXInputHandle fd;
978
988
  FXuint m;
979
989
  if(mode&INPUT_READ){
@@ -988,9 +998,9 @@ FXbool FXApp_addInput(FXApp *self,VALUE obj,FXuint mode,FXObject *tgt,FXSelector
988
998
  fd=FXRbGetWriteFileHandle(obj);
989
999
  self->addInput(fd,m,tgt,sel);
990
1000
  }
991
- return 1;
1001
+ return true;
992
1002
  }
993
- FXbool FXApp_removeInput(FXApp *self,VALUE obj,FXuint mode){
1003
+ bool FXApp_removeInput(FXApp *self,VALUE obj,FXuint mode){
994
1004
  FXInputHandle fd;
995
1005
  FXuint m;
996
1006
  if(mode&INPUT_READ){
@@ -1005,7 +1015,7 @@ FXbool FXApp_removeInput(FXApp *self,VALUE obj,FXuint mode){
1005
1015
  fd=FXRbGetWriteFileHandle(obj);
1006
1016
  self->removeInput(fd,m);
1007
1017
  }
1008
- return 1;
1018
+ return true;
1009
1019
  }
1010
1020
  void FXApp_setNormalFont(FXApp *self,FXFont *font){
1011
1021
  FXASSERT(font);
@@ -1040,6 +1050,11 @@ void FXApp_setDefaultCursor(FXApp *self,FXDefaultCursor which,FXCursor *cur){
1040
1050
  }
1041
1051
  self->setDefaultCursor(which,cur);
1042
1052
  }
1053
+ FXWindow *FXApp_readWindow(FXApp *self,FXStream &store,FXWindow *&window,FXWindow *father,FXWindow *owner){
1054
+ window=0;
1055
+ self->readWindow(store,window,father,owner);
1056
+ return window;
1057
+ }
1043
1058
  void FXApp_setThreadsEnabled(FXApp *self,FXbool enabled){
1044
1059
  FXASSERT(self->isMemberOf(FXMETACLASS(FXRbApp)));
1045
1060
  dynamic_cast<FXRbApp*>(self)->setThreadsEnabled(enabled);
@@ -1092,10 +1107,14 @@ FXDelegator *new_FXDelegator(FXObject *target){
1092
1107
 
1093
1108
  swig_class cFXDelegator;
1094
1109
  static void free_FXDelegator(FXDelegator *);
1110
+ FXTranslator *new_FXTranslator(FXApp *a){ return new FXRbTranslator(a); }
1111
+
1112
+ swig_class cFXTranslator;
1113
+ static void free_FXTranslator(FXTranslator *);
1095
1114
  FXDict *new_FXDict(){
1096
1115
  return new FXRbDict();
1097
1116
  }
1098
- FXbool FXDict_has_key(FXDict const *self,FXchar const *ky){
1117
+ bool FXDict_has_key(FXDict const *self,FXchar const *ky){
1099
1118
  return (self->find(ky) != 0);
1100
1119
  }
1101
1120
 
@@ -1192,11 +1211,10 @@ FXDocument *new_FXDocument(){
1192
1211
 
1193
1212
  swig_class cFXDocument;
1194
1213
  static void free_FXDocument(FXDocument *);
1195
- FXRecentFiles *new_FXRecentFiles__SWIG_0(){
1196
- return new FXRbRecentFiles();
1197
- }
1198
- FXRecentFiles *new_FXRecentFiles__SWIG_1(FXString const &gp,FXObject *tgt,FXSelector sel){
1199
- return new FXRbRecentFiles(gp,tgt,sel);
1214
+ FXRecentFiles *new_FXRecentFiles__SWIG_0(){ return new FXRbRecentFiles(); }
1215
+ FXRecentFiles *new_FXRecentFiles__SWIG_1(FXApp *a){ return new FXRbRecentFiles(a); }
1216
+ FXRecentFiles *new_FXRecentFiles__SWIG_2(FXApp *a,FXString const &gp,FXObject *tgt,FXSelector sel){
1217
+ return new FXRbRecentFiles(a,gp,tgt,sel);
1200
1218
  }
1201
1219
 
1202
1220
  swig_class cFXRecentFiles;
@@ -1363,8 +1381,8 @@ static void free_FXFontDesc(FXFontDesc *);
1363
1381
  FXFont *new_FXFont__SWIG_0(FXApp *a,FXString const &string){
1364
1382
  return new FXRbFont(a,string);
1365
1383
  }
1366
- FXFont *new_FXFont__SWIG_1(FXApp *a,FXString const &face,FXuint sz,FXuint wt,FXuint sl,FXuint enc,FXuint setw,FXuint h){
1367
- return new FXRbFont(a,face,sz,wt,sl,enc,setw,h);
1384
+ FXFont *new_FXFont__SWIG_1(FXApp *a,FXString const &face,FXuint sz,FXuint wt,FXuint slant,FXuint encoding,FXuint setwidth,FXuint h){
1385
+ return new FXRbFont(a,face,sz,wt,slant,encoding,setwidth,h);
1368
1386
  }
1369
1387
  FXFont *new_FXFont__SWIG_2(FXApp *a,FXFontDesc const &fontdesc){
1370
1388
  return new FXRbFont(a,fontdesc);
@@ -1374,27 +1392,6 @@ FXFontDesc FXFont_getFontDesc(FXFont const *self){
1374
1392
  self->getFontDesc(fontdesc);
1375
1393
  return fontdesc;
1376
1394
  }
1377
- FXbool FXFont_hasChar(FXFont const *self,VALUE ch){
1378
- if(TYPE(ch)==T_STRING){
1379
- if(RSTRING(ch)->len==1){
1380
- return self->hasChar(*(STR2CSTR(ch)));
1381
- }
1382
- else{
1383
- rb_raise(rb_eArgError,"expected a string of length one");
1384
- }
1385
- }
1386
- else{
1387
- return self->hasChar(NUM2INT(ch));
1388
- }
1389
- }
1390
- FXint FXFont_getTextWidth(FXFont const *self,VALUE str){
1391
- Check_Type(str,T_STRING);
1392
- return self->getTextWidth(RSTRING(str)->ptr,RSTRING(str)->len);
1393
- }
1394
- FXint FXFont_getTextHeight(FXFont const *self,VALUE str){
1395
- Check_Type(str,T_STRING);
1396
- return self->getTextHeight(RSTRING(str)->ptr,RSTRING(str)->len);
1397
- }
1398
1395
  VALUE FXFont_listFonts(FXString const &face,FXuint wt,FXuint sl,FXuint sw,FXuint en,FXuint h){
1399
1396
  FXFontDesc* fonts;
1400
1397
  FXuint numfonts;
@@ -1406,30 +1403,25 @@ VALUE FXFont_listFonts(FXString const &face,FXuint wt,FXuint sl,FXuint sw,FXuint
1406
1403
  }
1407
1404
  return results;
1408
1405
  }
1406
+ FXbool FXFont_hasChar(FXFont const *self,VALUE ch){
1407
+ if(TYPE(ch)==T_STRING){
1408
+ if(RSTRING(ch)->len==1){
1409
+ return self->hasChar(*(STR2CSTR(ch))); // FIXME: hasChar() expects an FXwchar
1410
+ }
1411
+ else{
1412
+ rb_raise(rb_eArgError,"expected a string of length one");
1413
+ }
1414
+ }
1415
+ else{
1416
+ return self->hasChar(NUM2INT(ch)); // FIXME: hasChar() expects an FXwchar
1417
+ }
1418
+ }
1409
1419
 
1410
1420
  swig_class cFXFont;
1411
1421
  static void free_FXFont(FXFont *);
1412
-
1413
- /// Parse font description from a string
1414
- FXFontDesc* fxparsefontdesc2(const FXchar* string){
1415
- FXFontDesc* fontdesc=new FXFontDesc;
1416
- if(fxparsefontdesc(*fontdesc,string))
1417
- return fontdesc;
1418
- else{
1419
- delete fontdesc;
1420
- return 0;
1421
- }
1422
- }
1423
-
1424
- /// Unparse font description into a string
1425
- FXString fxunparsefontdesc2(const FXFontDesc& fontdesc){
1426
- FXchar s[1024];
1427
- if(fxunparsefontdesc(s,fontdesc))
1428
- return FXString(s);
1429
- else
1430
- return FXString::null;
1431
- }
1432
-
1422
+ VALUE FXWindow_octetTypeName(){
1423
+ return to_ruby(FXWindow::octetTypeName);
1424
+ }
1433
1425
  VALUE FXWindow_deleteTypeName(){
1434
1426
  return to_ruby(FXWindow::deleteTypeName);
1435
1427
  }
@@ -1442,6 +1434,12 @@ VALUE FXWindow_colorTypeName(){
1442
1434
  VALUE FXWindow_urilistTypeName(){
1443
1435
  return to_ruby(FXWindow::urilistTypeName);
1444
1436
  }
1437
+ VALUE FXWindow_utf8TypeName(){
1438
+ return to_ruby(FXWindow::utf8TypeName);
1439
+ }
1440
+ VALUE FXWindow_utf16TypeName(){
1441
+ return to_ruby(FXWindow::utf16TypeName);
1442
+ }
1445
1443
  FXWindow *new_FXWindow__SWIG_0(FXComposite *p,FXuint opts,FXint x,FXint y,FXint w,FXint h){
1446
1444
  return new FXRbWindow(p,opts,x,y,w,h);
1447
1445
  }
@@ -1460,8 +1458,8 @@ FXbool FXWindow_removeChild(FXWindow *self,FXWindow *child){
1460
1458
  return 0;
1461
1459
  }
1462
1460
  }
1463
- FXbool FXWindow_before(FXWindow const *self,FXWindow const *other){ return FXWindow::before(self, other); }
1464
- FXbool FXWindow_after(FXWindow const *self,FXWindow const *other){ return FXWindow::after(self, other); }
1461
+ bool FXWindow_before(FXWindow const *self,FXWindow const *other){ return FXWindow::before(self, other); }
1462
+ bool FXWindow_after(FXWindow const *self,FXWindow const *other){ return FXWindow::after(self, other); }
1465
1463
  VALUE FXWindow_getCursorPosition(FXWindow const *self){
1466
1464
  FXint x, y;
1467
1465
  FXuint buttons;
@@ -1472,7 +1470,7 @@ VALUE FXWindow_getCursorPosition(FXWindow const *self){
1472
1470
  rb_ary_push(arr, UINT2NUM(buttons));
1473
1471
  return arr;
1474
1472
  }
1475
- FXbool FXWindow_acquireSelection(FXWindow *self,VALUE typesArray){
1473
+ bool FXWindow_acquireSelection(FXWindow *self,VALUE typesArray){
1476
1474
  Check_Type(typesArray,T_ARRAY);
1477
1475
  FXDragType *types=0;
1478
1476
  FXuint numtypes=RARRAY(typesArray)->len;
@@ -1482,11 +1480,11 @@ FXbool FXWindow_acquireSelection(FXWindow *self,VALUE typesArray){
1482
1480
  types[i]=(FXDragType) NUM2USHRT(rb_ary_entry(typesArray,i));
1483
1481
  }
1484
1482
  }
1485
- FXbool result=self->acquireSelection(types,numtypes);
1483
+ bool result=self->acquireSelection(types,numtypes);
1486
1484
  delete [] types;
1487
1485
  return result;
1488
1486
  }
1489
- FXbool FXWindow_acquireClipboard(FXWindow *self,VALUE typesArray){
1487
+ bool FXWindow_acquireClipboard(FXWindow *self,VALUE typesArray){
1490
1488
  Check_Type(typesArray,T_ARRAY);
1491
1489
  FXDragType *types=0;
1492
1490
  FXuint numtypes=RARRAY(typesArray)->len;
@@ -1496,11 +1494,11 @@ FXbool FXWindow_acquireClipboard(FXWindow *self,VALUE typesArray){
1496
1494
  types[i]=(FXDragType) NUM2USHRT(rb_ary_entry(typesArray,i));
1497
1495
  }
1498
1496
  }
1499
- FXbool result=self->acquireClipboard(types,numtypes);
1497
+ bool result=self->acquireClipboard(types,numtypes);
1500
1498
  delete [] types;
1501
1499
  return result;
1502
1500
  }
1503
- FXbool FXWindow_beginDrag(FXWindow *self,VALUE typesArray){
1501
+ bool FXWindow_beginDrag(FXWindow *self,VALUE typesArray){
1504
1502
  Check_Type(typesArray,T_ARRAY);
1505
1503
  FXDragType *types=0;
1506
1504
  FXuint numtypes=RARRAY(typesArray)->len;
@@ -1510,7 +1508,7 @@ FXbool FXWindow_beginDrag(FXWindow *self,VALUE typesArray){
1510
1508
  types[i]=(FXDragType) NUM2USHRT(rb_ary_entry(typesArray,i));
1511
1509
  }
1512
1510
  }
1513
- FXbool result=self->beginDrag(types,numtypes);
1511
+ bool result=self->beginDrag(types,numtypes);
1514
1512
  delete [] types;
1515
1513
  return result;
1516
1514
  }
@@ -1639,6 +1637,11 @@ static swig_type_info *FXFrame_dynamic_cast(void **ptr) {
1639
1637
  *ptr=reinterpret_cast<void*>(pColorBar);
1640
1638
  return SWIG_TypeQuery("FXColorBar *");
1641
1639
  }
1640
+ FXColorRing *pColorRing=dynamic_cast<FXColorRing*>(*ppFrame);
1641
+ if(pColorRing){
1642
+ *ptr=reinterpret_cast<void*>(pColorRing);
1643
+ return SWIG_TypeQuery("FXColorRing *");
1644
+ }
1642
1645
  FXColorWell *pColorWell=dynamic_cast<FXColorWell*>(*ppFrame);
1643
1646
  if(pColorWell){
1644
1647
  *ptr=reinterpret_cast<void*>(pColorWell);
@@ -1669,6 +1672,11 @@ static swig_type_info *FXFrame_dynamic_cast(void **ptr) {
1669
1672
  *ptr=reinterpret_cast<void*>(pImageFrame);
1670
1673
  return SWIG_TypeQuery("FXImageFrame *");
1671
1674
  }
1675
+ FXKnob *pKnob=dynamic_cast<FXKnob*>(*ppFrame);
1676
+ if(pKnob){
1677
+ *ptr=reinterpret_cast<void*>(pKnob);
1678
+ return SWIG_TypeQuery("FXKnob *");
1679
+ }
1672
1680
  FXLabel *pLabel=dynamic_cast<FXLabel*>(*ppFrame);
1673
1681
  if(pLabel){
1674
1682
  *ptr=reinterpret_cast<void*>(pLabel);
@@ -1941,22 +1949,6 @@ static VALUE _wrap_fxversion(int argc, VALUE *argv, VALUE self) { VALUE result;
1941
1949
  vresult = result; return vresult; }
1942
1950
  static VALUE fxTraceLevel_get(VALUE self) { VALUE _val; _val = UINT2NUM(fxTraceLevel); return _val; }
1943
1951
  static VALUE fxTraceLevel_set(VALUE self, VALUE _val) { fxTraceLevel = NUM2UINT(_val); return _val; }
1944
- static VALUE _wrap_fxparseAccel(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXHotKey result;
1945
- SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1946
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
1947
- result = (FXHotKey)fxparseAccel((FXString const &)*arg1); vresult = UINT2NUM(result); return vresult; }
1948
- static VALUE _wrap_fxparseHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXHotKey result;
1949
- SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1950
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
1951
- result = (FXHotKey)fxparseHotKey((FXString const &)*arg1); vresult = UINT2NUM(result); return vresult; }
1952
- static VALUE _wrap_fxfindHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXint result;
1953
- SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1954
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
1955
- result = (FXint)fxfindHotKey((FXString const &)*arg1); vresult = INT2NUM(result); return vresult; }
1956
- static VALUE _wrap_fxstripHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXString result;
1957
- SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1958
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
1959
- result = fxstripHotKey((FXString const &)*arg1); vresult = rb_str_new2((&result)->text()); return vresult; }
1960
1952
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
1961
1953
  static VALUE _wrap_FXStream_allocate(VALUE self) {
1962
1954
  #else
@@ -1973,18 +1965,17 @@ static VALUE _wrap_new_FXStream(int argc, VALUE *argv, VALUE self) { FXObject *a
1973
1965
  result = (FXStream *)new_FXStream((FXObject const *)arg1); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
1974
1966
  if(rb_block_given_p()){ rb_yield(self); } } return self; }
1975
1967
  static VALUE _wrap_FXStream_open(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; int arg2 ;
1976
- unsigned long arg3 = (unsigned long) 8192 ; FXuchar *arg4 = (FXuchar *) 0 ; FXbool result; VALUE vresult = Qnil;
1968
+ FXuval arg3 = (FXuval) 8192 ; FXuchar *arg4 = (FXuchar *) 0 ; bool result; VALUE vresult = Qnil;
1977
1969
  if ((argc < 1) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1978
1970
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = (int) NUM2INT(argv[0]); if (argc > 1) {
1979
1971
  arg3 = NUM2ULONG(argv[1]); } if (argc > 2) {
1980
1972
  arg4 = NIL_P(argv[2]) ? 0 : reinterpret_cast<FXuchar*>(STR2CSTR(argv[2])); }
1981
- result = (FXbool)(arg1)->open((FXStreamDirection )arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
1982
- static VALUE _wrap_FXStream_getSpace(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ;
1983
- unsigned long result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
1984
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1985
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1);
1986
- result = (unsigned long)((FXStream const *)arg1)->getSpace(); vresult = UINT2NUM(result); return vresult; }
1987
- static VALUE _wrap_FXStream_setSpace(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; unsigned long arg2 ;
1973
+ result = (bool)(arg1)->open((FXStreamDirection )arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
1974
+ static VALUE _wrap_FXStream_getSpace(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXuval result;
1975
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1976
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXuval)((FXStream const *)arg1)->getSpace();
1977
+ vresult = UINT2NUM(result); return vresult; }
1978
+ static VALUE _wrap_FXStream_setSpace(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXuval arg2 ;
1988
1979
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1989
1980
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = NUM2ULONG(argv[0]); (arg1)->setSpace(arg2);
1990
1981
  return Qnil; }
@@ -1992,9 +1983,9 @@ static VALUE _wrap_FXStream_status(int argc, VALUE *argv, VALUE self) { FXStream
1992
1983
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1993
1984
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (int)((FXStream const *)arg1)->status();
1994
1985
  vresult = INT2NUM(result); return vresult; }
1995
- static VALUE _wrap_FXStream_eofq___(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXbool result;
1986
+ static VALUE _wrap_FXStream_eofq___(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool result;
1996
1987
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1997
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXbool)((FXStream const *)arg1)->eof();
1988
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (bool)((FXStream const *)arg1)->eof();
1998
1989
  vresult = result ? Qtrue : Qfalse; return vresult; }
1999
1990
  static VALUE _wrap_FXStream_setError(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; int arg2 ;
2000
1991
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -2013,14 +2004,14 @@ static VALUE _wrap_FXStream_getPosition(int argc, VALUE *argv, VALUE self) { FXS
2013
2004
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2014
2005
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = ((FXStream const *)arg1)->position();
2015
2006
  vresult = LONG2NUM(result); return vresult; }
2016
- static VALUE _wrap_FXStream_swapBytes__SWIG_0(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ;
2017
- FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2018
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = to_FXbool(argv[0]); (arg1)->swapBytes(arg2);
2007
+ static VALUE _wrap_FXStream_swapBytes__SWIG_0(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool arg2 ;
2008
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2009
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = RTEST(argv[0]); (arg1)->swapBytes(arg2);
2019
2010
  return Qnil; }
2020
2011
  static VALUE _wrap_FXStream_swapBytes__SWIG_1(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ;
2021
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2012
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2022
2013
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2023
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXbool)((FXStream const *)arg1)->swapBytes();
2014
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (bool)((FXStream const *)arg1)->swapBytes();
2024
2015
  vresult = result ? Qtrue : Qfalse; return vresult; }
2025
2016
  static VALUE _wrap_FXStream_swapBytes(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1;
2026
2017
  argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; {
@@ -2031,31 +2022,31 @@ static VALUE _wrap_FXStream_swapBytes(int nargs, VALUE *args, VALUE self) { int
2031
2022
  if (_v) { { _v = (argv[1] == Qtrue || argv[1] == Qfalse) ? 1 : 0; } if (_v) {
2032
2023
  return _wrap_FXStream_swapBytes__SWIG_0(nargs, args, self);} } }
2033
2024
  rb_raise(rb_eArgError, "No matching function for overloaded 'FXStream_swapBytes'"); return Qnil; }
2034
- static VALUE _wrap_FXStream_setBigEndian(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXbool arg2 ;
2025
+ static VALUE _wrap_FXStream_setBigEndian(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool arg2 ;
2035
2026
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2036
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = to_FXbool(argv[0]); (arg1)->setBigEndian(arg2);
2027
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = RTEST(argv[0]); (arg1)->setBigEndian(arg2);
2037
2028
  return Qnil; }
2038
- static VALUE _wrap_FXStream_isBigEndian(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXbool result;
2029
+ static VALUE _wrap_FXStream_isBigEndian(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool result;
2039
2030
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2040
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXbool)((FXStream const *)arg1)->isBigEndian();
2031
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (bool)((FXStream const *)arg1)->isBigEndian();
2041
2032
  vresult = result ? Qtrue : Qfalse; return vresult; }
2042
2033
  static void
2043
2034
  free_FXStream(FXStream *arg1) {
2044
2035
  delete arg1;
2045
2036
  }
2046
- static VALUE _wrap_FXStream_close(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXbool result;
2037
+ static VALUE _wrap_FXStream_close(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool result;
2047
2038
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2048
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXbool)FXStream_close(arg1);
2039
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (bool)FXStream_close(arg1);
2049
2040
  vresult = result ? Qtrue : Qfalse; return vresult; }
2050
- static VALUE _wrap_FXStream_flush(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXbool result;
2041
+ static VALUE _wrap_FXStream_flush(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; bool result;
2051
2042
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2052
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (FXbool)FXStream_flush(arg1);
2043
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); result = (bool)FXStream_flush(arg1);
2053
2044
  vresult = result ? Qtrue : Qfalse; return vresult; }
2054
2045
  static VALUE _wrap_FXStream_setPosition(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = (FXStream *) 0 ; FXlong arg2 ;
2055
- int arg3 = (int) FXFromStart ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2046
+ int arg3 = (int) FXFromStart ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2056
2047
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2057
2048
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStream, 1); arg2 = static_cast<FXlong>(NUM2LONG(argv[0]));
2058
- if (argc > 1) { arg3 = (int) NUM2INT(argv[1]); } result = (FXbool)FXStream_position(arg1,arg2,(FXWhence )arg3);
2049
+ if (argc > 1) { arg3 = (int) NUM2INT(argv[1]); } result = (bool)FXStream_position(arg1,arg2,(FXWhence )arg3);
2059
2050
  vresult = result ? Qtrue : Qfalse; return vresult; }
2060
2051
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
2061
2052
  static VALUE _wrap_FXFileStream_allocate(VALUE self) {
@@ -2073,11 +2064,11 @@ static VALUE _wrap_new_FXFileStream(int argc, VALUE *argv, VALUE self) { FXObjec
2073
2064
  result = (FXFileStream *)new_FXFileStream((FXObject const *)arg1);
2074
2065
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
2075
2066
  static VALUE _wrap_FXFileStream_open(int argc, VALUE *argv, VALUE self) { FXFileStream *arg1 = (FXFileStream *) 0 ;
2076
- FXString *arg2 = 0 ; int arg3 ; unsigned long arg4 = (unsigned long) 8192 ; FXbool result; SwigValueWrapper<FXString > p2 ;
2067
+ FXString *arg2 = 0 ; int arg3 ; FXuval arg4 = (FXuval) 8192 ; bool result; SwigValueWrapper<FXString > p2 ;
2077
2068
  VALUE vresult = Qnil; if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2078
2069
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); p2 = to_FXString(argv[0]); arg2 = &p2;
2079
2070
  arg3 = (int) NUM2INT(argv[1]); if (argc > 2) { arg4 = NUM2ULONG(argv[2]); }
2080
- result = (FXbool)(arg1)->open((FXString const &)*arg2,(FXStreamDirection )arg3,arg4); vresult = result ? Qtrue : Qfalse;
2071
+ result = (bool)(arg1)->open((FXString const &)*arg2,(FXStreamDirection )arg3,arg4); vresult = result ? Qtrue : Qfalse;
2081
2072
  return vresult; }
2082
2073
  static VALUE _wrap_FXFileStream_getPosition(int argc, VALUE *argv, VALUE self) { FXFileStream *arg1 = (FXFileStream *) 0 ;
2083
2074
  FXlong result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
@@ -2089,20 +2080,20 @@ free_FXFileStream(FXFileStream *arg1) {
2089
2080
  delete arg1;
2090
2081
  }
2091
2082
  static VALUE _wrap_FXFileStream_close(int argc, VALUE *argv, VALUE self) { FXFileStream *arg1 = (FXFileStream *) 0 ;
2092
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2083
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2093
2084
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2094
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); result = (FXbool)FXFileStream_close(arg1);
2085
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); result = (bool)FXFileStream_close(arg1);
2095
2086
  vresult = result ? Qtrue : Qfalse; return vresult; }
2096
2087
  static VALUE _wrap_FXFileStream_flush(int argc, VALUE *argv, VALUE self) { FXFileStream *arg1 = (FXFileStream *) 0 ;
2097
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2088
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2098
2089
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2099
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); result = (FXbool)FXFileStream_flush(arg1);
2090
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); result = (bool)FXFileStream_flush(arg1);
2100
2091
  vresult = result ? Qtrue : Qfalse; return vresult; }
2101
2092
  static VALUE _wrap_FXFileStream_setPosition(int argc, VALUE *argv, VALUE self) { FXFileStream *arg1 = (FXFileStream *) 0 ;
2102
- FXlong arg2 ; int arg3 = (int) FXFromStart ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2093
+ FXlong arg2 ; int arg3 = (int) FXFromStart ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2103
2094
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2104
2095
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileStream, 1); arg2 = static_cast<FXlong>(NUM2LONG(argv[0]));
2105
- if (argc > 1) { arg3 = (int) NUM2INT(argv[1]); } result = (FXbool)FXFileStream_position(arg1,arg2,(FXWhence )arg3);
2096
+ if (argc > 1) { arg3 = (int) NUM2INT(argv[1]); } result = (bool)FXFileStream_position(arg1,arg2,(FXWhence )arg3);
2106
2097
  vresult = result ? Qtrue : Qfalse; return vresult; }
2107
2098
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
2108
2099
  static VALUE _wrap_FXMemoryStream_allocate(VALUE self) {
@@ -2120,11 +2111,10 @@ static VALUE _wrap_new_FXMemoryStream(int argc, VALUE *argv, VALUE self) { FXObj
2120
2111
  result = (FXMemoryStream *)new_FXMemoryStream((FXObject const *)arg1);
2121
2112
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
2122
2113
  static VALUE _wrap_FXMemoryStream_open(int argc, VALUE *argv, VALUE self) { FXMemoryStream *arg1 = (FXMemoryStream *) 0 ;
2123
- int arg2 ; VALUE arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2114
+ int arg2 ; VALUE arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2124
2115
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2125
2116
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMemoryStream, 1); arg2 = (int) NUM2INT(argv[0]); arg3 = argv[1];
2126
- result = (FXbool)FXMemoryStream_open(arg1,(FXStreamDirection )arg2,arg3); vresult = result ? Qtrue : Qfalse;
2127
- return vresult; }
2117
+ result = (bool)FXMemoryStream_open(arg1,(FXStreamDirection )arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
2128
2118
  static VALUE _wrap_FXMemoryStream_takeBuffer(int argc, VALUE *argv, VALUE self) { FXMemoryStream *arg1 = (FXMemoryStream *) 0 ;
2129
2119
  VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2130
2120
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -2190,17 +2180,89 @@ static VALUE _wrap_new_FXSize(int nargs, VALUE *args, VALUE self) { int argc; VA
2190
2180
  _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2191
2181
  return _wrap_new_FXSize__SWIG_2(nargs, args, self);} } }
2192
2182
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXSize'"); return Qnil; }
2183
+ static VALUE _wrap_FXSize_emptyq___(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; bool result;
2184
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2185
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1); result = (bool)((FXSize const *)arg1)->empty();
2186
+ vresult = result ? Qtrue : Qfalse; return vresult; }
2193
2187
  static VALUE _wrap_FXSize___eq__(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXSize *arg2 = 0 ;
2194
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2188
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2195
2189
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2196
2190
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSize, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2197
- result = (FXbool)FXSize_operator_Se__Se_((FXSize const *)arg1,(FXSize const &)*arg2); vresult = result ? Qtrue : Qfalse;
2191
+ result = (bool)FXSize_operator_Se__Se_((FXSize const *)arg1,(FXSize const &)*arg2); vresult = result ? Qtrue : Qfalse;
2198
2192
  return vresult; }
2199
2193
  static VALUE _wrap_FXSize___neg__(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXSize result;
2200
2194
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2201
2195
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1); result = (arg1)->operator -(); { FXSize * resultptr;
2202
2196
  resultptr = new FXSize((FXSize &)result); vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXSize, 1); }
2203
2197
  return vresult; }
2198
+ static VALUE _wrap_FXSize_growN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2199
+ FXSize *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2200
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2201
+ arg2 = NUM2SHRT(argv[0]); { FXSize &_result_ref = (arg1)->grow(arg2); result = (FXSize *) &_result_ref; }
2202
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0); return vresult; }
2203
+ static VALUE _wrap_FXSize_growN_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2204
+ FXshort arg3 ; FXSize *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2205
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2206
+ arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]); { FXSize &_result_ref = (arg1)->grow(arg2,arg3);
2207
+ result = (FXSize *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0);
2208
+ return vresult; }
2209
+ static VALUE _wrap_FXSize_growN_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2210
+ FXshort arg3 ; FXshort arg4 ; FXshort arg5 ; FXSize *result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
2211
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2212
+ arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]); arg4 = NUM2SHRT(argv[2]); arg5 = NUM2SHRT(argv[3]); {
2213
+ FXSize &_result_ref = (arg1)->grow(arg2,arg3,arg4,arg5); result = (FXSize *) &_result_ref; }
2214
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0); return vresult; }
2215
+ static VALUE _wrap_FXSize_growN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
2216
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
2217
+ void *ptr;
2218
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2219
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2220
+ return _wrap_FXSize_growN_____SWIG_0(nargs, args, self);} } } if (argc == 3) { int _v; { void *ptr;
2221
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2222
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2223
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2224
+ return _wrap_FXSize_growN_____SWIG_1(nargs, args, self);} } } } if (argc == 5) { int _v; { void *ptr;
2225
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2226
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2227
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2228
+ _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2229
+ _v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2230
+ return _wrap_FXSize_growN_____SWIG_2(nargs, args, self);} } } } } }
2231
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXSize_grow!'"); return Qnil; }
2232
+ static VALUE _wrap_FXSize_shrinkN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2233
+ FXSize *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2234
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2235
+ arg2 = NUM2SHRT(argv[0]); { FXSize &_result_ref = (arg1)->shrink(arg2); result = (FXSize *) &_result_ref; }
2236
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0); return vresult; }
2237
+ static VALUE _wrap_FXSize_shrinkN_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2238
+ FXshort arg3 ; FXSize *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2239
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2240
+ arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]); { FXSize &_result_ref = (arg1)->shrink(arg2,arg3);
2241
+ result = (FXSize *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0);
2242
+ return vresult; }
2243
+ static VALUE _wrap_FXSize_shrinkN_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXshort arg2 ;
2244
+ FXshort arg3 ; FXshort arg4 ; FXshort arg5 ; FXSize *result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
2245
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
2246
+ arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]); arg4 = NUM2SHRT(argv[2]); arg5 = NUM2SHRT(argv[3]); {
2247
+ FXSize &_result_ref = (arg1)->shrink(arg2,arg3,arg4,arg5); result = (FXSize *) &_result_ref; }
2248
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSize,0); return vresult; }
2249
+ static VALUE _wrap_FXSize_shrinkN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
2250
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
2251
+ void *ptr;
2252
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2253
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2254
+ return _wrap_FXSize_shrinkN_____SWIG_0(nargs, args, self);} } } if (argc == 3) { int _v; { void *ptr;
2255
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2256
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2257
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2258
+ return _wrap_FXSize_shrinkN_____SWIG_1(nargs, args, self);} } } } if (argc == 5) { int _v; { void *ptr;
2259
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSize, 0) != -1)) ? 1 : 0; }
2260
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2261
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2262
+ _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2263
+ _v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2264
+ return _wrap_FXSize_shrinkN_____SWIG_2(nargs, args, self);} } } } } }
2265
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXSize_shrink!'"); return Qnil; }
2204
2266
  static VALUE _wrap_FXSize___add__(int argc, VALUE *argv, VALUE self) { FXSize *arg1 = (FXSize *) 0 ; FXSize *arg2 = 0 ;
2205
2267
  FXSize result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2206
2268
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSize, 1);
@@ -2282,11 +2344,11 @@ static VALUE _wrap_new_FXPoint(int nargs, VALUE *args, VALUE self) { int argc; V
2282
2344
  return _wrap_new_FXPoint__SWIG_3(nargs, args, self);} } }
2283
2345
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXPoint'"); return Qnil; }
2284
2346
  static VALUE _wrap_FXPoint___eq__(int argc, VALUE *argv, VALUE self) { FXPoint *arg1 = (FXPoint *) 0 ; FXPoint *arg2 = 0 ;
2285
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2347
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2286
2348
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2287
2349
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPoint, 1);
2288
2350
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXPoint, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2289
- result = (FXbool)FXPoint_operator_Se__Se_((FXPoint const *)arg1,(FXPoint const &)*arg2); vresult = result ? Qtrue : Qfalse;
2351
+ result = (bool)FXPoint_operator_Se__Se_((FXPoint const *)arg1,(FXPoint const &)*arg2); vresult = result ? Qtrue : Qfalse;
2290
2352
  return vresult; }
2291
2353
  static VALUE _wrap_FXPoint___neg__(int argc, VALUE *argv, VALUE self) { FXPoint *arg1 = (FXPoint *) 0 ; FXPoint result;
2292
2354
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -2448,30 +2510,30 @@ static VALUE _wrap_new_FXRectangle(int nargs, VALUE *args, VALUE self) { int arg
2448
2510
  return _wrap_new_FXRectangle__SWIG_1(nargs, args, self);} } } } }
2449
2511
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXRectangle'"); return Qnil; }
2450
2512
  static VALUE _wrap_FXRectangle___eq__(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2451
- FXRectangle *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2513
+ FXRectangle *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2452
2514
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2453
2515
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1);
2454
2516
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2455
- result = (FXbool)FXRectangle_operator_Se__Se_((FXRectangle const *)arg1,(FXRectangle const &)*arg2);
2517
+ result = (bool)FXRectangle_operator_Se__Se_((FXRectangle const *)arg1,(FXRectangle const &)*arg2);
2456
2518
  vresult = result ? Qtrue : Qfalse; return vresult; }
2457
2519
  static VALUE _wrap_FXRectangle_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2458
- FXPoint *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2520
+ FXPoint *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2459
2521
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2460
2522
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1);
2461
2523
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXPoint, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2462
- result = (FXbool)((FXRectangle const *)arg1)->contains((FXPoint const &)*arg2); vresult = result ? Qtrue : Qfalse;
2524
+ result = (bool)((FXRectangle const *)arg1)->contains((FXPoint const &)*arg2); vresult = result ? Qtrue : Qfalse;
2463
2525
  return vresult; }
2464
2526
  static VALUE _wrap_FXRectangle_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2465
- FXshort arg2 ; FXshort arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2527
+ FXshort arg2 ; FXshort arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2466
2528
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2467
2529
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1); arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]);
2468
- result = (FXbool)((FXRectangle const *)arg1)->contains(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
2530
+ result = (bool)((FXRectangle const *)arg1)->contains(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
2469
2531
  static VALUE _wrap_FXRectangle_containsq_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2470
- FXRectangle *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2532
+ FXRectangle *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2471
2533
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2472
2534
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1);
2473
2535
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2474
- result = (FXbool)((FXRectangle const *)arg1)->contains((FXRectangle const &)*arg2); vresult = result ? Qtrue : Qfalse;
2536
+ result = (bool)((FXRectangle const *)arg1)->contains((FXRectangle const &)*arg2); vresult = result ? Qtrue : Qfalse;
2475
2537
  return vresult; }
2476
2538
  static VALUE _wrap_FXRectangle_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii;
2477
2539
  argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 3); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
@@ -2492,18 +2554,38 @@ static VALUE _wrap_FXRectangle_containsq___(int nargs, VALUE *args, VALUE self)
2492
2554
  return _wrap_FXRectangle_containsq_____SWIG_1(nargs, args, self);} } } }
2493
2555
  rb_raise(rb_eArgError, "No matching function for overloaded 'FXRectangle_contains?'"); return Qnil; }
2494
2556
  static VALUE _wrap_FXRectangle_overlapsq___(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2495
- FXRectangle *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2557
+ FXRectangle *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2496
2558
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2497
2559
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1);
2498
2560
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2499
- result = (FXbool)FXRectangle_overlap((FXRectangle const *)arg1,(FXRectangle const &)*arg2);
2500
- vresult = result ? Qtrue : Qfalse; return vresult; }
2501
- static VALUE _wrap_FXRectangle_moveN___(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2561
+ result = (bool)FXRectangle_overlap((FXRectangle const *)arg1,(FXRectangle const &)*arg2); vresult = result ? Qtrue : Qfalse;
2562
+ return vresult; }
2563
+ static VALUE _wrap_FXRectangle_moveN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2564
+ FXPoint *arg2 = 0 ; FXRectangle *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2565
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2566
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1);
2567
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXPoint, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2568
+ { FXRectangle &_result_ref = (arg1)->move((FXPoint const &)*arg2); result = (FXRectangle *) &_result_ref; }
2569
+ vresult = FXRbGetRubyObj(result, "FXRectangle *"); return vresult; }
2570
+ static VALUE _wrap_FXRectangle_moveN_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2502
2571
  FXshort arg2 ; FXshort arg3 ; FXRectangle *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2503
2572
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2504
2573
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRectangle, 1); arg2 = NUM2SHRT(argv[0]); arg3 = NUM2SHRT(argv[1]); {
2505
2574
  FXRectangle &_result_ref = (arg1)->move(arg2,arg3); result = (FXRectangle *) &_result_ref; }
2506
2575
  vresult = FXRbGetRubyObj(result, "FXRectangle *"); return vresult; }
2576
+ static VALUE _wrap_FXRectangle_moveN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs + 1;
2577
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 3); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
2578
+ void *ptr;
2579
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXRectangle, 0) != -1)) ? 1 : 0; }
2580
+ if (_v) { { void *ptr;
2581
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXPoint, 0) != -1)) ? 1 : 0; }
2582
+ if (_v) { return _wrap_FXRectangle_moveN_____SWIG_0(nargs, args, self);} } } if (argc == 3) { int _v; {
2583
+ void *ptr;
2584
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXRectangle, 0) != -1)) ? 1 : 0; }
2585
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2586
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2587
+ return _wrap_FXRectangle_moveN_____SWIG_1(nargs, args, self);} } } }
2588
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXRectangle_move!'"); return Qnil; }
2507
2589
  static VALUE _wrap_FXRectangle_growN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRectangle *arg1 = (FXRectangle *) 0 ;
2508
2590
  FXshort arg2 ; FXRectangle *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2509
2591
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -2641,11 +2723,11 @@ static VALUE _wrap_FXRegion_allocate(VALUE self) {
2641
2723
  #endif
2642
2724
  return vresult; }
2643
2725
  static VALUE _wrap_new_FXRegion__SWIG_4(int argc, VALUE *argv, VALUE self) { FXPoint *arg1 = (FXPoint *) 0 ; FXuint arg2 ;
2644
- FXbool arg3 = (FXbool) 0 ; FXRegion *result; if ((argc < 1) || (argc > 2))
2726
+ bool arg3 = (bool) 0 ; FXRegion *result; if ((argc < 1) || (argc > 2))
2645
2727
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { Check_Type(argv[0], T_ARRAY);
2646
2728
  arg1 = new FXPoint[RARRAY(argv[0])->len]; arg2 = static_cast<FXuint>( RARRAY(argv[0])->len );
2647
2729
  for (FXuint i = 0; i < arg2; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
2648
- arg1[i] = *pPoint; } } if (argc > 1) { arg3 = to_FXbool(argv[1]); } {
2730
+ arg1[i] = *pPoint; } } if (argc > 1) { arg3 = RTEST(argv[1]); } {
2649
2731
  result = (FXRegion *)new FXRegion((FXPoint const *)arg1,arg2,arg3);
2650
2732
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } {
2651
2733
  delete [] arg1; } return self; }
@@ -2665,20 +2747,20 @@ static VALUE _wrap_new_FXRegion(int nargs, VALUE *args, VALUE self) { int argc;
2665
2747
  _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2666
2748
  return _wrap_new_FXRegion__SWIG_3(nargs, args, self);} } } } }
2667
2749
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXRegion'"); return Qnil; }
2668
- static VALUE _wrap_FXRegion_emptyq___(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ; FXbool result;
2750
+ static VALUE _wrap_FXRegion_emptyq___(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ; bool result;
2669
2751
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2670
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1); result = (FXbool)((FXRegion const *)arg1)->empty();
2752
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1); result = (bool)((FXRegion const *)arg1)->empty();
2671
2753
  vresult = result ? Qtrue : Qfalse; return vresult; }
2672
2754
  static VALUE _wrap_FXRegion_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ;
2673
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2755
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2674
2756
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2675
2757
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
2676
- result = (FXbool)((FXRegion const *)arg1)->contains(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
2758
+ result = (bool)((FXRegion const *)arg1)->contains(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
2677
2759
  static VALUE _wrap_FXRegion_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ;
2678
- FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXbool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
2760
+ FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; bool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
2679
2761
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
2680
2762
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
2681
- arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); result = (FXbool)((FXRegion const *)arg1)->contains(arg2,arg3,arg4,arg5);
2763
+ arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); result = (bool)((FXRegion const *)arg1)->contains(arg2,arg3,arg4,arg5);
2682
2764
  vresult = result ? Qtrue : Qfalse; return vresult; }
2683
2765
  static VALUE _wrap_FXRegion_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii;
2684
2766
  argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 3) {
@@ -2735,12 +2817,12 @@ static VALUE _wrap_FXRegion___xor__(int argc, VALUE *argv, VALUE self) { FXRegio
2735
2817
  result = FXRegion_operator_Sx_((FXRegion const *)arg1,(FXRegion const &)*arg2); {
2736
2818
  FXRegion* resultptr = new FXRegion(result); vresult = FXRbGetRubyObj(resultptr, "FXRegion *"); } return vresult; }
2737
2819
  static VALUE _wrap_FXRegion___eq__(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ; FXRegion *arg2 = 0 ;
2738
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2820
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2739
2821
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2740
2822
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1);
2741
2823
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2742
- result = (FXbool)FXRegion_operator_Se__Se_((FXRegion const *)arg1,(FXRegion const &)*arg2);
2743
- vresult = result ? Qtrue : Qfalse; return vresult; }
2824
+ result = (bool)FXRegion_operator_Se__Se_((FXRegion const *)arg1,(FXRegion const &)*arg2); vresult = result ? Qtrue : Qfalse;
2825
+ return vresult; }
2744
2826
  static VALUE _wrap_FXRegion_reset(int argc, VALUE *argv, VALUE self) { FXRegion *arg1 = (FXRegion *) 0 ;
2745
2827
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2746
2828
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegion, 1); (arg1)->reset(); return Qnil; }
@@ -2825,10 +2907,10 @@ static VALUE _wrap_FXAccelTable_removeAccel(int argc, VALUE *argv, VALUE self) {
2825
2907
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXAccelTable, 1); arg2 = NUM2UINT(argv[0]); (arg1)->removeAccel(arg2);
2826
2908
  return Qnil; }
2827
2909
  static VALUE _wrap_FXAccelTable_hasAccel(int argc, VALUE *argv, VALUE self) { FXAccelTable *arg1 = (FXAccelTable *) 0 ;
2828
- FXHotKey arg2 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2910
+ FXHotKey arg2 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2829
2911
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2830
2912
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXAccelTable, 1); arg2 = NUM2UINT(argv[0]);
2831
- result = (FXbool)((FXAccelTable const *)arg1)->hasAccel(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
2913
+ result = (bool)((FXAccelTable const *)arg1)->hasAccel(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
2832
2914
  static VALUE _wrap_FXAccelTable_targetOfAccel(int argc, VALUE *argv, VALUE self) { FXAccelTable *arg1 = (FXAccelTable *) 0 ;
2833
2915
  FXHotKey arg2 ; FXObject *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2834
2916
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -2850,6 +2932,25 @@ static VALUE _wrap_FXAccelTable_load(int argc, VALUE *argv, VALUE self) { FXAcce
2850
2932
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXAccelTable, 1);
2851
2933
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2852
2934
  FXAccelTable_load(arg1,*arg2); return Qnil; }
2935
+ static VALUE _wrap_parseAccel(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXHotKey result;
2936
+ SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2937
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
2938
+ result = (FXHotKey)parseAccel((FXString const &)*arg1); vresult = UINT2NUM(result); return vresult; }
2939
+ static VALUE _wrap_unparseAccel(int argc, VALUE *argv, VALUE self) { FXHotKey arg1 ; FXString result; VALUE vresult = Qnil;
2940
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); arg1 = NUM2UINT(argv[0]);
2941
+ result = unparseAccel(arg1); vresult = rb_str_new2((&result)->text()); return vresult; }
2942
+ static VALUE _wrap_parseHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXHotKey result;
2943
+ SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2944
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
2945
+ result = (FXHotKey)parseHotKey((FXString const &)*arg1); vresult = UINT2NUM(result); return vresult; }
2946
+ static VALUE _wrap_findHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXint result;
2947
+ SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2948
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
2949
+ result = (FXint)findHotKey((FXString const &)*arg1); vresult = INT2NUM(result); return vresult; }
2950
+ static VALUE _wrap_stripHotKey(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXString result;
2951
+ SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2952
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
2953
+ result = stripHotKey((FXString const &)*arg1); vresult = rb_str_new2((&result)->text()); return vresult; }
2853
2954
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
2854
2955
  static VALUE _wrap_FXEvent_allocate(VALUE self) {
2855
2956
  #else
@@ -3091,21 +3192,21 @@ static VALUE _wrap_FXApp_getVendorName(int argc, VALUE *argv, VALUE self) { FXAp
3091
3192
  FXString const &_result_ref = ((FXApp const *)arg1)->getVendorName(); result = (FXString *) &_result_ref; }
3092
3193
  vresult = rb_str_new2(result->text()); return vresult; }
3093
3194
  static VALUE _wrap_FXApp_openDisplay(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3094
- FXchar *arg2 = (FXchar *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
3195
+ FXchar *arg2 = (FXchar *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
3095
3196
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3096
- if (argc > 0) { arg2 = StringValuePtr(argv[0]); } result = (FXbool)(arg1)->openDisplay((FXchar const *)arg2);
3197
+ if (argc > 0) { arg2 = StringValuePtr(argv[0]); } result = (bool)(arg1)->openDisplay((FXchar const *)arg2);
3097
3198
  vresult = result ? Qtrue : Qfalse; return vresult; }
3098
- static VALUE _wrap_FXApp_closeDisplay(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXbool result;
3199
+ static VALUE _wrap_FXApp_closeDisplay(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool result;
3099
3200
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3100
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXbool)(arg1)->closeDisplay();
3201
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (bool)(arg1)->closeDisplay();
3101
3202
  vresult = result ? Qtrue : Qfalse; return vresult; }
3102
3203
  static VALUE _wrap_FXApp_getDisplay(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; unsigned long result;
3103
3204
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3104
3205
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (unsigned long)FXApp_getDisplay((FXApp const *)arg1);
3105
3206
  vresult = UINT2NUM(result); return vresult; }
3106
- static VALUE _wrap_FXApp_isInitialized(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXbool result;
3207
+ static VALUE _wrap_FXApp_isInitialized(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool result;
3107
3208
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3108
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXbool)((FXApp const *)arg1)->isInitialized();
3209
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (bool)((FXApp const *)arg1)->isInitialized();
3109
3210
  vresult = result ? Qtrue : Qfalse; return vresult; }
3110
3211
  static VALUE _wrap_FXApp_getArgc(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXint result;
3111
3212
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -3115,6 +3216,10 @@ static VALUE _wrap_FXApp_getArgv(int argc, VALUE *argv, VALUE self) { FXApp *arg
3115
3216
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3116
3217
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXchar **)((FXApp const *)arg1)->getArgv();
3117
3218
  vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_p_FXchar,0); return vresult; }
3219
+ static VALUE _wrap_FXApp_hasInputMethodq___(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool result;
3220
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3221
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (bool)((FXApp const *)arg1)->hasInputMethod();
3222
+ vresult = result ? Qtrue : Qfalse; return vresult; }
3118
3223
  static VALUE _wrap_FXApp_getDefaultVisual(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXVisual *result;
3119
3224
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3120
3225
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXVisual *)((FXApp const *)arg1)->getDefaultVisual();
@@ -3139,16 +3244,21 @@ static VALUE _wrap_FXApp_setRootWindow(int argc, VALUE *argv, VALUE self) { FXAp
3139
3244
  FXRootWindow *arg2 = (FXRootWindow *) 0 ; if ((argc < 1) || (argc > 1))
3140
3245
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3141
3246
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRootWindow, 1); (arg1)->setRootWindow(arg2); return Qnil; }
3247
+ static VALUE _wrap_FXApp_focusWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXWindow *result;
3248
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3249
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXWindow *)((FXApp const *)arg1)->getFocusWindow(); {
3250
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result);
3251
+ vresult = FXRbGetRubyObj(result, ty); } return vresult; }
3142
3252
  static VALUE _wrap_FXApp_getCursorWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXWindow *result;
3143
3253
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3144
3254
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXWindow *)((FXApp const *)arg1)->getCursorWindow();
3145
3255
  { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
3146
3256
  return vresult; }
3147
- static VALUE _wrap_FXApp_getFocusWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXWindow *result;
3257
+ static VALUE _wrap_FXApp_activeWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXWindow *result;
3148
3258
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3149
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXWindow *)((FXApp const *)arg1)->getFocusWindow(); {
3150
- swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result);
3151
- vresult = FXRbGetRubyObj(result, ty); } return vresult; }
3259
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXWindow *)((FXApp const *)arg1)->getActiveWindow();
3260
+ { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
3261
+ return vresult; }
3152
3262
  static VALUE _wrap_FXApp_getPopupWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXPopup *result;
3153
3263
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3154
3264
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXPopup *)((FXApp const *)arg1)->getPopupWindow(); {
@@ -3172,18 +3282,18 @@ static VALUE _wrap_FXApp_addTimeout(int argc, VALUE *argv, VALUE self) { FXApp *
3172
3282
  if ((argc < 2) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
3173
3283
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3174
3284
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); if (argc > 2) {
3175
- arg4 = NUM2UINT(argv[2]); } if (argc > 3) { arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; }
3285
+ arg4 = NUM2UINT(argv[2]); } if (argc > 3) { SWIG_ConvertPtr(argv[3], (void **) &arg5, 0, 1); }
3176
3286
  (arg1)->addTimeout(arg2,arg3,arg4,arg5); return Qnil; }
3177
3287
  static VALUE _wrap_FXApp_removeTimeout(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3178
3288
  FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; if ((argc < 2) || (argc > 2))
3179
3289
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3180
3290
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
3181
3291
  (arg1)->removeTimeout(arg2,arg3); return Qnil; }
3182
- static VALUE _wrap_FXApp_hasTimeout(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3183
- FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3292
+ static VALUE _wrap_FXApp_hasTimeoutq___(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3293
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3184
3294
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3185
3295
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
3186
- result = (FXbool)((FXApp const *)arg1)->hasTimeout(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
3296
+ result = (bool)((FXApp const *)arg1)->hasTimeout(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
3187
3297
  static VALUE _wrap_FXApp_remainingTimeout(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3188
3298
  FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; FXuint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3189
3299
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
@@ -3196,17 +3306,17 @@ static VALUE _wrap_FXApp_addChore(int argc, VALUE *argv, VALUE self) { FXApp *ar
3196
3306
  FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; if ((argc < 2) || (argc > 3))
3197
3307
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3198
3308
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); if (argc > 2) {
3199
- arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } (arg1)->addChore(arg2,arg3,arg4); return Qnil; }
3309
+ SWIG_ConvertPtr(argv[2], (void **) &arg4, 0, 1); } (arg1)->addChore(arg2,arg3,arg4); return Qnil; }
3200
3310
  static VALUE _wrap_FXApp_removeChore(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3201
3311
  FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; if ((argc < 2) || (argc > 2))
3202
3312
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3203
3313
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); (arg1)->removeChore(arg2,arg3);
3204
3314
  return Qnil; }
3205
- static VALUE _wrap_FXApp_hasChore(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3206
- FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3315
+ static VALUE _wrap_FXApp_hasChoreq___(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3316
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3207
3317
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3208
3318
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
3209
- result = (FXbool)((FXApp const *)arg1)->hasChore(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
3319
+ result = (bool)((FXApp const *)arg1)->hasChore(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
3210
3320
  static VALUE _wrap_FXApp_addSignal(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; VALUE arg2 ;
3211
3321
  FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 ; FXbool arg5 = (FXbool) 0 ; FXuint arg6 = (FXuint) 0 ;
3212
3322
  if ((argc < 3) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
@@ -3218,29 +3328,29 @@ static VALUE _wrap_FXApp_removeSignal(int argc, VALUE *argv, VALUE self) { FXApp
3218
3328
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3219
3329
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = argv[0]; FXApp_removeSignal(arg1,arg2); return Qnil; }
3220
3330
  static VALUE _wrap_FXApp_addInput(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; VALUE arg2 ; FXuint arg3 ;
3221
- FXObject *arg4 = (FXObject *) 0 ; FXSelector arg5 ; FXbool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
3331
+ FXObject *arg4 = (FXObject *) 0 ; FXSelector arg5 ; bool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
3222
3332
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3223
3333
  arg2 = argv[0]; arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_FXObject, 1);
3224
- arg5 = NUM2UINT(argv[3]); result = (FXbool)FXApp_addInput(arg1,arg2,arg3,arg4,arg5); vresult = result ? Qtrue : Qfalse;
3334
+ arg5 = NUM2UINT(argv[3]); result = (bool)FXApp_addInput(arg1,arg2,arg3,arg4,arg5); vresult = result ? Qtrue : Qfalse;
3225
3335
  return vresult; }
3226
3336
  static VALUE _wrap_FXApp_removeInput(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; VALUE arg2 ; FXuint arg3 ;
3227
- FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3337
+ bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3228
3338
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3229
- arg2 = argv[0]; arg3 = NUM2UINT(argv[1]); result = (FXbool)FXApp_removeInput(arg1,arg2,arg3);
3339
+ arg2 = argv[0]; arg3 = NUM2UINT(argv[1]); result = (bool)FXApp_removeInput(arg1,arg2,arg3);
3230
3340
  vresult = result ? Qtrue : Qfalse; return vresult; }
3231
- static VALUE _wrap_FXApp_getKeyState(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ;
3232
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
3233
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3234
- arg2 = NUM2UINT(argv[0]); result = (FXbool)((FXApp const *)arg1)->getKeyState(arg2); vresult = result ? Qtrue : Qfalse;
3235
- return vresult; }
3236
- static VALUE _wrap_FXApp_peekEvent(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXbool result;
3341
+ static VALUE _wrap_FXApp_getKeyState(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; bool result;
3342
+ VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3343
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = NUM2UINT(argv[0]);
3344
+ result = (bool)((FXApp const *)arg1)->getKeyState(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
3345
+ static VALUE _wrap_FXApp_peekEvent(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool result;
3237
3346
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3238
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXbool)(arg1)->peekEvent();
3347
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (bool)(arg1)->peekEvent();
3239
3348
  vresult = result ? Qtrue : Qfalse; return vresult; }
3240
- static VALUE _wrap_FXApp_runOneEvent(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXbool arg2 = (FXbool) 1 ;
3241
- if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3242
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
3243
- (arg1)->runOneEvent(arg2); return Qnil; }
3349
+ static VALUE _wrap_FXApp_runOneEvent(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool arg2 = (bool) true ;
3350
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
3351
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3352
+ if (argc > 0) { arg2 = RTEST(argv[0]); } result = (bool)(arg1)->runOneEvent(arg2); vresult = result ? Qtrue : Qfalse;
3353
+ return vresult; }
3244
3354
  static VALUE _wrap_FXApp_run(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXint result;
3245
3355
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3246
3356
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXint)(arg1)->run(); vresult = INT2NUM(result);
@@ -3279,9 +3389,9 @@ static VALUE _wrap_FXApp_runPopup(int argc, VALUE *argv, VALUE self) { FXApp *ar
3279
3389
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1); result = (FXint)(arg1)->runPopup(arg2);
3280
3390
  vresult = INT2NUM(result); return vresult; }
3281
3391
  static VALUE _wrap_FXApp_isModal(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3282
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
3392
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
3283
3393
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3284
- SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXApp const *)arg1)->isModal(arg2);
3394
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXApp const *)arg1)->isModal(arg2);
3285
3395
  vresult = result ? Qtrue : Qfalse; return vresult; }
3286
3396
  static VALUE _wrap_FXApp_getModalWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXWindow *result;
3287
3397
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -3326,10 +3436,10 @@ static VALUE _wrap_FXApp_forceRefresh(int argc, VALUE *argv, VALUE self) { FXApp
3326
3436
  static VALUE _wrap_FXApp_refresh(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; if ((argc < 0) || (argc > 0))
3327
3437
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3328
3438
  (arg1)->refresh(); return Qnil; }
3329
- static VALUE _wrap_FXApp_flush(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXbool arg2 = (FXbool) 0 ;
3439
+ static VALUE _wrap_FXApp_flush(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; bool arg2 = (bool) false ;
3330
3440
  if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3331
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
3332
- (arg1)->flush(arg2); return Qnil; }
3441
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 0) { arg2 = RTEST(argv[0]); } (arg1)->flush(arg2);
3442
+ return Qnil; }
3333
3443
  static VALUE _wrap_FXApp_repaint(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; if ((argc < 0) || (argc > 0))
3334
3444
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3335
3445
  (arg1)->repaint(); return Qnil; }
@@ -3397,11 +3507,37 @@ static VALUE _wrap_FXApp_setDefaultCursor(int argc, VALUE *argv, VALUE self) { F
3397
3507
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3398
3508
  arg2 = (int) NUM2INT(argv[0]); SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXCursor, 1);
3399
3509
  FXApp_setDefaultCursor(arg1,(FXDefaultCursor )arg2,arg3); return Qnil; }
3510
+ static VALUE _wrap_FXApp_writeWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXStream *arg2 = 0 ;
3511
+ FXWindow *arg3 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
3512
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3513
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
3514
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXWindow, 1); result = (FXbool)(arg1)->writeWindow(*arg2,arg3);
3515
+ vresult = result ? Qtrue : Qfalse; return vresult; }
3516
+ static VALUE _wrap_FXApp_readWindow(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXStream *arg2 = 0 ;
3517
+ FXWindow **arg3 = 0 ; FXWindow *arg4 = (FXWindow *) 0 ; FXWindow *arg5 = (FXWindow *) 0 ; FXWindow *result;
3518
+ VALUE vresult = Qnil; if ((argc < 4) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
3519
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3520
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
3521
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_p_FXWindow, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
3522
+ SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_FXWindow, 1);
3523
+ SWIG_ConvertPtr(argv[3], (void **) &arg5, SWIGTYPE_p_FXWindow, 1);
3524
+ result = (FXWindow *)FXApp_readWindow(arg1,*arg2,*arg3,arg4,arg5); {
3525
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result);
3526
+ vresult = FXRbGetRubyObj(result, ty); } return vresult; }
3400
3527
  static VALUE _wrap_FXApp_mutex(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXMutex *result;
3401
3528
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3402
3529
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); { FXMutex &_result_ref = (arg1)->mutex();
3403
3530
  result = (FXMutex *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXMutex,0);
3404
3531
  return vresult; }
3532
+ static VALUE _wrap_FXApp_setTranslator(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3533
+ FXTranslator *arg2 = (FXTranslator *) 0 ; if ((argc < 1) || (argc > 1))
3534
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3535
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXTranslator, 1); (arg1)->setTranslator(arg2); return Qnil; }
3536
+ static VALUE _wrap_FXApp_getTranslator(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXTranslator *result;
3537
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3538
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3539
+ result = (FXTranslator *)((FXApp const *)arg1)->getTranslator();
3540
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXTranslator,0); return vresult; }
3405
3541
  static VALUE _wrap_FXApp_getTypingSpeed(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint result;
3406
3542
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3407
3543
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXuint)((FXApp const *)arg1)->getTypingSpeed();
@@ -3446,6 +3582,10 @@ static VALUE _wrap_FXApp_getWheelLines(int argc, VALUE *argv, VALUE self) { FXAp
3446
3582
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3447
3583
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXint)((FXApp const *)arg1)->getWheelLines();
3448
3584
  vresult = INT2NUM(result); return vresult; }
3585
+ static VALUE _wrap_FXApp_scrollBarSize(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXint result;
3586
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3587
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXint)((FXApp const *)arg1)->getScrollBarSize();
3588
+ vresult = INT2NUM(result); return vresult; }
3449
3589
  static VALUE _wrap_FXApp_setTypingSpeed(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ;
3450
3590
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3451
3591
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = NUM2UINT(argv[0]); (arg1)->setTypingSpeed(arg2);
@@ -3490,6 +3630,10 @@ static VALUE _wrap_FXApp_setWheelLines(int argc, VALUE *argv, VALUE self) { FXAp
3490
3630
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3491
3631
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = NUM2INT(argv[0]); (arg1)->setWheelLines(arg2);
3492
3632
  return Qnil; }
3633
+ static VALUE _wrap_FXApp_scrollBarSizee___(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXint arg2 ;
3634
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3635
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = NUM2INT(argv[0]); (arg1)->setScrollBarSize(arg2);
3636
+ return Qnil; }
3493
3637
  static VALUE _wrap_FXApp_getBorderColor(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXColor result;
3494
3638
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3495
3639
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXColor)((FXApp const *)arg1)->getBorderColor();
@@ -3589,6 +3733,10 @@ static VALUE _wrap_FXApp_setSelMenuBackColor(int argc, VALUE *argv, VALUE self)
3589
3733
  static VALUE _wrap_FXApp_dumpWidgets(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
3590
3734
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3591
3735
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); ((FXApp const *)arg1)->dumpWidgets(); return Qnil; }
3736
+ static VALUE _wrap_FXApp_getWindowCount(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint result;
3737
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3738
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); result = (FXuint)((FXApp const *)arg1)->getWindowCount();
3739
+ vresult = UINT2NUM(result); return vresult; }
3592
3740
  static void
3593
3741
  free_FXApp(FXApp *arg1) {
3594
3742
  delete arg1;
@@ -3613,8 +3761,8 @@ static VALUE _wrap_FXApp_detach(int argc, VALUE *argv, VALUE self) { FXApp *arg1
3613
3761
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1);
3614
3762
  FXApp_detach(arg1); return Qnil; }
3615
3763
  static VALUE _wrap_FXApp_init(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; VALUE arg2 ;
3616
- FXbool arg3 = (FXbool) 1 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3617
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = argv[0]; if (argc > 1) { arg3 = to_FXbool(argv[1]); }
3764
+ bool arg3 = (bool) true ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3765
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXApp, 1); arg2 = argv[0]; if (argc > 1) { arg3 = RTEST(argv[1]); }
3618
3766
  FXApp_init(arg1,arg2,arg3); return Qnil; }
3619
3767
  static VALUE _wrap_FXApp_exit(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXint arg2 = (FXint) 0 ;
3620
3768
  if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -3798,6 +3946,59 @@ static VALUE _wrap_FXDelegator_load(int argc, VALUE *argv, VALUE self) { FXDeleg
3798
3946
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
3799
3947
  FXDelegator_load(arg1,*arg2); return Qnil; }
3800
3948
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3949
+ static VALUE _wrap_FXTranslator_allocate(VALUE self) {
3950
+ #else
3951
+ static VALUE _wrap_FXTranslator_allocate(int argc, VALUE *argv, VALUE self) {
3952
+ #endif
3953
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTranslator);
3954
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3955
+ rb_obj_call_init(vresult, argc, argv);
3956
+ #endif
3957
+ return vresult; }
3958
+ static VALUE _wrap_new_FXTranslator(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXTranslator *result;
3959
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3960
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); { result = (FXTranslator *)new_FXTranslator(arg1);
3961
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
3962
+ static VALUE _wrap_FXTranslator_getApp(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ;
3963
+ FXApp *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
3964
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3965
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1);
3966
+ result = (FXApp *)((FXTranslator const *)arg1)->getApp(); {
3967
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXApp, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
3968
+ return vresult; }
3969
+ static VALUE _wrap_FXTranslator_setTextCodec(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ;
3970
+ FXTextCodec *arg2 = (FXTextCodec *) 0 ; if ((argc < 1) || (argc > 1))
3971
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3972
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1);
3973
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXTextCodec, 1); (arg1)->setTextCodec(arg2); return Qnil; }
3974
+ static VALUE _wrap_FXTranslator_getTextCodec(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ;
3975
+ FXTextCodec *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
3976
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3977
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1);
3978
+ result = (FXTextCodec *)((FXTranslator const *)arg1)->getTextCodec();
3979
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXTextCodec,0); return vresult; }
3980
+ static void
3981
+ free_FXTranslator(FXTranslator *arg1) {
3982
+ delete arg1;
3983
+ }
3984
+ static VALUE _wrap_FXTranslator_save(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ;
3985
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3986
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1);
3987
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
3988
+ FXTranslator_save((FXTranslator const *)arg1,*arg2); return Qnil; }
3989
+ static VALUE _wrap_FXTranslator_load(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ;
3990
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3991
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1);
3992
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
3993
+ FXTranslator_load(arg1,*arg2); return Qnil; }
3994
+ static VALUE _wrap_FXTranslator_tr(int argc, VALUE *argv, VALUE self) { FXTranslator *arg1 = (FXTranslator *) 0 ; FXchar *arg2 ;
3995
+ FXchar *arg3 ; FXchar *arg4 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
3996
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
3997
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTranslator, 1); arg2 = StringValuePtr(argv[0]);
3998
+ arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = StringValuePtr(argv[2]); }
3999
+ result = (FXchar *)FXTranslator_tr((FXTranslator const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3,(FXchar const *)arg4);
4000
+ vresult = rb_str_new2(result); return vresult; }
4001
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3801
4002
  static VALUE _wrap_FXDict_allocate(VALUE self) {
3802
4003
  #else
3803
4004
  static VALUE _wrap_FXDict_allocate(int argc, VALUE *argv, VALUE self) {
@@ -3830,10 +4031,10 @@ static VALUE _wrap_FXDict_key(int argc, VALUE *argv, VALUE self) { FXDict *arg1
3830
4031
  VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3831
4032
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDict, 1); arg2 = NUM2UINT(argv[0]);
3832
4033
  result = (FXchar *)((FXDict const *)arg1)->key(arg2); vresult = rb_str_new2(result); return vresult; }
3833
- static VALUE _wrap_FXDict_mark(int argc, VALUE *argv, VALUE self) { FXDict *arg1 = (FXDict *) 0 ; FXuint arg2 ; FXbool result;
4034
+ static VALUE _wrap_FXDict_mark(int argc, VALUE *argv, VALUE self) { FXDict *arg1 = (FXDict *) 0 ; FXuint arg2 ; bool result;
3834
4035
  VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
3835
4036
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDict, 1); arg2 = NUM2UINT(argv[0]);
3836
- result = (FXbool)((FXDict const *)arg1)->mark(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4037
+ result = (bool)((FXDict const *)arg1)->mark(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
3837
4038
  static VALUE _wrap_FXDict_first(int argc, VALUE *argv, VALUE self) { FXDict *arg1 = (FXDict *) 0 ; FXint result;
3838
4039
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
3839
4040
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDict, 1); result = (FXint)((FXDict const *)arg1)->first();
@@ -3854,9 +4055,9 @@ static VALUE _wrap_FXDict_clear(int argc, VALUE *argv, VALUE self) { FXDict *arg
3854
4055
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDict, 1);
3855
4056
  (arg1)->clear(); return Qnil; }
3856
4057
  static VALUE _wrap_FXDict_has_keyq___(int argc, VALUE *argv, VALUE self) { FXDict *arg1 = (FXDict *) 0 ; FXchar *arg2 ;
3857
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4058
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
3858
4059
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDict, 1);
3859
- arg2 = StringValuePtr(argv[0]); result = (FXbool)FXDict_has_key((FXDict const *)arg1,(FXchar const *)arg2);
4060
+ arg2 = StringValuePtr(argv[0]); result = (bool)FXDict_has_key((FXDict const *)arg1,(FXchar const *)arg2);
3860
4061
  vresult = (result ? Qtrue : Qfalse); return vresult; }
3861
4062
  static void
3862
4063
  free_FXDict(FXDict *arg1) {
@@ -4013,6 +4214,17 @@ static VALUE _wrap_new_FXFileDict(int nargs, VALUE *args, VALUE self) { int argc
4013
4214
  _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXSettings, 0) != -1)) ? 1 : 0; }
4014
4215
  if (_v) { return _wrap_new_FXFileDict__SWIG_1(nargs, args, self);} } }
4015
4216
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXFileDict'"); return Qnil; }
4217
+ static VALUE _wrap_FXFileDict_setSettings(int argc, VALUE *argv, VALUE self) { FXFileDict *arg1 = (FXFileDict *) 0 ;
4218
+ FXSettings *arg2 = (FXSettings *) 0 ; if ((argc < 1) || (argc > 1))
4219
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4220
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileDict, 1);
4221
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSettings, 1); (arg1)->setSettings(arg2); return Qnil; }
4222
+ static VALUE _wrap_FXFileDict_getSettings(int argc, VALUE *argv, VALUE self) { FXFileDict *arg1 = (FXFileDict *) 0 ;
4223
+ FXSettings *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
4224
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4225
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileDict, 1);
4226
+ result = (FXSettings *)((FXFileDict const *)arg1)->getSettings();
4227
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSettings,0); return vresult; }
4016
4228
  static VALUE _wrap_FXFileDict_setIconDict(int argc, VALUE *argv, VALUE self) { FXFileDict *arg1 = (FXFileDict *) 0 ;
4017
4229
  FXIconDict *arg2 = (FXIconDict *) 0 ; if ((argc < 1) || (argc > 1))
4018
4230
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -4053,12 +4265,6 @@ static VALUE _wrap_FXFileDict_find(int argc, VALUE *argv, VALUE self) { FXFileDi
4053
4265
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileDict, 1); arg2 = StringValuePtr(argv[0]);
4054
4266
  result = (FXFileAssoc *)(arg1)->find((FXchar const *)arg2); vresult = FXRbGetRubyObj(result, "FXFileAssoc *");
4055
4267
  return vresult; }
4056
- static VALUE _wrap_FXFileDict_associate(int argc, VALUE *argv, VALUE self) { FXFileDict *arg1 = (FXFileDict *) 0 ;
4057
- FXchar *arg2 ; FXFileAssoc *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4058
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4059
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFileDict, 1); arg2 = StringValuePtr(argv[0]);
4060
- result = (FXFileAssoc *)(arg1)->associate((FXchar const *)arg2); vresult = FXRbGetRubyObj(result, "FXFileAssoc *");
4061
- return vresult; }
4062
4268
  static void
4063
4269
  free_FXFileDict(FXFileDict *arg1) {
4064
4270
  delete arg1;
@@ -4172,17 +4378,17 @@ static VALUE _wrap_new_FXStringDict(int argc, VALUE *argv, VALUE self) { FXStrin
4172
4378
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (FXStringDict *)new_FXStringDict();
4173
4379
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
4174
4380
  static VALUE _wrap_FXStringDict_insert(int argc, VALUE *argv, VALUE self) { FXStringDict *arg1 = (FXStringDict *) 0 ;
4175
- FXchar *arg2 ; FXchar *arg3 ; FXbool arg4 = (FXbool) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
4381
+ FXchar *arg2 ; FXchar *arg3 ; bool arg4 = (bool) false ; FXchar *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
4176
4382
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4177
4383
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStringDict, 1); arg2 = StringValuePtr(argv[0]);
4178
- arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); }
4384
+ arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = RTEST(argv[2]); }
4179
4385
  result = (FXchar *)(arg1)->insert((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = rb_str_new2(result);
4180
4386
  return vresult; }
4181
4387
  static VALUE _wrap_FXStringDict_replace(int argc, VALUE *argv, VALUE self) { FXStringDict *arg1 = (FXStringDict *) 0 ;
4182
- FXchar *arg2 ; FXchar *arg3 ; FXbool arg4 = (FXbool) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
4388
+ FXchar *arg2 ; FXchar *arg3 ; bool arg4 = (bool) false ; FXchar *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
4183
4389
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4184
4390
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXStringDict, 1); arg2 = StringValuePtr(argv[0]);
4185
- arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); }
4391
+ arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = RTEST(argv[2]); }
4186
4392
  result = (FXchar *)(arg1)->replace((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = rb_str_new2(result);
4187
4393
  return vresult; }
4188
4394
  static VALUE _wrap_FXStringDict_remove(int argc, VALUE *argv, VALUE self) { FXStringDict *arg1 = (FXStringDict *) 0 ;
@@ -4228,16 +4434,16 @@ static VALUE _wrap_new_FXSettings(int argc, VALUE *argv, VALUE self) { FXSetting
4228
4434
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (FXSettings *)new_FXSettings();
4229
4435
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
4230
4436
  static VALUE _wrap_FXSettings_parseFile(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4231
- FXString *arg2 = 0 ; FXbool arg3 ; FXbool result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil;
4437
+ FXString *arg2 = 0 ; bool arg3 ; bool result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil;
4232
4438
  if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4233
4439
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); p2 = to_FXString(argv[0]); arg2 = &p2;
4234
- arg3 = to_FXbool(argv[1]); result = (FXbool)(arg1)->parseFile((FXString const &)*arg2,arg3);
4235
- vresult = result ? Qtrue : Qfalse; return vresult; }
4440
+ arg3 = RTEST(argv[1]); result = (bool)(arg1)->parseFile((FXString const &)*arg2,arg3); vresult = result ? Qtrue : Qfalse;
4441
+ return vresult; }
4236
4442
  static VALUE _wrap_FXSettings_unparseFile(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4237
- FXString *arg2 = 0 ; FXbool result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4443
+ FXString *arg2 = 0 ; bool result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4238
4444
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4239
4445
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); p2 = to_FXString(argv[0]); arg2 = &p2;
4240
- result = (FXbool)(arg1)->unparseFile((FXString const &)*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4446
+ result = (bool)(arg1)->unparseFile((FXString const &)*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4241
4447
  static VALUE _wrap_FXSettings_data(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ; FXuint arg2 ;
4242
4448
  FXStringDict *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4243
4449
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -4287,75 +4493,88 @@ static VALUE _wrap_FXSettings_readColorEntry(int argc, VALUE *argv, VALUE self)
4287
4493
  arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = to_FXColor(argv[2]); }
4288
4494
  result = (FXColor)(arg1)->readColorEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = UINT2NUM(result);
4289
4495
  return vresult; }
4496
+ static VALUE _wrap_FXSettings_readBoolEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4497
+ FXchar *arg2 ; FXchar *arg3 ; FXbool arg4 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
4498
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4499
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4500
+ arg3 = StringValuePtr(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); }
4501
+ result = (FXbool)(arg1)->readBoolEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4502
+ return vresult; }
4290
4503
  static VALUE _wrap_FXSettings_writeStringEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4291
- FXchar *arg2 ; FXchar *arg3 ; FXchar *arg4 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4504
+ FXchar *arg2 ; FXchar *arg3 ; FXchar *arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4292
4505
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4293
4506
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4294
4507
  arg3 = StringValuePtr(argv[1]); arg4 = StringValuePtr(argv[2]);
4295
- result = (FXbool)(arg1)->writeStringEntry((FXchar const *)arg2,(FXchar const *)arg3,(FXchar const *)arg4);
4508
+ result = (bool)(arg1)->writeStringEntry((FXchar const *)arg2,(FXchar const *)arg3,(FXchar const *)arg4);
4296
4509
  vresult = result ? Qtrue : Qfalse; return vresult; }
4297
4510
  static VALUE _wrap_FXSettings_writeIntEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4298
- FXchar *arg2 ; FXchar *arg3 ; FXint arg4 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4511
+ FXchar *arg2 ; FXchar *arg3 ; FXint arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4299
4512
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4300
4513
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4301
4514
  arg3 = StringValuePtr(argv[1]); arg4 = NUM2INT(argv[2]);
4302
- result = (FXbool)(arg1)->writeIntEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4515
+ result = (bool)(arg1)->writeIntEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4303
4516
  return vresult; }
4304
4517
  static VALUE _wrap_FXSettings_writeUnsignedEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4305
- FXchar *arg2 ; FXchar *arg3 ; FXuint arg4 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4518
+ FXchar *arg2 ; FXchar *arg3 ; FXuint arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4306
4519
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4307
4520
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4308
4521
  arg3 = StringValuePtr(argv[1]); arg4 = NUM2UINT(argv[2]);
4309
- result = (FXbool)(arg1)->writeUnsignedEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4);
4522
+ result = (bool)(arg1)->writeUnsignedEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4);
4310
4523
  vresult = result ? Qtrue : Qfalse; return vresult; }
4311
4524
  static VALUE _wrap_FXSettings_writeRealEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4312
- FXchar *arg2 ; FXchar *arg3 ; FXdouble arg4 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4525
+ FXchar *arg2 ; FXchar *arg3 ; FXdouble arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4313
4526
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4314
4527
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4315
4528
  arg3 = StringValuePtr(argv[1]); arg4 = (FXdouble) NUM2DBL(argv[2]);
4316
- result = (FXbool)(arg1)->writeRealEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4529
+ result = (bool)(arg1)->writeRealEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4317
4530
  return vresult; }
4318
4531
  static VALUE _wrap_FXSettings_writeColorEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4319
- FXchar *arg2 ; FXchar *arg3 ; FXColor arg4 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4532
+ FXchar *arg2 ; FXchar *arg3 ; FXColor arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4320
4533
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4321
4534
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4322
4535
  arg3 = StringValuePtr(argv[1]); arg4 = to_FXColor(argv[2]);
4323
- result = (FXbool)(arg1)->writeColorEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4536
+ result = (bool)(arg1)->writeColorEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4537
+ return vresult; }
4538
+ static VALUE _wrap_FXSettings_writeBoolEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4539
+ FXchar *arg2 ; FXchar *arg3 ; FXbool arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
4540
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
4541
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4542
+ arg3 = StringValuePtr(argv[1]); arg4 = to_FXbool(argv[2]);
4543
+ result = (bool)(arg1)->writeBoolEntry((FXchar const *)arg2,(FXchar const *)arg3,arg4); vresult = result ? Qtrue : Qfalse;
4324
4544
  return vresult; }
4325
4545
  static VALUE _wrap_FXSettings_deleteEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4326
- FXchar *arg2 ; FXchar *arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
4546
+ FXchar *arg2 ; FXchar *arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
4327
4547
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4328
4548
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4329
- arg3 = StringValuePtr(argv[1]); result = (FXbool)(arg1)->deleteEntry((FXchar const *)arg2,(FXchar const *)arg3);
4549
+ arg3 = StringValuePtr(argv[1]); result = (bool)(arg1)->deleteEntry((FXchar const *)arg2,(FXchar const *)arg3);
4330
4550
  vresult = result ? Qtrue : Qfalse; return vresult; }
4331
4551
  static VALUE _wrap_FXSettings_existingEntry(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4332
- FXchar *arg2 ; FXchar *arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
4552
+ FXchar *arg2 ; FXchar *arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
4333
4553
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4334
4554
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4335
- arg3 = StringValuePtr(argv[1]); result = (FXbool)(arg1)->existingEntry((FXchar const *)arg2,(FXchar const *)arg3);
4555
+ arg3 = StringValuePtr(argv[1]); result = (bool)(arg1)->existingEntry((FXchar const *)arg2,(FXchar const *)arg3);
4336
4556
  vresult = result ? Qtrue : Qfalse; return vresult; }
4337
4557
  static VALUE _wrap_FXSettings_deleteSection(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4338
- FXchar *arg2 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4558
+ FXchar *arg2 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4339
4559
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4340
4560
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4341
- result = (FXbool)(arg1)->deleteSection((FXchar const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4561
+ result = (bool)(arg1)->deleteSection((FXchar const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4342
4562
  static VALUE _wrap_FXSettings_existingSection(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4343
- FXchar *arg2 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4563
+ FXchar *arg2 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4344
4564
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4345
4565
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); arg2 = StringValuePtr(argv[0]);
4346
- result = (FXbool)(arg1)->existingSection((FXchar const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4566
+ result = (bool)(arg1)->existingSection((FXchar const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4347
4567
  static VALUE _wrap_FXSettings_clear(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ; FXbool result;
4348
4568
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4349
4569
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); result = (FXbool)(arg1)->clear();
4350
4570
  vresult = result ? Qtrue : Qfalse; return vresult; }
4351
4571
  static VALUE _wrap_FXSettings_setModified(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4352
- FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4353
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
4572
+ bool arg2 = (bool) true ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4573
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); if (argc > 0) { arg2 = RTEST(argv[0]); }
4354
4574
  (arg1)->setModified(arg2); return Qnil; }
4355
- static VALUE _wrap_FXSettings_isModified(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ;
4356
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
4357
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4358
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); result = (FXbool)((FXSettings const *)arg1)->isModified();
4575
+ static VALUE _wrap_FXSettings_isModified(int argc, VALUE *argv, VALUE self) { FXSettings *arg1 = (FXSettings *) 0 ; bool result;
4576
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4577
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSettings, 1); result = (bool)((FXSettings const *)arg1)->isModified();
4359
4578
  vresult = result ? Qtrue : Qfalse; return vresult; }
4360
4579
  static void
4361
4580
  free_FXSettings(FXSettings *arg1) {
@@ -4389,13 +4608,13 @@ static VALUE _wrap_new_FXRegistry(int argc, VALUE *argv, VALUE self) { FXString
4389
4608
  if (argc > 1) { p2 = to_FXString(argv[1]); arg2 = &p2; } {
4390
4609
  result = (FXRegistry *)new_FXRegistry((FXString const &)*arg1,(FXString const &)*arg2);
4391
4610
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
4392
- static VALUE _wrap_FXRegistry_read(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ; FXbool result;
4611
+ static VALUE _wrap_FXRegistry_read(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ; bool result;
4393
4612
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4394
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); result = (FXbool)(arg1)->read();
4613
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); result = (bool)(arg1)->read();
4395
4614
  vresult = result ? Qtrue : Qfalse; return vresult; }
4396
- static VALUE _wrap_FXRegistry_write(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ; FXbool result;
4615
+ static VALUE _wrap_FXRegistry_write(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ; bool result;
4397
4616
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4398
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); result = (FXbool)(arg1)->write();
4617
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); result = (bool)(arg1)->write();
4399
4618
  vresult = result ? Qtrue : Qfalse; return vresult; }
4400
4619
  static VALUE _wrap_FXRegistry_getAppKey(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ;
4401
4620
  FXString *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
@@ -4410,14 +4629,14 @@ static VALUE _wrap_FXRegistry_getVendorKey(int argc, VALUE *argv, VALUE self) {
4410
4629
  FXString const &_result_ref = ((FXRegistry const *)arg1)->getVendorKey(); result = (FXString *) &_result_ref; }
4411
4630
  vresult = rb_str_new2(result->text()); return vresult; }
4412
4631
  static VALUE _wrap_FXRegistry_setAsciiMode(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ;
4413
- FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4414
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); arg2 = to_FXbool(argv[0]); (arg1)->setAsciiMode(arg2);
4632
+ bool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4633
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); arg2 = RTEST(argv[0]); (arg1)->setAsciiMode(arg2);
4415
4634
  return Qnil; }
4416
4635
  static VALUE _wrap_FXRegistry_getAsciiMode(int argc, VALUE *argv, VALUE self) { FXRegistry *arg1 = (FXRegistry *) 0 ;
4417
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
4636
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
4418
4637
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4419
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1);
4420
- result = (FXbool)((FXRegistry const *)arg1)->getAsciiMode(); vresult = result ? Qtrue : Qfalse; return vresult; }
4638
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRegistry, 1); result = (bool)((FXRegistry const *)arg1)->getAsciiMode();
4639
+ vresult = result ? Qtrue : Qfalse; return vresult; }
4421
4640
  static void
4422
4641
  free_FXRegistry(FXRegistry *arg1) {
4423
4642
  delete arg1;
@@ -4530,6 +4749,10 @@ static VALUE _wrap_new_FXRecentFiles__SWIG_0(int argc, VALUE *argv, VALUE self)
4530
4749
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); {
4531
4750
  result = (FXRecentFiles *)new_FXRecentFiles__SWIG_0(); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
4532
4751
  if(rb_block_given_p()){ rb_yield(self); } } return self; }
4752
+ static VALUE _wrap_new_FXRecentFiles__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
4753
+ FXRecentFiles *result; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4754
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); { result = (FXRecentFiles *)new_FXRecentFiles__SWIG_1(arg1);
4755
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
4533
4756
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4534
4757
  static VALUE _wrap_FXRecentFiles_allocate(VALUE self) {
4535
4758
  #else
@@ -4540,23 +4763,35 @@ static VALUE _wrap_FXRecentFiles_allocate(VALUE self) {
4540
4763
  rb_obj_call_init(vresult, argc, argv);
4541
4764
  #endif
4542
4765
  return vresult; }
4543
- static VALUE _wrap_new_FXRecentFiles__SWIG_1(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ;
4544
- FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXRecentFiles *result; SwigValueWrapper<FXString > p1 ;
4545
- if ((argc < 1) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4546
- p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) { SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); }
4547
- if (argc > 2) { arg3 = NUM2UINT(argv[2]); } {
4548
- result = (FXRecentFiles *)new_FXRecentFiles__SWIG_1((FXString const &)*arg1,arg2,arg3);
4766
+ static VALUE _wrap_new_FXRecentFiles__SWIG_2(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
4767
+ FXString *arg2 = 0 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXRecentFiles *result;
4768
+ SwigValueWrapper<FXString > p2 ; if ((argc < 2) || (argc > 4))
4769
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
4770
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) {
4771
+ SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXObject, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } {
4772
+ result = (FXRecentFiles *)new_FXRecentFiles__SWIG_2(arg1,(FXString const &)*arg2,arg3,arg4);
4549
4773
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
4550
- static VALUE _wrap_new_FXRecentFiles(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs;
4551
- for (ii = 0; (ii < argc) && (ii < 3); ii++) { argv[ii] = args[ii]; } if (argc == 0) {
4552
- return _wrap_new_FXRecentFiles__SWIG_0(nargs, args, self);} if ((argc >= 1) && (argc <= 3)) { int _v; {
4553
- _v = (NIL_P(argv[0]) || TYPE(argv[0]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 1) {
4554
- return _wrap_new_FXRecentFiles__SWIG_1(nargs, args, self);} { void *ptr;
4555
- _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXObject, 0) != -1)) ? 1 : 0; }
4556
- if (_v) { if (argc <= 2) { return _wrap_new_FXRecentFiles__SWIG_1(nargs, args, self);} {
4557
- _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
4558
- return _wrap_new_FXRecentFiles__SWIG_1(nargs, args, self);} } } }
4774
+ static VALUE _wrap_new_FXRecentFiles(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs;
4775
+ for (ii = 0; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii]; } if (argc == 0) {
4776
+ return _wrap_new_FXRecentFiles__SWIG_0(nargs, args, self);} if (argc == 1) { int _v; { void *ptr;
4777
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXApp, 0) != -1)) ? 1 : 0; }
4778
+ if (_v) { return _wrap_new_FXRecentFiles__SWIG_1(nargs, args, self);} } if ((argc >= 2) && (argc <= 4)) { int _v; {
4779
+ void *ptr;
4780
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXApp, 0) != -1)) ? 1 : 0; }
4781
+ if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) {
4782
+ return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);} { void *ptr;
4783
+ _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXObject, 0) != -1)) ? 1 : 0; }
4784
+ if (_v) { if (argc <= 3) { return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);} {
4785
+ _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
4786
+ return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);} } } } }
4559
4787
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXRecentFiles'"); return Qnil; }
4788
+ static VALUE _wrap_FXRecentFiles_app(int argc, VALUE *argv, VALUE self) { FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
4789
+ FXApp *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
4790
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4791
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRecentFiles, 1);
4792
+ result = (FXApp *)((FXRecentFiles const *)arg1)->getApp(); {
4793
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXApp, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
4794
+ return vresult; }
4560
4795
  static VALUE _wrap_FXRecentFiles_setMaxFiles(int argc, VALUE *argv, VALUE self) { FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
4561
4796
  FXint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4562
4797
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRecentFiles, 1); arg2 = NUM2INT(argv[0]); (arg1)->setMaxFiles(arg2);
@@ -4772,9 +5007,9 @@ static VALUE _wrap_FXCursor_getHotY(int argc, VALUE *argv, VALUE self) { FXCurso
4772
5007
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4773
5008
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1); result = (FXint)((FXCursor const *)arg1)->getHotY();
4774
5009
  vresult = INT2NUM(result); return vresult; }
4775
- static VALUE _wrap_FXCursor_isColor(int argc, VALUE *argv, VALUE self) { FXCursor *arg1 = (FXCursor *) 0 ; FXbool result;
5010
+ static VALUE _wrap_FXCursor_isColor(int argc, VALUE *argv, VALUE self) { FXCursor *arg1 = (FXCursor *) 0 ; bool result;
4776
5011
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4777
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1); result = (FXbool)((FXCursor const *)arg1)->isColor();
5012
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1); result = (bool)((FXCursor const *)arg1)->isColor();
4778
5013
  vresult = result ? Qtrue : Qfalse; return vresult; }
4779
5014
  static void
4780
5015
  free_FXCursor(FXCursor *arg1) {
@@ -4800,17 +5035,17 @@ static VALUE _wrap_FXCursor_destroy(int argc, VALUE *argv, VALUE self) { FXCurso
4800
5035
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4801
5036
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1); FXCursor_destroy(arg1); return Qnil; }
4802
5037
  static VALUE _wrap_FXCursor_savePixels(int argc, VALUE *argv, VALUE self) { FXCursor *arg1 = (FXCursor *) 0 ;
4803
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5038
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4804
5039
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4805
5040
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1);
4806
5041
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4807
- result = (FXbool)FXCursor_savePixels((FXCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
5042
+ result = (bool)FXCursor_savePixels((FXCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4808
5043
  static VALUE _wrap_FXCursor_loadPixels(int argc, VALUE *argv, VALUE self) { FXCursor *arg1 = (FXCursor *) 0 ;
4809
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5044
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4810
5045
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4811
5046
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCursor, 1);
4812
5047
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4813
- result = (FXbool)FXCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
5048
+ result = (bool)FXCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4814
5049
  static VALUE _wrap_FXCURCursor_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
4815
5050
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4816
5051
  result = (VALUE)FXCURCursor_fileExt(); vresult = result; return vresult; }
@@ -4854,18 +5089,17 @@ static VALUE _wrap_FXCURCursor_destroy(int argc, VALUE *argv, VALUE self) { FXCU
4854
5089
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4855
5090
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCURCursor, 1); FXCURCursor_destroy(arg1); return Qnil; }
4856
5091
  static VALUE _wrap_FXCURCursor_savePixels(int argc, VALUE *argv, VALUE self) { FXCURCursor *arg1 = (FXCURCursor *) 0 ;
4857
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5092
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4858
5093
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4859
5094
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCURCursor, 1);
4860
5095
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4861
- result = (FXbool)FXCURCursor_savePixels((FXCURCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse;
4862
- return vresult; }
5096
+ result = (bool)FXCURCursor_savePixels((FXCURCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4863
5097
  static VALUE _wrap_FXCURCursor_loadPixels(int argc, VALUE *argv, VALUE self) { FXCURCursor *arg1 = (FXCURCursor *) 0 ;
4864
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5098
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4865
5099
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4866
5100
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXCURCursor, 1);
4867
5101
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4868
- result = (FXbool)FXCURCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
5102
+ result = (bool)FXCURCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4869
5103
  static VALUE _wrap_FXGIFCursor_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
4870
5104
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4871
5105
  result = (VALUE)FXGIFCursor_fileExt(); vresult = result; return vresult; }
@@ -4911,35 +5145,34 @@ static VALUE _wrap_FXGIFCursor_destroy(int argc, VALUE *argv, VALUE self) { FXGI
4911
5145
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
4912
5146
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFCursor, 1); FXGIFCursor_destroy(arg1); return Qnil; }
4913
5147
  static VALUE _wrap_FXGIFCursor_savePixels(int argc, VALUE *argv, VALUE self) { FXGIFCursor *arg1 = (FXGIFCursor *) 0 ;
4914
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5148
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4915
5149
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4916
5150
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFCursor, 1);
4917
5151
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4918
- result = (FXbool)FXGIFCursor_savePixels((FXGIFCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse;
4919
- return vresult; }
5152
+ result = (bool)FXGIFCursor_savePixels((FXGIFCursor const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4920
5153
  static VALUE _wrap_FXGIFCursor_loadPixels(int argc, VALUE *argv, VALUE self) { FXGIFCursor *arg1 = (FXGIFCursor *) 0 ;
4921
- FXStream *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5154
+ FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
4922
5155
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4923
5156
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFCursor, 1);
4924
5157
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
4925
- result = (FXbool)FXGIFCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
5158
+ result = (bool)FXGIFCursor_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
4926
5159
  static VALUE _wrap_fxsaveGIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXColor *arg2 = (FXColor *) 0 ;
4927
- FXint arg3 ; FXint arg4 ; FXbool arg5 = (FXbool) 1 ; FXbool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 5))
5160
+ FXint arg3 ; FXint arg4 ; FXbool arg5 = (FXbool) 1 ; bool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 5))
4928
5161
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
4929
5162
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
4930
5163
  { arg2=NULL; if(argv[1]!=Qnil){ Check_Type(argv[1],T_ARRAY); if(FXMALLOC(&arg2,FXColor,RARRAY(argv[1])->len)){
4931
5164
  for(long i=0; i<RARRAY(argv[1])->len; i++){ arg2[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(argv[1],i))); } }
4932
5165
  } } arg3 = NUM2INT(argv[2]); arg4 = NUM2INT(argv[3]); if (argc > 4) { arg5 = to_FXbool(argv[4]); }
4933
- result = (FXbool)fxsaveGIF(*arg1,(FXColor const *)arg2,arg3,arg4,arg5); vresult = result ? Qtrue : Qfalse; FXFREE(&arg2);
5166
+ result = (bool)fxsaveGIF(*arg1,(FXColor const *)arg2,arg3,arg4,arg5); vresult = result ? Qtrue : Qfalse; FXFREE(&arg2);
4934
5167
  return vresult; }
4935
5168
  static VALUE _wrap_fxloadGIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; VALUE result; VALUE vresult = Qnil;
4936
5169
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4937
5170
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
4938
5171
  result = (VALUE)fxloadGIF(*arg1); vresult = result; return vresult; }
4939
- static VALUE _wrap_fxcheckGIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXbool result; VALUE vresult = Qnil;
5172
+ static VALUE _wrap_fxcheckGIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; bool result; VALUE vresult = Qnil;
4940
5173
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
4941
5174
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
4942
- result = (FXbool)fxcheckGIF(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
5175
+ result = (bool)fxcheckGIF(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
4943
5176
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4944
5177
  static VALUE _wrap_FXDrawable_allocate(VALUE self) {
4945
5178
  #else
@@ -5103,64 +5336,65 @@ static VALUE _wrap_new_FXFontDesc(int argc, VALUE *argv, VALUE self) { FXFontDes
5103
5336
  static VALUE _wrap_FXFontDesc_face_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ; FXchar *arg2 ;
5104
5337
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5105
5338
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = StringValuePtr(argv[0]); {
5106
- if (arg2) strncpy(arg1->face,arg2,104); else arg1->face[0] = 0; } return Qnil; }
5339
+ if (arg2) strncpy(arg1->face,arg2,116); else arg1->face[0] = 0; } return Qnil; }
5107
5340
  static VALUE _wrap_FXFontDesc_face_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5108
5341
  FXchar *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5109
5342
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5110
5343
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXchar *)(FXchar *) ((arg1)->face);
5111
5344
  vresult = rb_str_new2(result); return vresult; }
5112
- static VALUE _wrap_FXFontDesc_size_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ; FXuint arg2 ;
5113
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5114
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->size = arg2;
5345
+ static VALUE _wrap_FXFontDesc_size_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5346
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5347
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]); if (arg1) (arg1)->size = arg2;
5115
5348
  return Qnil; }
5116
- static VALUE _wrap_FXFontDesc_size_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ; FXuint result;
5117
- VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5118
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->size);
5349
+ static VALUE _wrap_FXFontDesc_size_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5350
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5351
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5352
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->size);
5119
5353
  vresult = UINT2NUM(result); return vresult; }
5120
5354
  static VALUE _wrap_FXFontDesc_weight_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5121
- FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5122
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->weight = arg2;
5123
- return Qnil; }
5355
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5356
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]);
5357
+ if (arg1) (arg1)->weight = arg2; return Qnil; }
5124
5358
  static VALUE _wrap_FXFontDesc_weight_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5125
- FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5359
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5126
5360
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5127
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->weight);
5361
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->weight);
5128
5362
  vresult = UINT2NUM(result); return vresult; }
5129
- static VALUE _wrap_FXFontDesc_slant_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ; FXuint arg2 ;
5130
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5131
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->slant = arg2;
5363
+ static VALUE _wrap_FXFontDesc_slant_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5364
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5365
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]); if (arg1) (arg1)->slant = arg2;
5132
5366
  return Qnil; }
5133
5367
  static VALUE _wrap_FXFontDesc_slant_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5134
- FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5368
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5135
5369
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5136
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->slant);
5370
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->slant);
5137
5371
  vresult = UINT2NUM(result); return vresult; }
5138
5372
  static VALUE _wrap_FXFontDesc_setwidth_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5139
- FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5140
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]);
5373
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5374
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]);
5141
5375
  if (arg1) (arg1)->setwidth = arg2; return Qnil; }
5142
5376
  static VALUE _wrap_FXFontDesc_setwidth_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5143
- FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5377
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5144
5378
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5145
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->setwidth);
5379
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->setwidth);
5146
5380
  vresult = UINT2NUM(result); return vresult; }
5147
5381
  static VALUE _wrap_FXFontDesc_encoding_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5148
- FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5149
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]);
5382
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5383
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]);
5150
5384
  if (arg1) (arg1)->encoding = arg2; return Qnil; }
5151
5385
  static VALUE _wrap_FXFontDesc_encoding_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5152
- FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5386
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5153
5387
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5154
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->encoding);
5388
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->encoding);
5155
5389
  vresult = UINT2NUM(result); return vresult; }
5156
- static VALUE _wrap_FXFontDesc_flags_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ; FXuint arg2 ;
5157
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5158
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->flags = arg2;
5390
+ static VALUE _wrap_FXFontDesc_flags_set(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5391
+ FXushort arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5392
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); arg2 = NUM2USHRT(argv[0]); if (arg1) (arg1)->flags = arg2;
5159
5393
  return Qnil; }
5160
5394
  static VALUE _wrap_FXFontDesc_flags_get(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = (FXFontDesc *) 0 ;
5161
- FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5395
+ FXushort result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
5162
5396
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5163
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXuint) ((arg1)->flags);
5397
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); result = (FXushort) ((arg1)->flags);
5164
5398
  vresult = UINT2NUM(result); return vresult; }
5165
5399
  static void
5166
5400
  free_FXFontDesc(FXFontDesc *arg1) {
@@ -5173,8 +5407,8 @@ static VALUE _wrap_new_FXFont__SWIG_0(int argc, VALUE *argv, VALUE self) { FXApp
5173
5407
  result = (FXFont *)new_FXFont__SWIG_0(arg1,(FXString const &)*arg2);
5174
5408
  DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
5175
5409
  static VALUE _wrap_new_FXFont__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ;
5176
- FXuint arg3 ; FXuint arg4 = (FXuint) FONTWEIGHT_NORMAL ; FXuint arg5 = (FXuint) FONTSLANT_REGULAR ;
5177
- FXuint arg6 = (FXuint) FONTENCODING_DEFAULT ; FXuint arg7 = (FXuint) FONTSETWIDTH_DONTCARE ; FXuint arg8 = (FXuint) 0 ;
5410
+ FXuint arg3 ; FXuint arg4 = (FXuint) FXFont::Normal ; FXuint arg5 = (FXuint) FXFont::Straight ;
5411
+ FXuint arg6 = (FXuint) FONTENCODING_DEFAULT ; FXuint arg7 = (FXuint) FXFont::NonExpanded ; FXuint arg8 = (FXuint) 0 ;
5178
5412
  FXFont *result; SwigValueWrapper<FXString > p2 ; if ((argc < 3) || (argc > 8))
5179
5413
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
5180
5414
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); p2 = to_FXString(argv[1]); arg2 = &p2;
@@ -5224,6 +5458,14 @@ static VALUE _wrap_new_FXFont(int nargs, VALUE *args, VALUE self) { int argc; VA
5224
5458
  _v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
5225
5459
  return _wrap_new_FXFont__SWIG_1(nargs, args, self);} } } } } } } } }
5226
5460
  rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXFont'"); return Qnil; }
5461
+ static VALUE _wrap_FXFont_family(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString result;
5462
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5463
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = ((FXFont const *)arg1)->getFamily();
5464
+ vresult = rb_str_new2((&result)->text()); return vresult; }
5465
+ static VALUE _wrap_FXFont_foundry(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString result;
5466
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5467
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = ((FXFont const *)arg1)->getFoundry();
5468
+ vresult = rb_str_new2((&result)->text()); return vresult; }
5227
5469
  static VALUE _wrap_FXFont_getName(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString *result;
5228
5470
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5229
5471
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); {
@@ -5278,125 +5520,140 @@ static VALUE _wrap_FXFont_getHints(int argc, VALUE *argv, VALUE self) { FXFont *
5278
5520
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5279
5521
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXuint)((FXFont const *)arg1)->getHints();
5280
5522
  vresult = UINT2NUM(result); return vresult; }
5281
- static VALUE _wrap_FXFont_setFontDesc(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXFontDesc *arg2 = 0 ;
5282
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5283
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5284
- SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFontDesc, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5285
- (arg1)->setFontDesc((FXFontDesc const &)*arg2); return Qnil; }
5523
+ static VALUE _wrap_FXFont_flags(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXuint result;
5524
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5525
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXuint)((FXFont const *)arg1)->getFlags();
5526
+ vresult = UINT2NUM(result); return vresult; }
5286
5527
  static VALUE _wrap_FXFont_getFontDesc(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXFontDesc result;
5287
5528
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5288
5529
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = FXFont_getFontDesc((FXFont const *)arg1); {
5289
5530
  FXFontDesc* resultptr = new FXFontDesc(result); vresult = FXRbGetRubyObj(resultptr, "FXFontDesc *"); } return vresult; }
5290
- static VALUE _wrap_FXFont_setFont(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString *arg2 = 0 ;
5291
- FXbool result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5292
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5293
- p2 = to_FXString(argv[0]); arg2 = &p2; result = (FXbool)(arg1)->setFont((FXString const &)*arg2);
5294
- vresult = result ? Qtrue : Qfalse; return vresult; }
5531
+ static VALUE _wrap_FXFont_angle(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5532
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5533
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getAngle();
5534
+ vresult = INT2NUM(result); return vresult; }
5295
5535
  static VALUE _wrap_FXFont_getFont(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString result;
5296
5536
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5297
5537
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = ((FXFont const *)arg1)->getFont();
5298
5538
  vresult = rb_str_new2((&result)->text()); return vresult; }
5539
+ static VALUE _wrap_FXFont_listFonts(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXuint arg2 = (FXuint) 0 ;
5540
+ FXuint arg3 = (FXuint) 0 ; FXuint arg4 = (FXuint) 0 ; FXuint arg5 = (FXuint) 0 ; FXuint arg6 = (FXuint) 0 ; VALUE result;
5541
+ SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 6))
5542
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) {
5543
+ arg2 = NUM2UINT(argv[1]); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
5544
+ if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2UINT(argv[5]); }
5545
+ result = (VALUE)FXFont_listFonts((FXString const &)*arg1,arg2,arg3,arg4,arg5,arg6); vresult = result; return vresult; }
5546
+ static void
5547
+ free_FXFont(FXFont *arg1) {
5548
+ delete arg1;
5549
+ }
5550
+ static VALUE _wrap_FXFont_save(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXStream *arg2 = 0 ;
5551
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5552
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5553
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5554
+ FXFont_save((FXFont const *)arg1,*arg2); return Qnil; }
5555
+ static VALUE _wrap_FXFont_load(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXStream *arg2 = 0 ;
5556
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5557
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5558
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5559
+ FXFont_load(arg1,*arg2); return Qnil; }
5560
+ static VALUE _wrap_FXFont_create(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5561
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5562
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_create(arg1); return Qnil; }
5563
+ static VALUE _wrap_FXFont_detach(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5564
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5565
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_detach(arg1); return Qnil; }
5566
+ static VALUE _wrap_FXFont_destroy(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5567
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5568
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_destroy(arg1); return Qnil; }
5569
+ static VALUE _wrap_FXFont_setFontDesc(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXFontDesc *arg2 = 0 ;
5570
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5571
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5572
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFontDesc, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5573
+ FXFont_setFontDesc(arg1,(FXFontDesc const &)*arg2); return Qnil; }
5574
+ static VALUE _wrap_FXFont_setAngle(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint arg2 ;
5575
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5576
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); arg2 = NUM2INT(argv[0]); FXFont_setAngle(arg1,arg2);
5577
+ return Qnil; }
5578
+ static VALUE _wrap_FXFont_setFont(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString *arg2 = 0 ;
5579
+ SwigValueWrapper<FXString > p2 ; if ((argc < 1) || (argc > 1))
5580
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5581
+ p2 = to_FXString(argv[0]); arg2 = &p2; FXFont_setFont(arg1,(FXString const &)*arg2); return Qnil; }
5299
5582
  static VALUE _wrap_FXFont_isFontMono(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXbool result;
5300
5583
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5301
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXbool)((FXFont const *)arg1)->isFontMono();
5584
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXbool)FXFont_isFontMono((FXFont const *)arg1);
5302
5585
  vresult = result ? Qtrue : Qfalse; return vresult; }
5303
5586
  static VALUE _wrap_FXFont_hasChar(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; VALUE arg2 ; FXbool result;
5304
5587
  VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5305
5588
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); arg2 = argv[0];
5306
5589
  result = (FXbool)FXFont_hasChar((FXFont const *)arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
5307
- static VALUE _wrap_FXFont_getMinChar(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5590
+ static VALUE _wrap_FXFont_getMinChar(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXwchar result;
5308
5591
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5309
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getMinChar();
5310
- vresult = INT2NUM(result); return vresult; }
5311
- static VALUE _wrap_FXFont_getMaxChar(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5592
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXwchar)FXFont_getMinChar((FXFont const *)arg1);
5593
+ vresult = UINT2NUM(result); return vresult; }
5594
+ static VALUE _wrap_FXFont_getMaxChar(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXwchar result;
5312
5595
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5313
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getMaxChar();
5314
- vresult = INT2NUM(result); return vresult; }
5315
- static VALUE _wrap_FXFont_leftBearing(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXchar arg2 ;
5596
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXwchar)FXFont_getMaxChar((FXFont const *)arg1);
5597
+ vresult = UINT2NUM(result); return vresult; }
5598
+ static VALUE _wrap_FXFont_leftBearing(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXwchar arg2 ;
5316
5599
  FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5317
5600
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5318
- arg2 = NUM2CHR(argv[0]); result = (FXint)((FXFont const *)arg1)->leftBearing(arg2); vresult = INT2NUM(result);
5601
+ arg2 = NUM2UINT(argv[0]); result = (FXint)FXFont_leftBearing((FXFont const *)arg1,arg2); vresult = INT2NUM(result);
5319
5602
  return vresult; }
5320
- static VALUE _wrap_FXFont_rightBearing(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXchar arg2 ;
5603
+ static VALUE _wrap_FXFont_rightBearing(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXwchar arg2 ;
5321
5604
  FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5322
5605
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5323
- arg2 = NUM2CHR(argv[0]); result = (FXint)((FXFont const *)arg1)->rightBearing(arg2); vresult = INT2NUM(result);
5606
+ arg2 = NUM2UINT(argv[0]); result = (FXint)FXFont_rightBearing((FXFont const *)arg1,arg2); vresult = INT2NUM(result);
5324
5607
  return vresult; }
5325
5608
  static VALUE _wrap_FXFont_getFontWidth(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5326
5609
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5327
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontWidth();
5610
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontWidth((FXFont const *)arg1);
5328
5611
  vresult = INT2NUM(result); return vresult; }
5329
5612
  static VALUE _wrap_FXFont_getFontHeight(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5330
5613
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5331
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontHeight();
5614
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontHeight((FXFont const *)arg1);
5332
5615
  vresult = INT2NUM(result); return vresult; }
5333
5616
  static VALUE _wrap_FXFont_getFontAscent(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5334
5617
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5335
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontAscent();
5618
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontAscent((FXFont const *)arg1);
5336
5619
  vresult = INT2NUM(result); return vresult; }
5337
5620
  static VALUE _wrap_FXFont_getFontDescent(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5338
5621
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5339
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontDescent();
5622
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontDescent((FXFont const *)arg1);
5340
5623
  vresult = INT2NUM(result); return vresult; }
5341
5624
  static VALUE _wrap_FXFont_getFontLeading(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5342
5625
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5343
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontLeading();
5626
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontLeading((FXFont const *)arg1);
5344
5627
  vresult = INT2NUM(result); return vresult; }
5345
5628
  static VALUE _wrap_FXFont_getFontSpacing(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXint result;
5346
5629
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5347
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)((FXFont const *)arg1)->getFontSpacing();
5630
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); result = (FXint)FXFont_getFontSpacing((FXFont const *)arg1);
5348
5631
  vresult = INT2NUM(result); return vresult; }
5349
- static VALUE _wrap_FXFont_getTextWidth(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; VALUE arg2 ;
5350
- FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5351
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5352
- arg2 = argv[0]; result = (FXint)FXFont_getTextWidth((FXFont const *)arg1,arg2); vresult = INT2NUM(result); return vresult; }
5353
- static VALUE _wrap_FXFont_getTextHeight(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; VALUE arg2 ;
5632
+ static VALUE _wrap_FXFont_getCharWidth(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXwchar arg2 ;
5354
5633
  FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5355
5634
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5356
- arg2 = argv[0]; result = (FXint)FXFont_getTextHeight((FXFont const *)arg1,arg2); vresult = INT2NUM(result); return vresult; }
5357
- static VALUE _wrap_FXFont_listFonts(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ;
5358
- FXuint arg2 = (FXuint) FONTWEIGHT_DONTCARE ; FXuint arg3 = (FXuint) FONTSLANT_DONTCARE ;
5359
- FXuint arg4 = (FXuint) FONTSETWIDTH_DONTCARE ; FXuint arg5 = (FXuint) FONTENCODING_DEFAULT ; FXuint arg6 = (FXuint) 0 ;
5360
- VALUE result; SwigValueWrapper<FXString > p1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 6))
5361
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) {
5362
- arg2 = NUM2UINT(argv[1]); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
5363
- if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2UINT(argv[5]); }
5364
- result = (VALUE)FXFont_listFonts((FXString const &)*arg1,arg2,arg3,arg4,arg5,arg6); vresult = result; return vresult; }
5365
- static void
5366
- free_FXFont(FXFont *arg1) {
5367
- delete arg1;
5368
- }
5369
- static VALUE _wrap_FXFont_save(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXStream *arg2 = 0 ;
5370
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5371
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5372
- SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5373
- FXFont_save((FXFont const *)arg1,*arg2); return Qnil; }
5374
- static VALUE _wrap_FXFont_load(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXStream *arg2 = 0 ;
5375
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5376
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5377
- SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
5378
- FXFont_load(arg1,*arg2); return Qnil; }
5379
- static VALUE _wrap_FXFont_create(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5380
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5381
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_create(arg1); return Qnil; }
5382
- static VALUE _wrap_FXFont_detach(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5383
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5384
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_detach(arg1); return Qnil; }
5385
- static VALUE _wrap_FXFont_destroy(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ;
5386
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5387
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1); FXFont_destroy(arg1); return Qnil; }
5388
- static VALUE _wrap_fxparsefontdesc(int argc, VALUE *argv, VALUE self) { FXchar *arg1 ; FXFontDesc *result; VALUE vresult = Qnil;
5389
- if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); arg1 = StringValuePtr(argv[0]);
5390
- result = (FXFontDesc *)fxparsefontdesc2((FXchar const *)arg1); vresult = FXRbGetRubyObj(result, "FXFontDesc *");
5635
+ arg2 = NUM2UINT(argv[0]); result = (FXint)FXFont_getCharWidth((FXFont const *)arg1,arg2); vresult = INT2NUM(result);
5391
5636
  return vresult; }
5392
- static VALUE _wrap_fxunparsefontdesc(int argc, VALUE *argv, VALUE self) { FXFontDesc *arg1 = 0 ; FXString result;
5393
- VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5394
- SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXFontDesc, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
5395
- result = fxunparsefontdesc2((FXFontDesc const &)*arg1); vresult = rb_str_new2((&result)->text()); return vresult; }
5637
+ static VALUE _wrap_FXFont_getTextWidth(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString *arg2 = 0 ;
5638
+ FXint result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5639
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5640
+ p2 = to_FXString(argv[0]); arg2 = &p2; result = (FXint)FXFont_getTextWidth((FXFont const *)arg1,(FXString const &)*arg2);
5641
+ vresult = INT2NUM(result); return vresult; }
5642
+ static VALUE _wrap_FXFont_getTextHeight(int argc, VALUE *argv, VALUE self) { FXFont *arg1 = (FXFont *) 0 ; FXString *arg2 = 0 ;
5643
+ FXint result; SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5644
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFont, 1);
5645
+ p2 = to_FXString(argv[0]); arg2 = &p2; result = (FXint)FXFont_getTextHeight((FXFont const *)arg1,(FXString const &)*arg2);
5646
+ vresult = INT2NUM(result); return vresult; }
5647
+ static VALUE FXWindow_octetType_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::octetType); return _val; }
5648
+ static VALUE FXWindow_octetType_set(VALUE self, VALUE _val) { FXWindow::octetType = NUM2UINT(_val); return _val; }
5396
5649
  static VALUE FXWindow_deleteType_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::deleteType); return _val; }
5397
5650
  static VALUE FXWindow_deleteType_set(VALUE self, VALUE _val) { FXWindow::deleteType = NUM2UINT(_val); return _val; }
5398
5651
  static VALUE FXWindow_textType_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::textType); return _val; }
5399
5652
  static VALUE FXWindow_textType_set(VALUE self, VALUE _val) { FXWindow::textType = NUM2UINT(_val); return _val; }
5653
+ static VALUE FXWindow_utf8Type_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::utf8Type); return _val; }
5654
+ static VALUE FXWindow_utf8Type_set(VALUE self, VALUE _val) { FXWindow::utf8Type = NUM2UINT(_val); return _val; }
5655
+ static VALUE FXWindow_utf16Type_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::utf16Type); return _val; }
5656
+ static VALUE FXWindow_utf16Type_set(VALUE self, VALUE _val) { FXWindow::utf16Type = NUM2UINT(_val); return _val; }
5400
5657
  static VALUE FXWindow_colorType_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::colorType); return _val; }
5401
5658
  static VALUE FXWindow_colorType_set(VALUE self, VALUE _val) { FXWindow::colorType = NUM2UINT(_val); return _val; }
5402
5659
  static VALUE FXWindow_urilistType_get(VALUE self) { VALUE _val; _val = UINT2NUM(FXWindow::urilistType); return _val; }
@@ -5709,6 +5966,9 @@ static VALUE _wrap_FXWindow_onCmdDelete(int argc, VALUE *argv, VALUE self) { FXW
5709
5966
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5710
5967
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
5711
5968
  result = (long)(arg1)->onCmdDelete(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
5969
+ static VALUE _wrap_FXWindow_octetTypeName(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
5970
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5971
+ result = (VALUE)FXWindow_octetTypeName(); vresult = result; return vresult; }
5712
5972
  static VALUE _wrap_FXWindow_deleteTypeName(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
5713
5973
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5714
5974
  result = (VALUE)FXWindow_deleteTypeName(); vresult = result; return vresult; }
@@ -5721,6 +5981,12 @@ static VALUE _wrap_FXWindow_colorTypeName(int argc, VALUE *argv, VALUE self) { V
5721
5981
  static VALUE _wrap_FXWindow_urilistTypeName(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
5722
5982
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5723
5983
  result = (VALUE)FXWindow_urilistTypeName(); vresult = result; return vresult; }
5984
+ static VALUE _wrap_FXWindow_utf8TypeName(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
5985
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5986
+ result = (VALUE)FXWindow_utf8TypeName(); vresult = result; return vresult; }
5987
+ static VALUE _wrap_FXWindow_utf16TypeName(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
5988
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5989
+ result = (VALUE)FXWindow_utf16TypeName(); vresult = result; return vresult; }
5724
5990
  static VALUE _wrap_new_FXWindow__SWIG_0(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
5725
5991
  FXuint arg2 = (FXuint) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ;
5726
5992
  FXint arg6 = (FXint) 0 ; FXWindow *result; if ((argc < 1) || (argc > 6))
@@ -5915,30 +6181,30 @@ static VALUE _wrap_FXWindow_getHelpTag(int argc, VALUE *argv, VALUE self) { FXWi
5915
6181
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); {
5916
6182
  FXString const &_result_ref = ((FXWindow const *)arg1)->getHelpTag(); result = (FXString *) &_result_ref; }
5917
6183
  vresult = rb_str_new2(result->text()); return vresult; }
5918
- static VALUE _wrap_FXWindow_isShell(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6184
+ static VALUE _wrap_FXWindow_isShell(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
5919
6185
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5920
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isShell();
6186
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isShell();
5921
6187
  vresult = result ? Qtrue : Qfalse; return vresult; }
5922
6188
  static VALUE _wrap_FXWindow_isOwnerOf(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5923
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6189
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5924
6190
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5925
6191
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5926
6192
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
5927
- result = (FXbool)((FXWindow const *)arg1)->isOwnerOf((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6193
+ result = (bool)((FXWindow const *)arg1)->isOwnerOf((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
5928
6194
  return vresult; }
5929
6195
  static VALUE _wrap_FXWindow_isChildOf(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5930
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6196
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5931
6197
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5932
6198
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5933
6199
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
5934
- result = (FXbool)((FXWindow const *)arg1)->isChildOf((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6200
+ result = (bool)((FXWindow const *)arg1)->isChildOf((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
5935
6201
  return vresult; }
5936
6202
  static VALUE _wrap_FXWindow_containsChild(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5937
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6203
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
5938
6204
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
5939
6205
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5940
6206
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
5941
- result = (FXbool)((FXWindow const *)arg1)->containsChild((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6207
+ result = (bool)((FXWindow const *)arg1)->containsChild((FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
5942
6208
  return vresult; }
5943
6209
  static VALUE _wrap_FXWindow_getChildAt(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXint arg2 ;
5944
6210
  FXint arg3 ; FXWindow *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
@@ -5979,36 +6245,45 @@ static VALUE _wrap_FXWindow_commonAncestor(int argc, VALUE *argv, VALUE self) {
5979
6245
  { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
5980
6246
  return vresult; }
5981
6247
  static VALUE _wrap_FXWindow_beforeq___(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5982
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6248
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
5983
6249
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
5984
6250
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5985
6251
  SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
5986
- result = (FXbool)FXWindow::before((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6252
+ result = (bool)FXWindow::before((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
5987
6253
  return vresult; }
5988
6254
  static VALUE _wrap_FXWindow_afterq___(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5989
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6255
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
5990
6256
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
5991
6257
  SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
5992
6258
  SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
5993
- result = (FXbool)FXWindow::after((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6259
+ result = (bool)FXWindow::after((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
5994
6260
  return vresult; }
5995
- static VALUE _wrap_FXWindow_windowCount(int argc, VALUE *argv, VALUE self) { FXint result; VALUE vresult = Qnil;
5996
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
5997
- result = (FXint)FXWindow::getWindowCount(); vresult = INT2NUM(result); return vresult; }
5998
6261
  static VALUE _wrap_FXWindow_before(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
5999
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6262
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6000
6263
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6001
6264
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6002
6265
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
6003
- result = (FXbool)FXWindow_before((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6266
+ result = (bool)FXWindow_before((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6004
6267
  return vresult; }
6005
6268
  static VALUE _wrap_FXWindow_after(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6006
- FXWindow *arg2 = (FXWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6269
+ FXWindow *arg2 = (FXWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6007
6270
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6008
6271
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6009
6272
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
6010
- result = (FXbool)FXWindow_after((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6273
+ result = (bool)FXWindow_after((FXWindow const *)arg1,(FXWindow const *)arg2); vresult = result ? Qtrue : Qfalse;
6011
6274
  return vresult; }
6275
+ static VALUE _wrap_FXWindow_composeContext(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6276
+ FXComposeContext *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6277
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6278
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6279
+ result = (FXComposeContext *)((FXWindow const *)arg1)->getComposeContext();
6280
+ vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXComposeContext,0); return vresult; }
6281
+ static VALUE _wrap_FXWindow_createComposeContext(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6282
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6283
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->createComposeContext(); return Qnil; }
6284
+ static VALUE _wrap_FXWindow_destroyComposeContext(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6285
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6286
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->destroyComposeContext(); return Qnil; }
6012
6287
  static VALUE _wrap_FXWindow_setDefaultCursor(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6013
6288
  FXCursor *arg2 = (FXCursor *) 0 ; if ((argc < 1) || (argc > 1))
6014
6289
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -6043,34 +6318,33 @@ static VALUE _wrap_FXWindow_setCursorPosition(int argc, VALUE *argv, VALUE self)
6043
6318
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6044
6319
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6045
6320
  result = (FXint)(arg1)->setCursorPosition(arg2,arg3); vresult = INT2NUM(result); return vresult; }
6046
- static VALUE _wrap_FXWindow_isEnabled(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6321
+ static VALUE _wrap_FXWindow_isEnabled(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6047
6322
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6048
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isEnabled();
6323
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isEnabled();
6049
6324
  vresult = result ? Qtrue : Qfalse; return vresult; }
6050
- static VALUE _wrap_FXWindow_isActive(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6325
+ static VALUE _wrap_FXWindow_isActive(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6051
6326
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6052
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isActive();
6327
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isActive();
6053
6328
  vresult = result ? Qtrue : Qfalse; return vresult; }
6054
- static VALUE _wrap_FXWindow_hasFocus(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6329
+ static VALUE _wrap_FXWindow_hasFocus(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6055
6330
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6056
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->hasFocus();
6331
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->hasFocus();
6057
6332
  vresult = result ? Qtrue : Qfalse; return vresult; }
6058
- static VALUE _wrap_FXWindow_inFocusChainq___(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6059
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6060
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6061
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->inFocusChain();
6333
+ static VALUE _wrap_FXWindow_inFocusChainq___(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6334
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6335
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->inFocusChain();
6062
6336
  vresult = result ? Qtrue : Qfalse; return vresult; }
6063
- static VALUE _wrap_FXWindow_isDefault(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6337
+ static VALUE _wrap_FXWindow_isDefault(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6064
6338
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6065
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isDefault();
6339
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isDefault();
6066
6340
  vresult = result ? Qtrue : Qfalse; return vresult; }
6067
6341
  static VALUE _wrap_FXWindow_setInitial(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6068
- FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6069
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
6342
+ bool arg2 = (bool) true ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6343
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 0) { arg2 = RTEST(argv[0]); }
6070
6344
  (arg1)->setInitial(arg2); return Qnil; }
6071
- static VALUE _wrap_FXWindow_isInitial(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6345
+ static VALUE _wrap_FXWindow_isInitial(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6072
6346
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6073
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isInitial();
6347
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isInitial();
6074
6348
  vresult = result ? Qtrue : Qfalse; return vresult; }
6075
6349
  static VALUE _wrap_FXWindow_forceRefresh(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6076
6350
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6127,9 +6401,9 @@ static VALUE _wrap_FXWindow_grab(int argc, VALUE *argv, VALUE self) { FXWindow *
6127
6401
  static VALUE _wrap_FXWindow_ungrab(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6128
6402
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6129
6403
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->ungrab(); return Qnil; }
6130
- static VALUE _wrap_FXWindow_grabbed(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6404
+ static VALUE _wrap_FXWindow_grabbed(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6131
6405
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6132
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->grabbed();
6406
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->grabbed();
6133
6407
  vresult = result ? Qtrue : Qfalse; return vresult; }
6134
6408
  static VALUE _wrap_FXWindow_grabKeyboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6135
6409
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6137,86 +6411,77 @@ static VALUE _wrap_FXWindow_grabKeyboard(int argc, VALUE *argv, VALUE self) { FX
6137
6411
  static VALUE _wrap_FXWindow_ungrabKeyboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6138
6412
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6139
6413
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->ungrabKeyboard(); return Qnil; }
6140
- static VALUE _wrap_FXWindow_grabbedKeyboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6141
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6142
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6143
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6144
- result = (FXbool)((FXWindow const *)arg1)->grabbedKeyboard(); vresult = result ? Qtrue : Qfalse; return vresult; }
6145
- static VALUE _wrap_FXWindow_shown(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6414
+ static VALUE _wrap_FXWindow_grabbedKeyboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6146
6415
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6147
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->shown();
6416
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->grabbedKeyboard();
6148
6417
  vresult = result ? Qtrue : Qfalse; return vresult; }
6149
- static VALUE _wrap_FXWindow_underCursor(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6418
+ static VALUE _wrap_FXWindow_shown(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6150
6419
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6151
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->underCursor();
6420
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->shown();
6152
6421
  vresult = result ? Qtrue : Qfalse; return vresult; }
6153
- static VALUE _wrap_FXWindow_hasSelection(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6422
+ static VALUE _wrap_FXWindow_underCursor(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6154
6423
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6155
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->hasSelection();
6424
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->underCursor();
6425
+ vresult = result ? Qtrue : Qfalse; return vresult; }
6426
+ static VALUE _wrap_FXWindow_hasSelection(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6427
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6428
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->hasSelection();
6156
6429
  vresult = result ? Qtrue : Qfalse; return vresult; }
6157
6430
  static VALUE _wrap_FXWindow_acquireSelection(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; VALUE arg2 ;
6158
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6431
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6159
6432
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6160
6433
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = argv[0];
6161
- result = (FXbool)FXWindow_acquireSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6162
- static VALUE _wrap_FXWindow_releaseSelection(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6163
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6164
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6165
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)(arg1)->releaseSelection();
6434
+ result = (bool)FXWindow_acquireSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6435
+ static VALUE _wrap_FXWindow_releaseSelection(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6436
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6437
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)(arg1)->releaseSelection();
6166
6438
  vresult = result ? Qtrue : Qfalse; return vresult; }
6167
- static VALUE _wrap_FXWindow_hasClipboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6439
+ static VALUE _wrap_FXWindow_hasClipboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6168
6440
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6169
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->hasClipboard();
6441
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->hasClipboard();
6170
6442
  vresult = result ? Qtrue : Qfalse; return vresult; }
6171
6443
  static VALUE _wrap_FXWindow_acquireClipboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; VALUE arg2 ;
6172
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6444
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6173
6445
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6174
6446
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = argv[0];
6175
- result = (FXbool)FXWindow_acquireClipboard(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6176
- static VALUE _wrap_FXWindow_releaseClipboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6177
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6178
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6179
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)(arg1)->releaseClipboard();
6447
+ result = (bool)FXWindow_acquireClipboard(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6448
+ static VALUE _wrap_FXWindow_releaseClipboard(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6449
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6450
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)(arg1)->releaseClipboard();
6180
6451
  vresult = result ? Qtrue : Qfalse; return vresult; }
6181
- static VALUE _wrap_FXWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6182
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6183
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->dropEnable(); return Qnil; }
6184
- static VALUE _wrap_FXWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6185
- if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6186
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); (arg1)->dropDisable(); return Qnil; }
6187
- static VALUE _wrap_FXWindow_isDropEnabled(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6452
+ static VALUE _wrap_FXWindow_isDropEnabled(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6188
6453
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6189
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isDropEnabled();
6454
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isDropEnabled();
6190
6455
  vresult = result ? Qtrue : Qfalse; return vresult; }
6191
- static VALUE _wrap_FXWindow_isDragging(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6456
+ static VALUE _wrap_FXWindow_isDragging(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6192
6457
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6193
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isDragging();
6458
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isDragging();
6194
6459
  vresult = result ? Qtrue : Qfalse; return vresult; }
6195
6460
  static VALUE _wrap_FXWindow_beginDrag(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; VALUE arg2 ;
6196
- FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6461
+ bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6197
6462
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6198
6463
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = argv[0];
6199
- result = (FXbool)FXWindow_beginDrag(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6464
+ result = (bool)FXWindow_beginDrag(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
6200
6465
  static VALUE _wrap_FXWindow_handleDrag(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXint arg2 ;
6201
- FXint arg3 ; int arg4 = (int) DRAG_COPY ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
6466
+ FXint arg3 ; int arg4 = (int) DRAG_COPY ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
6202
6467
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6203
6468
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6204
- if (argc > 2) { arg4 = (int) NUM2INT(argv[2]); } result = (FXbool)(arg1)->handleDrag(arg2,arg3,(FXDragAction )arg4);
6469
+ if (argc > 2) { arg4 = (int) NUM2INT(argv[2]); } result = (bool)(arg1)->handleDrag(arg2,arg3,(FXDragAction )arg4);
6205
6470
  vresult = result ? Qtrue : Qfalse; return vresult; }
6206
6471
  static VALUE _wrap_FXWindow_endDrag(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6207
- FXbool arg2 = (FXbool) 1 ; int result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
6472
+ bool arg2 = (bool) true ; int result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
6208
6473
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6209
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
6474
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 0) { arg2 = RTEST(argv[0]); }
6210
6475
  result = (int)(arg1)->endDrag(arg2); vresult = INT2NUM(result); return vresult; }
6211
- static VALUE _wrap_FXWindow_isDropTarget(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6476
+ static VALUE _wrap_FXWindow_isDropTarget(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6212
6477
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6213
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)((FXWindow const *)arg1)->isDropTarget();
6478
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)((FXWindow const *)arg1)->isDropTarget();
6214
6479
  vresult = result ? Qtrue : Qfalse; return vresult; }
6215
6480
  static VALUE _wrap_FXWindow_setDragRectangle(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXint arg2 ;
6216
- FXint arg3 ; FXint arg4 ; FXint arg5 ; FXbool arg6 = (FXbool) 1 ; if ((argc < 4) || (argc > 5))
6481
+ FXint arg3 ; FXint arg4 ; FXint arg5 ; bool arg6 = (bool) true ; if ((argc < 4) || (argc > 5))
6217
6482
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
6218
6483
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6219
- arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXbool(argv[4]); }
6484
+ arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = RTEST(argv[4]); }
6220
6485
  ((FXWindow const *)arg1)->setDragRectangle(arg2,arg3,arg4,arg5,arg6); return Qnil; }
6221
6486
  static VALUE _wrap_FXWindow_clearDragRectangle(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6222
6487
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6230,16 +6495,20 @@ static VALUE _wrap_FXWindow_didAccept(int argc, VALUE *argv, VALUE self) { FXWin
6230
6495
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6231
6496
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (int)((FXWindow const *)arg1)->didAccept();
6232
6497
  vresult = INT2NUM(result); return vresult; }
6498
+ static VALUE _wrap_FXWindow_dropFinished(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6499
+ int arg2 = (int) DRAG_REJECT ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6500
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
6501
+ ((FXWindow const *)arg1)->dropFinished((FXDragAction )arg2); return Qnil; }
6233
6502
  static VALUE _wrap_FXWindow_inquireDNDTypes(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; int arg2 ;
6234
6503
  VALUE result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
6235
6504
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6236
6505
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = (int) NUM2INT(argv[0]);
6237
6506
  result = (VALUE)FXWindow_inquireDNDTypes((FXWindow const *)arg1,(FXDNDOrigin )arg2); vresult = result; return vresult; }
6238
6507
  static VALUE _wrap_FXWindow_offeredDNDType(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; int arg2 ;
6239
- FXDragType arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6508
+ FXDragType arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6240
6509
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6241
6510
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = (int) NUM2INT(argv[0]); arg3 = NUM2UINT(argv[1]);
6242
- result = (FXbool)((FXWindow const *)arg1)->offeredDNDType((FXDNDOrigin )arg2,arg3); vresult = result ? Qtrue : Qfalse;
6511
+ result = (bool)((FXWindow const *)arg1)->offeredDNDType((FXDNDOrigin )arg2,arg3); vresult = result ? Qtrue : Qfalse;
6243
6512
  return vresult; }
6244
6513
  static VALUE _wrap_FXWindow_inquireDNDAction(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; int result;
6245
6514
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6318,9 +6587,9 @@ static VALUE _wrap_FXWindow_getHeightForWidth(int argc, VALUE *argv, VALUE self)
6318
6587
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6319
6588
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[0]);
6320
6589
  result = (FXint)FXWindow_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
6321
- static VALUE _wrap_FXWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6590
+ static VALUE _wrap_FXWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6322
6591
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6323
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (FXbool)FXWindow_canFocus((FXWindow const *)arg1);
6592
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)FXWindow_canFocus((FXWindow const *)arg1);
6324
6593
  vresult = result ? Qtrue : Qfalse; return vresult; }
6325
6594
  static VALUE _wrap_FXWindow_setFocus(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6326
6595
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6376,23 +6645,36 @@ static VALUE _wrap_FXWindow_show(int argc, VALUE *argv, VALUE self) { FXWindow *
6376
6645
  static VALUE _wrap_FXWindow_hide(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6377
6646
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6378
6647
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); FXWindow_hide(arg1); return Qnil; }
6379
- static VALUE _wrap_FXWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6648
+ static VALUE _wrap_FXWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6380
6649
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6381
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6382
- result = (FXbool)FXWindow_isComposite((FXWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6650
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); result = (bool)FXWindow_isComposite((FXWindow const *)arg1);
6651
+ vresult = result ? Qtrue : Qfalse; return vresult; }
6383
6652
  static VALUE _wrap_FXWindow_contains(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXint arg2 ;
6384
- FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6653
+ FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6385
6654
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6386
6655
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6387
- result = (FXbool)FXWindow_contains((FXWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
6388
- static VALUE _wrap_FXWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXbool result;
6656
+ result = (bool)FXWindow_contains((FXWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
6657
+ static VALUE _wrap_FXWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; bool result;
6389
6658
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6390
6659
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
6391
- result = (FXbool)FXWindow_doesSaveUnder((FXWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6660
+ result = (bool)FXWindow_doesSaveUnder((FXWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6392
6661
  static VALUE _wrap_FXWindow_setBackColor(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXColor arg2 ;
6393
6662
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6394
6663
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = to_FXColor(argv[0]);
6395
6664
  FXWindow_setBackColor(arg1,arg2); return Qnil; }
6665
+ static VALUE _wrap_FXWindow_tr(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXchar *arg2 ;
6666
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
6667
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6668
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
6669
+ arg3 = StringValuePtr(argv[1]); }
6670
+ result = (FXchar *)FXWindow_tr((FXWindow const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
6671
+ vresult = rb_str_new2(result); return vresult; }
6672
+ static VALUE _wrap_FXWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6673
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6674
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); FXWindow_dropEnable(arg1); return Qnil; }
6675
+ static VALUE _wrap_FXWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6676
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6677
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1); FXWindow_dropDisable(arg1); return Qnil; }
6396
6678
  static VALUE _wrap_FXWindow_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ;
6397
6679
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6398
6680
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXWindow, 1);
@@ -6570,9 +6852,9 @@ static VALUE _wrap_FXFrame_getHeightForWidth(int argc, VALUE *argv, VALUE self)
6570
6852
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6571
6853
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); arg2 = NUM2INT(argv[0]);
6572
6854
  result = (FXint)FXFrame_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
6573
- static VALUE _wrap_FXFrame_canFocus(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXbool result;
6855
+ static VALUE _wrap_FXFrame_canFocus(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; bool result;
6574
6856
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6575
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); result = (FXbool)FXFrame_canFocus((FXFrame const *)arg1);
6857
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); result = (bool)FXFrame_canFocus((FXFrame const *)arg1);
6576
6858
  vresult = result ? Qtrue : Qfalse; return vresult; }
6577
6859
  static VALUE _wrap_FXFrame_setFocus(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ;
6578
6860
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -6628,23 +6910,36 @@ static VALUE _wrap_FXFrame_show(int argc, VALUE *argv, VALUE self) { FXFrame *ar
6628
6910
  static VALUE _wrap_FXFrame_hide(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ;
6629
6911
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6630
6912
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); FXFrame_hide(arg1); return Qnil; }
6631
- static VALUE _wrap_FXFrame_isComposite(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXbool result;
6913
+ static VALUE _wrap_FXFrame_isComposite(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; bool result;
6632
6914
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6633
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); result = (FXbool)FXFrame_isComposite((FXFrame const *)arg1);
6915
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); result = (bool)FXFrame_isComposite((FXFrame const *)arg1);
6634
6916
  vresult = result ? Qtrue : Qfalse; return vresult; }
6635
6917
  static VALUE _wrap_FXFrame_contains(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXint arg2 ;
6636
- FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6918
+ FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6637
6919
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6638
6920
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6639
- result = (FXbool)FXFrame_contains((FXFrame const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
6640
- static VALUE _wrap_FXFrame_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXbool result;
6921
+ result = (bool)FXFrame_contains((FXFrame const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
6922
+ static VALUE _wrap_FXFrame_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; bool result;
6641
6923
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6642
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1);
6643
- result = (FXbool)FXFrame_doesSaveUnder((FXFrame const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6924
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); result = (bool)FXFrame_doesSaveUnder((FXFrame const *)arg1);
6925
+ vresult = result ? Qtrue : Qfalse; return vresult; }
6644
6926
  static VALUE _wrap_FXFrame_setBackColor(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXColor arg2 ;
6645
6927
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6646
6928
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); arg2 = to_FXColor(argv[0]); FXFrame_setBackColor(arg1,arg2);
6647
6929
  return Qnil; }
6930
+ static VALUE _wrap_FXFrame_tr(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ; FXchar *arg2 ;
6931
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
6932
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6933
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
6934
+ arg3 = StringValuePtr(argv[1]); }
6935
+ result = (FXchar *)FXFrame_tr((FXFrame const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
6936
+ vresult = rb_str_new2(result); return vresult; }
6937
+ static VALUE _wrap_FXFrame_dropEnable(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ;
6938
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6939
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); FXFrame_dropEnable(arg1); return Qnil; }
6940
+ static VALUE _wrap_FXFrame_dropDisable(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ;
6941
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6942
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1); FXFrame_dropDisable(arg1); return Qnil; }
6648
6943
  static VALUE _wrap_FXFrame_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFrame *arg1 = (FXFrame *) 0 ;
6649
6944
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6650
6945
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXFrame, 1);
@@ -6785,10 +7080,10 @@ static VALUE _wrap_FXComposite_getHeightForWidth(int argc, VALUE *argv, VALUE se
6785
7080
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); arg2 = NUM2INT(argv[0]);
6786
7081
  result = (FXint)FXComposite_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
6787
7082
  static VALUE _wrap_FXComposite_canFocus(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6788
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7083
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6789
7084
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6790
7085
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
6791
- result = (FXbool)FXComposite_canFocus((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7086
+ result = (bool)FXComposite_canFocus((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6792
7087
  static VALUE _wrap_FXComposite_setFocus(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6793
7088
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6794
7089
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); FXComposite_setFocus(arg1); return Qnil; }
@@ -6844,25 +7139,38 @@ static VALUE _wrap_FXComposite_hide(int argc, VALUE *argv, VALUE self) { FXCompo
6844
7139
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6845
7140
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); FXComposite_hide(arg1); return Qnil; }
6846
7141
  static VALUE _wrap_FXComposite_isComposite(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6847
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7142
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6848
7143
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6849
7144
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
6850
- result = (FXbool)FXComposite_isComposite((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7145
+ result = (bool)FXComposite_isComposite((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6851
7146
  static VALUE _wrap_FXComposite_contains(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6852
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7147
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
6853
7148
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
6854
7149
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
6855
- result = (FXbool)FXComposite_contains((FXComposite const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
7150
+ result = (bool)FXComposite_contains((FXComposite const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
6856
7151
  return vresult; }
6857
7152
  static VALUE _wrap_FXComposite_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6858
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7153
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6859
7154
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6860
7155
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
6861
- result = (FXbool)FXComposite_doesSaveUnder((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7156
+ result = (bool)FXComposite_doesSaveUnder((FXComposite const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6862
7157
  static VALUE _wrap_FXComposite_setBackColor(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6863
7158
  FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6864
7159
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); arg2 = to_FXColor(argv[0]);
6865
7160
  FXComposite_setBackColor(arg1,arg2); return Qnil; }
7161
+ static VALUE _wrap_FXComposite_tr(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXchar *arg2 ;
7162
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
7163
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7164
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
7165
+ arg3 = StringValuePtr(argv[1]); }
7166
+ result = (FXchar *)FXComposite_tr((FXComposite const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
7167
+ vresult = rb_str_new2(result); return vresult; }
7168
+ static VALUE _wrap_FXComposite_dropEnable(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
7169
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7170
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); FXComposite_dropEnable(arg1); return Qnil; }
7171
+ static VALUE _wrap_FXComposite_dropDisable(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
7172
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7173
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1); FXComposite_dropDisable(arg1); return Qnil; }
6866
7174
  static VALUE _wrap_FXComposite_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
6867
7175
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
6868
7176
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXComposite, 1);
@@ -6962,10 +7270,10 @@ static VALUE _wrap_FXRootWindow_getHeightForWidth(int argc, VALUE *argv, VALUE s
6962
7270
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); arg2 = NUM2INT(argv[0]);
6963
7271
  result = (FXint)FXRootWindow_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
6964
7272
  static VALUE _wrap_FXRootWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
6965
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7273
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
6966
7274
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6967
7275
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1);
6968
- result = (FXbool)FXRootWindow_canFocus((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7276
+ result = (bool)FXRootWindow_canFocus((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
6969
7277
  static VALUE _wrap_FXRootWindow_setFocus(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
6970
7278
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
6971
7279
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); FXRootWindow_setFocus(arg1); return Qnil; }
@@ -7021,25 +7329,38 @@ static VALUE _wrap_FXRootWindow_hide(int argc, VALUE *argv, VALUE self) { FXRoot
7021
7329
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7022
7330
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); FXRootWindow_hide(arg1); return Qnil; }
7023
7331
  static VALUE _wrap_FXRootWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7024
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7332
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7025
7333
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7026
7334
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1);
7027
- result = (FXbool)FXRootWindow_isComposite((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7335
+ result = (bool)FXRootWindow_isComposite((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7028
7336
  static VALUE _wrap_FXRootWindow_contains(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7029
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7337
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7030
7338
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
7031
7339
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
7032
- result = (FXbool)FXRootWindow_contains((FXRootWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
7340
+ result = (bool)FXRootWindow_contains((FXRootWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
7033
7341
  return vresult; }
7034
7342
  static VALUE _wrap_FXRootWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7035
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7343
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
7036
7344
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7037
7345
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1);
7038
- result = (FXbool)FXRootWindow_doesSaveUnder((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7346
+ result = (bool)FXRootWindow_doesSaveUnder((FXRootWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7039
7347
  static VALUE _wrap_FXRootWindow_setBackColor(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7040
7348
  FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7041
7349
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); arg2 = to_FXColor(argv[0]);
7042
7350
  FXRootWindow_setBackColor(arg1,arg2); return Qnil; }
7351
+ static VALUE _wrap_FXRootWindow_tr(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ; FXchar *arg2 ;
7352
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
7353
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7354
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
7355
+ arg3 = StringValuePtr(argv[1]); }
7356
+ result = (FXchar *)FXRootWindow_tr((FXRootWindow const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
7357
+ vresult = rb_str_new2(result); return vresult; }
7358
+ static VALUE _wrap_FXRootWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7359
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7360
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); FXRootWindow_dropEnable(arg1); return Qnil; }
7361
+ static VALUE _wrap_FXRootWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7362
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7363
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1); FXRootWindow_dropDisable(arg1); return Qnil; }
7043
7364
  static VALUE _wrap_FXRootWindow_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXRootWindow *arg1 = (FXRootWindow *) 0 ;
7044
7365
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7045
7366
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRootWindow, 1);
@@ -7198,9 +7519,9 @@ static VALUE _wrap_FXShell_getHeightForWidth(int argc, VALUE *argv, VALUE self)
7198
7519
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7199
7520
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); arg2 = NUM2INT(argv[0]);
7200
7521
  result = (FXint)FXShell_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
7201
- static VALUE _wrap_FXShell_canFocus(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXbool result;
7522
+ static VALUE _wrap_FXShell_canFocus(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; bool result;
7202
7523
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7203
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); result = (FXbool)FXShell_canFocus((FXShell const *)arg1);
7524
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); result = (bool)FXShell_canFocus((FXShell const *)arg1);
7204
7525
  vresult = result ? Qtrue : Qfalse; return vresult; }
7205
7526
  static VALUE _wrap_FXShell_setFocus(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ;
7206
7527
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -7256,23 +7577,36 @@ static VALUE _wrap_FXShell_show(int argc, VALUE *argv, VALUE self) { FXShell *ar
7256
7577
  static VALUE _wrap_FXShell_hide(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ;
7257
7578
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7258
7579
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); FXShell_hide(arg1); return Qnil; }
7259
- static VALUE _wrap_FXShell_isComposite(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXbool result;
7580
+ static VALUE _wrap_FXShell_isComposite(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; bool result;
7260
7581
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7261
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); result = (FXbool)FXShell_isComposite((FXShell const *)arg1);
7582
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); result = (bool)FXShell_isComposite((FXShell const *)arg1);
7262
7583
  vresult = result ? Qtrue : Qfalse; return vresult; }
7263
7584
  static VALUE _wrap_FXShell_contains(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXint arg2 ;
7264
- FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7585
+ FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7265
7586
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
7266
7587
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
7267
- result = (FXbool)FXShell_contains((FXShell const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
7268
- static VALUE _wrap_FXShell_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXbool result;
7588
+ result = (bool)FXShell_contains((FXShell const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
7589
+ static VALUE _wrap_FXShell_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; bool result;
7269
7590
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7270
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1);
7271
- result = (FXbool)FXShell_doesSaveUnder((FXShell const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7591
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); result = (bool)FXShell_doesSaveUnder((FXShell const *)arg1);
7592
+ vresult = result ? Qtrue : Qfalse; return vresult; }
7272
7593
  static VALUE _wrap_FXShell_setBackColor(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXColor arg2 ;
7273
7594
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7274
7595
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); arg2 = to_FXColor(argv[0]); FXShell_setBackColor(arg1,arg2);
7275
7596
  return Qnil; }
7597
+ static VALUE _wrap_FXShell_tr(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ; FXchar *arg2 ;
7598
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
7599
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7600
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
7601
+ arg3 = StringValuePtr(argv[1]); }
7602
+ result = (FXchar *)FXShell_tr((FXShell const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
7603
+ vresult = rb_str_new2(result); return vresult; }
7604
+ static VALUE _wrap_FXShell_dropEnable(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ;
7605
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7606
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); FXShell_dropEnable(arg1); return Qnil; }
7607
+ static VALUE _wrap_FXShell_dropDisable(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ;
7608
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7609
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1); FXShell_dropDisable(arg1); return Qnil; }
7276
7610
  static VALUE _wrap_FXShell_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXShell *arg1 = (FXShell *) 0 ;
7277
7611
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7278
7612
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXShell, 1);
@@ -7553,9 +7887,9 @@ static VALUE _wrap_FXPopup_getHeightForWidth(int argc, VALUE *argv, VALUE self)
7553
7887
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7554
7888
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); arg2 = NUM2INT(argv[0]);
7555
7889
  result = (FXint)FXPopup_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
7556
- static VALUE _wrap_FXPopup_canFocus(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXbool result;
7890
+ static VALUE _wrap_FXPopup_canFocus(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; bool result;
7557
7891
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7558
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); result = (FXbool)FXPopup_canFocus((FXPopup const *)arg1);
7892
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); result = (bool)FXPopup_canFocus((FXPopup const *)arg1);
7559
7893
  vresult = result ? Qtrue : Qfalse; return vresult; }
7560
7894
  static VALUE _wrap_FXPopup_setFocus(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ;
7561
7895
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
@@ -7611,23 +7945,36 @@ static VALUE _wrap_FXPopup_show(int argc, VALUE *argv, VALUE self) { FXPopup *ar
7611
7945
  static VALUE _wrap_FXPopup_hide(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ;
7612
7946
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7613
7947
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); FXPopup_hide(arg1); return Qnil; }
7614
- static VALUE _wrap_FXPopup_isComposite(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXbool result;
7948
+ static VALUE _wrap_FXPopup_isComposite(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; bool result;
7615
7949
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7616
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); result = (FXbool)FXPopup_isComposite((FXPopup const *)arg1);
7950
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); result = (bool)FXPopup_isComposite((FXPopup const *)arg1);
7617
7951
  vresult = result ? Qtrue : Qfalse; return vresult; }
7618
7952
  static VALUE _wrap_FXPopup_contains(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXint arg2 ;
7619
- FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7953
+ FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
7620
7954
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
7621
7955
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
7622
- result = (FXbool)FXPopup_contains((FXPopup const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
7623
- static VALUE _wrap_FXPopup_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXbool result;
7956
+ result = (bool)FXPopup_contains((FXPopup const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
7957
+ static VALUE _wrap_FXPopup_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; bool result;
7624
7958
  VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7625
- SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1);
7626
- result = (FXbool)FXPopup_doesSaveUnder((FXPopup const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
7959
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); result = (bool)FXPopup_doesSaveUnder((FXPopup const *)arg1);
7960
+ vresult = result ? Qtrue : Qfalse; return vresult; }
7627
7961
  static VALUE _wrap_FXPopup_setBackColor(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXColor arg2 ;
7628
7962
  if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7629
7963
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); arg2 = to_FXColor(argv[0]); FXPopup_setBackColor(arg1,arg2);
7630
7964
  return Qnil; }
7965
+ static VALUE _wrap_FXPopup_tr(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ; FXchar *arg2 ;
7966
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
7967
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7968
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
7969
+ arg3 = StringValuePtr(argv[1]); }
7970
+ result = (FXchar *)FXPopup_tr((FXPopup const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
7971
+ vresult = rb_str_new2(result); return vresult; }
7972
+ static VALUE _wrap_FXPopup_dropEnable(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ;
7973
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7974
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); FXPopup_dropEnable(arg1); return Qnil; }
7975
+ static VALUE _wrap_FXPopup_dropDisable(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ;
7976
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
7977
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1); FXPopup_dropDisable(arg1); return Qnil; }
7631
7978
  static VALUE _wrap_FXPopup_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXPopup *arg1 = (FXPopup *) 0 ;
7632
7979
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
7633
7980
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPopup, 1);
@@ -7695,6 +8042,18 @@ static VALUE _wrap_FXTopWindow_onFocusRight(int argc, VALUE *argv, VALUE self) {
7695
8042
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
7696
8043
  SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
7697
8044
  result = (long)(arg1)->onFocusRight(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
8045
+ static VALUE _wrap_FXTopWindow_onSessionNotify(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8046
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
8047
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
8048
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
8049
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
8050
+ result = (long)(arg1)->onSessionNotify(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
8051
+ static VALUE _wrap_FXTopWindow_onSessionClosed(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8052
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
8053
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
8054
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
8055
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
8056
+ result = (long)(arg1)->onSessionClosed(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
7698
8057
  static VALUE _wrap_FXTopWindow_onCmdMaximize(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
7699
8058
  FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
7700
8059
  if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
@@ -8010,10 +8369,10 @@ static VALUE _wrap_FXTopWindow_getHeightForWidth(int argc, VALUE *argv, VALUE se
8010
8369
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); arg2 = NUM2INT(argv[0]);
8011
8370
  result = (FXint)FXTopWindow_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
8012
8371
  static VALUE _wrap_FXTopWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8013
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8372
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8014
8373
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8015
8374
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
8016
- result = (FXbool)FXTopWindow_canFocus((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8375
+ result = (bool)FXTopWindow_canFocus((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8017
8376
  static VALUE _wrap_FXTopWindow_setFocus(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8018
8377
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8019
8378
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); FXTopWindow_setFocus(arg1); return Qnil; }
@@ -8069,25 +8428,38 @@ static VALUE _wrap_FXTopWindow_hide(int argc, VALUE *argv, VALUE self) { FXTopWi
8069
8428
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8070
8429
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); FXTopWindow_hide(arg1); return Qnil; }
8071
8430
  static VALUE _wrap_FXTopWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8072
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8431
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8073
8432
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8074
8433
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
8075
- result = (FXbool)FXTopWindow_isComposite((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8434
+ result = (bool)FXTopWindow_isComposite((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8076
8435
  static VALUE _wrap_FXTopWindow_contains(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8077
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8436
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8078
8437
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
8079
8438
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
8080
- result = (FXbool)FXTopWindow_contains((FXTopWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8439
+ result = (bool)FXTopWindow_contains((FXTopWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8081
8440
  return vresult; }
8082
8441
  static VALUE _wrap_FXTopWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8083
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8442
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8084
8443
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8085
8444
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
8086
- result = (FXbool)FXTopWindow_doesSaveUnder((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8445
+ result = (bool)FXTopWindow_doesSaveUnder((FXTopWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8087
8446
  static VALUE _wrap_FXTopWindow_setBackColor(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8088
8447
  FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8089
8448
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); arg2 = to_FXColor(argv[0]);
8090
8449
  FXTopWindow_setBackColor(arg1,arg2); return Qnil; }
8450
+ static VALUE _wrap_FXTopWindow_tr(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ; FXchar *arg2 ;
8451
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
8452
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8453
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
8454
+ arg3 = StringValuePtr(argv[1]); }
8455
+ result = (FXchar *)FXTopWindow_tr((FXTopWindow const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
8456
+ vresult = rb_str_new2(result); return vresult; }
8457
+ static VALUE _wrap_FXTopWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8458
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8459
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); FXTopWindow_dropEnable(arg1); return Qnil; }
8460
+ static VALUE _wrap_FXTopWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8461
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8462
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1); FXTopWindow_dropDisable(arg1); return Qnil; }
8091
8463
  static VALUE _wrap_FXTopWindow_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTopWindow *arg1 = (FXTopWindow *) 0 ;
8092
8464
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8093
8465
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTopWindow, 1);
@@ -8230,10 +8602,10 @@ static VALUE _wrap_FXMainWindow_getHeightForWidth(int argc, VALUE *argv, VALUE s
8230
8602
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); arg2 = NUM2INT(argv[0]);
8231
8603
  result = (FXint)FXMainWindow_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
8232
8604
  static VALUE _wrap_FXMainWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8233
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8605
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8234
8606
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8235
8607
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1);
8236
- result = (FXbool)FXMainWindow_canFocus((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8608
+ result = (bool)FXMainWindow_canFocus((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8237
8609
  static VALUE _wrap_FXMainWindow_setFocus(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8238
8610
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8239
8611
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); FXMainWindow_setFocus(arg1); return Qnil; }
@@ -8289,25 +8661,38 @@ static VALUE _wrap_FXMainWindow_hide(int argc, VALUE *argv, VALUE self) { FXMain
8289
8661
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8290
8662
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); FXMainWindow_hide(arg1); return Qnil; }
8291
8663
  static VALUE _wrap_FXMainWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8292
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8664
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8293
8665
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8294
8666
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1);
8295
- result = (FXbool)FXMainWindow_isComposite((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8667
+ result = (bool)FXMainWindow_isComposite((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8296
8668
  static VALUE _wrap_FXMainWindow_contains(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8297
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8669
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8298
8670
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
8299
8671
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
8300
- result = (FXbool)FXMainWindow_contains((FXMainWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8672
+ result = (bool)FXMainWindow_contains((FXMainWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8301
8673
  return vresult; }
8302
8674
  static VALUE _wrap_FXMainWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8303
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8675
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8304
8676
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8305
8677
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1);
8306
- result = (FXbool)FXMainWindow_doesSaveUnder((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8678
+ result = (bool)FXMainWindow_doesSaveUnder((FXMainWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8307
8679
  static VALUE _wrap_FXMainWindow_setBackColor(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8308
8680
  FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8309
8681
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); arg2 = to_FXColor(argv[0]);
8310
8682
  FXMainWindow_setBackColor(arg1,arg2); return Qnil; }
8683
+ static VALUE _wrap_FXMainWindow_tr(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ; FXchar *arg2 ;
8684
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
8685
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8686
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
8687
+ arg3 = StringValuePtr(argv[1]); }
8688
+ result = (FXchar *)FXMainWindow_tr((FXMainWindow const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
8689
+ vresult = rb_str_new2(result); return vresult; }
8690
+ static VALUE _wrap_FXMainWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8691
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8692
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); FXMainWindow_dropEnable(arg1); return Qnil; }
8693
+ static VALUE _wrap_FXMainWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8694
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8695
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1); FXMainWindow_dropDisable(arg1); return Qnil; }
8311
8696
  static VALUE _wrap_FXMainWindow_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMainWindow *arg1 = (FXMainWindow *) 0 ;
8312
8697
  FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8313
8698
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMainWindow, 1);
@@ -8494,10 +8879,10 @@ static VALUE _wrap_FXSplashWindow_getHeightForWidth(int argc, VALUE *argv, VALUE
8494
8879
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); arg2 = NUM2INT(argv[0]);
8495
8880
  result = (FXint)FXSplashWindow_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
8496
8881
  static VALUE _wrap_FXSplashWindow_canFocus(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8497
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8882
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8498
8883
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8499
8884
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1);
8500
- result = (FXbool)FXSplashWindow_canFocus((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8885
+ result = (bool)FXSplashWindow_canFocus((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8501
8886
  static VALUE _wrap_FXSplashWindow_setFocus(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8502
8887
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8503
8888
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); FXSplashWindow_setFocus(arg1); return Qnil; }
@@ -8554,28 +8939,40 @@ static VALUE _wrap_FXSplashWindow_hide(int argc, VALUE *argv, VALUE self) { FXSp
8554
8939
  if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8555
8940
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); FXSplashWindow_hide(arg1); return Qnil; }
8556
8941
  static VALUE _wrap_FXSplashWindow_isComposite(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8557
- FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8942
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8558
8943
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8559
8944
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1);
8560
- result = (FXbool)FXSplashWindow_isComposite((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse;
8561
- return vresult; }
8945
+ result = (bool)FXSplashWindow_isComposite((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
8562
8946
  static VALUE _wrap_FXSplashWindow_contains(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8563
- FXint arg2 ; FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8947
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
8564
8948
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
8565
8949
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
8566
- result = (FXbool)FXSplashWindow_contains((FXSplashWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8950
+ result = (bool)FXSplashWindow_contains((FXSplashWindow const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
8567
8951
  return vresult; }
8568
8952
  static VALUE _wrap_FXSplashWindow_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
8569
- FXSplashWindow *arg1 = (FXSplashWindow *) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8953
+ FXSplashWindow *arg1 = (FXSplashWindow *) 0 ; bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
8570
8954
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8571
8955
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1);
8572
- result = (FXbool)FXSplashWindow_doesSaveUnder((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse;
8956
+ result = (bool)FXSplashWindow_doesSaveUnder((FXSplashWindow const *)arg1); vresult = result ? Qtrue : Qfalse;
8573
8957
  return vresult; }
8574
8958
  static VALUE _wrap_FXSplashWindow_setBackColor(int argc, VALUE *argv, VALUE self) {
8575
8959
  FXSplashWindow *arg1 = (FXSplashWindow *) 0 ; FXColor arg2 ; if ((argc < 1) || (argc > 1))
8576
8960
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8577
8961
  SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); arg2 = to_FXColor(argv[0]);
8578
8962
  FXSplashWindow_setBackColor(arg1,arg2); return Qnil; }
8963
+ static VALUE _wrap_FXSplashWindow_tr(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8964
+ FXchar *arg2 ; FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
8965
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
8966
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
8967
+ arg3 = StringValuePtr(argv[1]); }
8968
+ result = (FXchar *)FXSplashWindow_tr((FXSplashWindow const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
8969
+ vresult = rb_str_new2(result); return vresult; }
8970
+ static VALUE _wrap_FXSplashWindow_dropEnable(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8971
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8972
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); FXSplashWindow_dropEnable(arg1); return Qnil; }
8973
+ static VALUE _wrap_FXSplashWindow_dropDisable(int argc, VALUE *argv, VALUE self) { FXSplashWindow *arg1 = (FXSplashWindow *) 0 ;
8974
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
8975
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSplashWindow, 1); FXSplashWindow_dropDisable(arg1); return Qnil; }
8579
8976
  static VALUE _wrap_FXSplashWindow_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
8580
8977
  FXSplashWindow *arg1 = (FXSplashWindow *) 0 ; FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1))
8581
8978
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
@@ -8713,6 +9110,30 @@ static void *_p_FXMainWindowTo_p_FXTopWindow(void *x) {
8713
9110
  static void *_p_FXSplashWindowTo_p_FXTopWindow(void *x) {
8714
9111
  return (void *)((FXTopWindow *) ((FXSplashWindow *) x));
8715
9112
  }
9113
+ static void *_p_p_FXCompositeTo_p_p_FXWindow(void *x) {
9114
+ return (void *)((FXWindow **) ((FXComposite **) x));
9115
+ }
9116
+ static void *_p_p_FXShellTo_p_p_FXWindow(void *x) {
9117
+ return (void *)((FXWindow **) (FXComposite *) ((FXShell **) x));
9118
+ }
9119
+ static void *_p_p_FXRootWindowTo_p_p_FXWindow(void *x) {
9120
+ return (void *)((FXWindow **) (FXComposite *) ((FXRootWindow **) x));
9121
+ }
9122
+ static void *_p_p_FXPopupTo_p_p_FXWindow(void *x) {
9123
+ return (void *)((FXWindow **) (FXComposite *)(FXShell *) ((FXPopup **) x));
9124
+ }
9125
+ static void *_p_p_FXTopWindowTo_p_p_FXWindow(void *x) {
9126
+ return (void *)((FXWindow **) (FXComposite *)(FXShell *) ((FXTopWindow **) x));
9127
+ }
9128
+ static void *_p_p_FXMainWindowTo_p_p_FXWindow(void *x) {
9129
+ return (void *)((FXWindow **) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow **) x));
9130
+ }
9131
+ static void *_p_p_FXSplashWindowTo_p_p_FXWindow(void *x) {
9132
+ return (void *)((FXWindow **) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow **) x));
9133
+ }
9134
+ static void *_p_p_FXFrameTo_p_p_FXWindow(void *x) {
9135
+ return (void *)((FXWindow **) ((FXFrame **) x));
9136
+ }
8716
9137
  static void *_p_FXFrameTo_p_FXObject(void *x) {
8717
9138
  return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x));
8718
9139
  }
@@ -8800,6 +9221,9 @@ static void *_p_FXDebugTargetTo_p_FXObject(void *x) {
8800
9221
  static void *_p_FXDataTargetTo_p_FXObject(void *x) {
8801
9222
  return (void *)((FXObject *) ((FXDataTarget *) x));
8802
9223
  }
9224
+ static void *_p_FXTranslatorTo_p_FXObject(void *x) {
9225
+ return (void *)((FXObject *) ((FXTranslator *) x));
9226
+ }
8803
9227
  static void *_p_FXCompositeTo_p_FXDrawable(void *x) {
8804
9228
  return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
8805
9229
  }
@@ -8910,6 +9334,8 @@ static swig_type_info _swigt__p_FXId[] = {{"_p_FXId", 0, "FXId *", 0, 0, 0, 0},{
8910
9334
  static swig_type_info _swigt__p_FXIconDict[] = {{"_p_FXIconDict", 0, "FXIconDict *", 0, 0, 0, 0},{"_p_FXIconDict", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8911
9335
  static swig_type_info _swigt__p_FXShell[] = {{"_p_FXShell", 0, "FXShell *", 0, 0, 0, 0},{"_p_FXShell", 0, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXShell, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXShell, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXShell, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXShell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8912
9336
  static swig_type_info _swigt__p_FXPopup[] = {{"_p_FXPopup", 0, "FXPopup *", 0, 0, 0, 0},{"_p_FXPopup", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9337
+ static swig_type_info _swigt__p_FXTimer[] = {{"_p_FXTimer", 0, "FXTimer *", 0, 0, 0, 0},{"_p_FXTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9338
+ static swig_type_info _swigt__p_p_FXWindow[] = {{"_p_p_FXWindow", 0, "FXWindow **", 0, 0, 0, 0},{"_p_p_FXComposite", _p_p_FXCompositeTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXShell", _p_p_FXShellTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXWindow", 0, 0, 0, 0, 0, 0},{"_p_p_FXRootWindow", _p_p_FXRootWindowTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXPopup", _p_p_FXPopupTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXTopWindow", _p_p_FXTopWindowTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXMainWindow", _p_p_FXMainWindowTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXSplashWindow", _p_p_FXSplashWindowTo_p_p_FXWindow, 0, 0, 0, 0, 0},{"_p_p_FXFrame", _p_p_FXFrameTo_p_p_FXWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8913
9339
  static swig_type_info _swigt__p_FXRootWindow[] = {{"_p_FXRootWindow", 0, "FXRootWindow *", 0, 0, 0, 0},{"_p_FXRootWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8914
9340
  static swig_type_info _swigt__p_FXWindow[] = {{"_p_FXWindow", 0, "FXWindow *", 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXWindow", 0, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8915
9341
  static swig_type_info _swigt__p_FXTopWindow[] = {{"_p_FXTopWindow", 0, "FXTopWindow *", 0, 0, 0, 0},{"_p_FXTopWindow", 0, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXTopWindow, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXTopWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
@@ -8923,29 +9349,33 @@ static swig_type_info _swigt__p_FXID[] = {{"_p_FXID", 0, "FXID *", 0, 0, 0, 0},{
8923
9349
  static swig_type_info _swigt__p_FXMutex[] = {{"_p_FXMutex", 0, "FXMutex *", 0, 0, 0, 0},{"_p_FXMutex", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8924
9350
  static swig_type_info _swigt__p_FXEvent[] = {{"_p_FXEvent", 0, "FXEvent *", 0, 0, 0, 0},{"_p_FXEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8925
9351
  static swig_type_info _swigt__p_FXIconSource[] = {{"_p_FXIconSource", 0, "FXIconSource *", 0, 0, 0, 0},{"_p_FXIconSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8926
- static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXObject", 0, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXAccelTable", _p_FXAccelTableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDict", _p_FXDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXIconDict", _p_FXIconDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileDict", _p_FXFileDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXId", _p_FXIdTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStringDict", _p_FXStringDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRegistry", _p_FXRegistryTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDelegator", _p_FXDelegatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSettings", _p_FXSettingsTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXApp", _p_FXAppTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRecentFiles", _p_FXRecentFilesTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDebugTarget", _p_FXDebugTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDataTarget", _p_FXDataTargetTo_p_FXObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9352
+ static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXObject", 0, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXAccelTable", _p_FXAccelTableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDict", _p_FXDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXIconDict", _p_FXIconDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileDict", _p_FXFileDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXId", _p_FXIdTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStringDict", _p_FXStringDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRegistry", _p_FXRegistryTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDelegator", _p_FXDelegatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSettings", _p_FXSettingsTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXApp", _p_FXAppTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRecentFiles", _p_FXRecentFilesTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDebugTarget", _p_FXDebugTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDataTarget", _p_FXDataTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTranslator", _p_FXTranslatorTo_p_FXObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8927
9353
  static swig_type_info _swigt__p_FXStringDict[] = {{"_p_FXStringDict", 0, "FXStringDict *", 0, 0, 0, 0},{"_p_FXStringDict", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8928
9354
  static swig_type_info _swigt__p_FXBitmap[] = {{"_p_FXBitmap", 0, "FXBitmap *", 0, 0, 0, 0},{"_p_FXBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8929
9355
  static swig_type_info _swigt__p_FXRectangle[] = {{"_p_FXRectangle", 0, "FXRectangle *", 0, 0, 0, 0},{"_p_FXRectangle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8930
9356
  static swig_type_info _swigt__p_FXString[] = {{"_p_FXString", 0, "FXString *", 0, 0, 0, 0},{"_p_FXString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9357
+ static swig_type_info _swigt__p_FXTextCodec[] = {{"_p_FXTextCodec", 0, "FXTextCodec *", 0, 0, 0, 0},{"_p_FXTextCodec", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9358
+ static swig_type_info _swigt__p_FXComposeContext[] = {{"_p_FXComposeContext", 0, "FXComposeContext *", 0, 0, 0, 0},{"_p_FXComposeContext", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8931
9359
  static swig_type_info _swigt__p_FXPoint[] = {{"_p_FXPoint", 0, "FXPoint *", 0, 0, 0, 0},{"_p_FXPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8932
9360
  static swig_type_info _swigt__p_FXFileDict[] = {{"_p_FXFileDict", 0, "FXFileDict *", 0, 0, 0, 0},{"_p_FXFileDict", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8933
- static swig_type_info _swigt__p_FXDebugTarget[] = {{"_p_FXDebugTarget", 0, "FXDebugTarget *", 0, 0, 0, 0},{"_p_FXDebugTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8934
9361
  static swig_type_info _swigt__p_FXDataTarget[] = {{"_p_FXDataTarget", 0, "FXDataTarget *", 0, 0, 0, 0},{"_p_FXDataTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8935
- static swig_type_info _swigt__p_FXDelegator[] = {{"_p_FXDelegator", 0, "FXDelegator *", 0, 0, 0, 0},{"_p_FXDelegator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9362
+ static swig_type_info _swigt__p_FXDebugTarget[] = {{"_p_FXDebugTarget", 0, "FXDebugTarget *", 0, 0, 0, 0},{"_p_FXDebugTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8936
9363
  static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDrawable", 0, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8937
9364
  static swig_type_info _swigt__p_FXCursor[] = {{"_p_FXCursor", 0, "FXCursor *", 0, 0, 0, 0},{"_p_FXCursor", 0, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXCursor, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXCursor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9365
+ static swig_type_info _swigt__p_FXDelegator[] = {{"_p_FXDelegator", 0, "FXDelegator *", 0, 0, 0, 0},{"_p_FXDelegator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8938
9366
  static swig_type_info _swigt__p_FXCURCursor[] = {{"_p_FXCURCursor", 0, "FXCURCursor *", 0, 0, 0, 0},{"_p_FXCURCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8939
9367
  static swig_type_info _swigt__p_FXGIFCursor[] = {{"_p_FXGIFCursor", 0, "FXGIFCursor *", 0, 0, 0, 0},{"_p_FXGIFCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9368
+ static swig_type_info _swigt__p_FXTranslator[] = {{"_p_FXTranslator", 0, "FXTranslator *", 0, 0, 0, 0},{"_p_FXTranslator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8940
9369
  static swig_type_info _swigt__p_FXStream[] = {{"_p_FXStream", 0, "FXStream *", 0, 0, 0, 0},{"_p_FXFileStream", _p_FXFileStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXMemoryStream", _p_FXMemoryStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8941
9370
  static swig_type_info _swigt__p_FXFontDesc[] = {{"_p_FXFontDesc", 0, "FXFontDesc *", 0, 0, 0, 0},{"_p_FXFontDesc", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8942
9371
  static swig_type_info _swigt__p_FXApp[] = {{"_p_FXApp", 0, "FXApp *", 0, 0, 0, 0},{"_p_FXApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9372
+ static swig_type_info _swigt__p_FXChore[] = {{"_p_FXChore", 0, "FXChore *", 0, 0, 0, 0},{"_p_FXChore", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8943
9373
  static swig_type_info _swigt__p_FXRegion[] = {{"_p_FXRegion", 0, "FXRegion *", 0, 0, 0, 0},{"_p_FXRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8944
9374
  static swig_type_info _swigt__p_FXColor[] = {{"_p_FXColor", 0, "unsigned int const *|FXColor const *", 0, 0, 0, 0},{"_p_FXuint", 0, 0, 0, 0, 0, 0},{"_p_FXColor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8945
9375
  static swig_type_info _swigt__p_FXSize[] = {{"_p_FXSize", 0, "FXSize *", 0, 0, 0, 0},{"_p_FXSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8946
9376
  static swig_type_info _swigt__p_p_FXchar[] = {{"_p_p_FXchar", 0, "char const *const *|FXchar const *const *", 0, 0, 0, 0},{"_p_p_FXchar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8947
9377
  static swig_type_info _swigt__p_FXFont[] = {{"_p_FXFont", 0, "FXFont *", 0, 0, 0, 0},{"_p_FXFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8948
- static swig_type_info _swigt__p_FXchar[] = {{"_p_FXchar", 0, "char [104]|FXchar [104]", 0, 0, 0, 0},{"_p_FXchar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9378
+ static swig_type_info _swigt__p_FXchar[] = {{"_p_FXchar", 0, "char [116]|FXchar [116]", 0, 0, 0, 0},{"_p_FXchar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8949
9379
  static swig_type_info _swigt__p_FXFrame[] = {{"_p_FXFrame", 0, "FXFrame *", 0, 0, 0, 0},{"_p_FXFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8950
9380
  static swig_type_info _swigt__p_FXFileAssoc[] = {{"_p_FXFileAssoc", 0, "FXFileAssoc *", 0, 0, 0, 0},{"_p_FXFileAssoc", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8951
9381
  static swig_type_info _swigt__p_FXVisual[] = {{"_p_FXVisual", 0, "FXVisual *", 0, 0, 0, 0},{"_p_FXVisual", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
@@ -8965,6 +9395,8 @@ _swigt__p_FXId,
8965
9395
  _swigt__p_FXIconDict,
8966
9396
  _swigt__p_FXShell,
8967
9397
  _swigt__p_FXPopup,
9398
+ _swigt__p_FXTimer,
9399
+ _swigt__p_p_FXWindow,
8968
9400
  _swigt__p_FXRootWindow,
8969
9401
  _swigt__p_FXWindow,
8970
9402
  _swigt__p_FXTopWindow,
@@ -8983,18 +9415,22 @@ _swigt__p_FXStringDict,
8983
9415
  _swigt__p_FXBitmap,
8984
9416
  _swigt__p_FXRectangle,
8985
9417
  _swigt__p_FXString,
9418
+ _swigt__p_FXTextCodec,
9419
+ _swigt__p_FXComposeContext,
8986
9420
  _swigt__p_FXPoint,
8987
9421
  _swigt__p_FXFileDict,
8988
- _swigt__p_FXDebugTarget,
8989
9422
  _swigt__p_FXDataTarget,
8990
- _swigt__p_FXDelegator,
9423
+ _swigt__p_FXDebugTarget,
8991
9424
  _swigt__p_FXDrawable,
8992
9425
  _swigt__p_FXCursor,
9426
+ _swigt__p_FXDelegator,
8993
9427
  _swigt__p_FXCURCursor,
8994
9428
  _swigt__p_FXGIFCursor,
9429
+ _swigt__p_FXTranslator,
8995
9430
  _swigt__p_FXStream,
8996
9431
  _swigt__p_FXFontDesc,
8997
9432
  _swigt__p_FXApp,
9433
+ _swigt__p_FXChore,
8998
9434
  _swigt__p_FXRegion,
8999
9435
  _swigt__p_FXColor,
9000
9436
  _swigt__p_FXSize,
@@ -9110,6 +9546,10 @@ SWIGEXPORT(void) Init_core(void) {
9110
9546
  rb_define_const(mFox,"SEL_PICKED", INT2NUM(SEL_PICKED));
9111
9547
  rb_define_const(mFox,"SEL_QUERY_TIP", INT2NUM(SEL_QUERY_TIP));
9112
9548
  rb_define_const(mFox,"SEL_QUERY_HELP", INT2NUM(SEL_QUERY_HELP));
9549
+ rb_define_const(mFox,"SEL_DOCKED", INT2NUM(SEL_DOCKED));
9550
+ rb_define_const(mFox,"SEL_FLOATED", INT2NUM(SEL_FLOATED));
9551
+ rb_define_const(mFox,"SEL_SESSION_NOTIFY", INT2NUM(SEL_SESSION_NOTIFY));
9552
+ rb_define_const(mFox,"SEL_SESSION_CLOSED", INT2NUM(SEL_SESSION_CLOSED));
9113
9553
  rb_define_const(mFox,"SEL_LAST", INT2NUM(SEL_LAST));
9114
9554
  rb_define_const(mFox,"SHIFTMASK", INT2NUM(SHIFTMASK));
9115
9555
  rb_define_const(mFox,"CAPSLOCKMASK", INT2NUM(CAPSLOCKMASK));
@@ -9178,10 +9618,6 @@ SWIGEXPORT(void) Init_core(void) {
9178
9618
  rb_define_module_function(mFox, "fxversion", VALUEFUNC(_wrap_fxversion), -1);
9179
9619
  rb_define_singleton_method(mFox, "fxTraceLevel", VALUEFUNC(fxTraceLevel_get), 0);
9180
9620
  rb_define_singleton_method(mFox, "fxTraceLevel=", VALUEFUNC(fxTraceLevel_set), 1);
9181
- rb_define_module_function(mFox, "fxparseAccel", VALUEFUNC(_wrap_fxparseAccel), -1);
9182
- rb_define_module_function(mFox, "fxparseHotKey", VALUEFUNC(_wrap_fxparseHotKey), -1);
9183
- rb_define_module_function(mFox, "fxfindHotKey", VALUEFUNC(_wrap_fxfindHotKey), -1);
9184
- rb_define_module_function(mFox, "fxstripHotKey", VALUEFUNC(_wrap_fxstripHotKey), -1);
9185
9621
  rb_define_const(mFox,"FXStreamDead", INT2NUM(FXStreamDead));
9186
9622
  rb_define_const(mFox,"FXStreamSave", INT2NUM(FXStreamSave));
9187
9623
  rb_define_const(mFox,"FXStreamLoad", INT2NUM(FXStreamLoad));
@@ -9251,8 +9687,11 @@ SWIGEXPORT(void) Init_core(void) {
9251
9687
  rb_define_method(cFXSize.klass, "w", VALUEFUNC(_wrap_FXSize_w_get), -1);
9252
9688
  rb_define_method(cFXSize.klass, "h=", VALUEFUNC(_wrap_FXSize_h_set), -1);
9253
9689
  rb_define_method(cFXSize.klass, "h", VALUEFUNC(_wrap_FXSize_h_get), -1);
9690
+ rb_define_method(cFXSize.klass, "empty?", VALUEFUNC(_wrap_FXSize_emptyq___), -1);
9254
9691
  rb_define_method(cFXSize.klass, "==", VALUEFUNC(_wrap_FXSize___eq__), -1);
9255
9692
  rb_define_method(cFXSize.klass, "-@", VALUEFUNC(_wrap_FXSize___neg__), -1);
9693
+ rb_define_method(cFXSize.klass, "grow!", VALUEFUNC(_wrap_FXSize_growN___), -1);
9694
+ rb_define_method(cFXSize.klass, "shrink!", VALUEFUNC(_wrap_FXSize_shrinkN___), -1);
9256
9695
  rb_define_method(cFXSize.klass, "+", VALUEFUNC(_wrap_FXSize___add__), -1);
9257
9696
  rb_define_method(cFXSize.klass, "-", VALUEFUNC(_wrap_FXSize___sub__), -1);
9258
9697
  rb_define_method(cFXSize.klass, "*", VALUEFUNC(_wrap_FXSize___mul__), -1);
@@ -9353,6 +9792,11 @@ SWIGEXPORT(void) Init_core(void) {
9353
9792
  rb_define_method(cFXAccelTable.klass, "load", VALUEFUNC(_wrap_FXAccelTable_load), -1);
9354
9793
  cFXAccelTable.mark = (void (*)(void *)) FXRbAccelTable::markfunc;
9355
9794
  cFXAccelTable.destroy = (void (*)(void *)) FXRbObject::freefunc;
9795
+ rb_define_module_function(mFox, "parseAccel", VALUEFUNC(_wrap_parseAccel), -1);
9796
+ rb_define_module_function(mFox, "unparseAccel", VALUEFUNC(_wrap_unparseAccel), -1);
9797
+ rb_define_module_function(mFox, "parseHotKey", VALUEFUNC(_wrap_parseHotKey), -1);
9798
+ rb_define_module_function(mFox, "findHotKey", VALUEFUNC(_wrap_findHotKey), -1);
9799
+ rb_define_module_function(mFox, "stripHotKey", VALUEFUNC(_wrap_stripHotKey), -1);
9356
9800
  rb_define_const(mFox,"INPUT_NONE", INT2NUM(INPUT_NONE));
9357
9801
  rb_define_const(mFox,"INPUT_READ", INT2NUM(INPUT_READ));
9358
9802
  rb_define_const(mFox,"INPUT_WRITE", INT2NUM(INPUT_WRITE));
@@ -9386,6 +9830,7 @@ SWIGEXPORT(void) Init_core(void) {
9386
9830
  rb_define_const(mFox,"DEF_HELP_CURSOR", INT2NUM(DEF_HELP_CURSOR));
9387
9831
  rb_define_const(mFox,"DEF_HAND_CURSOR", INT2NUM(DEF_HAND_CURSOR));
9388
9832
  rb_define_const(mFox,"DEF_ROTATE_CURSOR", INT2NUM(DEF_ROTATE_CURSOR));
9833
+ rb_define_const(mFox,"DEF_WAIT_CURSOR", INT2NUM(DEF_WAIT_CURSOR));
9389
9834
 
9390
9835
  cFXEvent.klass = rb_define_class_under(mFox, "FXEvent", rb_cObject);
9391
9836
  SWIG_TypeClientData(SWIGTYPE_p_FXEvent, (void *) &cFXEvent);
@@ -9438,6 +9883,18 @@ SWIGEXPORT(void) Init_core(void) {
9438
9883
  cFXEvent.mark = 0;
9439
9884
  cFXEvent.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
9440
9885
 
9886
+ cFXChore.klass = rb_define_class_under(mFox, "FXChore", rb_cObject);
9887
+ SWIG_TypeClientData(SWIGTYPE_p_FXChore, (void *) &cFXChore);
9888
+ rb_undef_alloc_func(cFXChore.klass);
9889
+ cFXChore.mark = 0;
9890
+ cFXChore.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
9891
+
9892
+ cFXTimer.klass = rb_define_class_under(mFox, "FXTimer", rb_cObject);
9893
+ SWIG_TypeClientData(SWIGTYPE_p_FXTimer, (void *) &cFXTimer);
9894
+ rb_undef_alloc_func(cFXTimer.klass);
9895
+ cFXTimer.mark = 0;
9896
+ cFXTimer.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
9897
+
9441
9898
  cFXApp.klass = rb_define_class_under(mFox, "FXApp", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass);
9442
9899
  SWIG_TypeClientData(SWIGTYPE_p_FXApp, (void *) &cFXApp);
9443
9900
  rb_define_alloc_func(cFXApp.klass, _wrap_FXApp_allocate);
@@ -9458,24 +9915,26 @@ SWIGEXPORT(void) Init_core(void) {
9458
9915
  rb_define_method(cFXApp.klass, "isInitialized", VALUEFUNC(_wrap_FXApp_isInitialized), -1);
9459
9916
  rb_define_method(cFXApp.klass, "getArgc", VALUEFUNC(_wrap_FXApp_getArgc), -1);
9460
9917
  rb_define_method(cFXApp.klass, "getArgv", VALUEFUNC(_wrap_FXApp_getArgv), -1);
9918
+ rb_define_method(cFXApp.klass, "hasInputMethod?", VALUEFUNC(_wrap_FXApp_hasInputMethodq___), -1);
9461
9919
  rb_define_method(cFXApp.klass, "getDefaultVisual", VALUEFUNC(_wrap_FXApp_getDefaultVisual), -1);
9462
9920
  rb_define_method(cFXApp.klass, "setDefaultVisual", VALUEFUNC(_wrap_FXApp_setDefaultVisual), -1);
9463
9921
  rb_define_method(cFXApp.klass, "getMonoVisual", VALUEFUNC(_wrap_FXApp_getMonoVisual), -1);
9464
9922
  rb_define_method(cFXApp.klass, "getRootWindow", VALUEFUNC(_wrap_FXApp_getRootWindow), -1);
9465
9923
  rb_define_method(cFXApp.klass, "setRootWindow", VALUEFUNC(_wrap_FXApp_setRootWindow), -1);
9924
+ rb_define_method(cFXApp.klass, "focusWindow", VALUEFUNC(_wrap_FXApp_focusWindow), -1);
9466
9925
  rb_define_method(cFXApp.klass, "getCursorWindow", VALUEFUNC(_wrap_FXApp_getCursorWindow), -1);
9467
- rb_define_method(cFXApp.klass, "getFocusWindow", VALUEFUNC(_wrap_FXApp_getFocusWindow), -1);
9926
+ rb_define_method(cFXApp.klass, "activeWindow", VALUEFUNC(_wrap_FXApp_activeWindow), -1);
9468
9927
  rb_define_method(cFXApp.klass, "getPopupWindow", VALUEFUNC(_wrap_FXApp_getPopupWindow), -1);
9469
9928
  rb_define_method(cFXApp.klass, "findWindowWithId", VALUEFUNC(_wrap_FXApp_findWindowWithId), -1);
9470
9929
  rb_define_method(cFXApp.klass, "findWindowAt", VALUEFUNC(_wrap_FXApp_findWindowAt), -1);
9471
9930
  rb_define_method(cFXApp.klass, "addTimeout", VALUEFUNC(_wrap_FXApp_addTimeout), -1);
9472
9931
  rb_define_method(cFXApp.klass, "removeTimeout", VALUEFUNC(_wrap_FXApp_removeTimeout), -1);
9473
- rb_define_method(cFXApp.klass, "hasTimeout", VALUEFUNC(_wrap_FXApp_hasTimeout), -1);
9932
+ rb_define_method(cFXApp.klass, "hasTimeout?", VALUEFUNC(_wrap_FXApp_hasTimeoutq___), -1);
9474
9933
  rb_define_method(cFXApp.klass, "remainingTimeout", VALUEFUNC(_wrap_FXApp_remainingTimeout), -1);
9475
9934
  rb_define_method(cFXApp.klass, "handleTimeouts", VALUEFUNC(_wrap_FXApp_handleTimeouts), -1);
9476
9935
  rb_define_method(cFXApp.klass, "addChore", VALUEFUNC(_wrap_FXApp_addChore), -1);
9477
9936
  rb_define_method(cFXApp.klass, "removeChore", VALUEFUNC(_wrap_FXApp_removeChore), -1);
9478
- rb_define_method(cFXApp.klass, "hasChore", VALUEFUNC(_wrap_FXApp_hasChore), -1);
9937
+ rb_define_method(cFXApp.klass, "hasChore?", VALUEFUNC(_wrap_FXApp_hasChoreq___), -1);
9479
9938
  rb_define_method(cFXApp.klass, "addSignal", VALUEFUNC(_wrap_FXApp_addSignal), -1);
9480
9939
  rb_define_method(cFXApp.klass, "removeSignal", VALUEFUNC(_wrap_FXApp_removeSignal), -1);
9481
9940
  rb_define_method(cFXApp.klass, "addInput", VALUEFUNC(_wrap_FXApp_addInput), -1);
@@ -9514,7 +9973,11 @@ SWIGEXPORT(void) Init_core(void) {
9514
9973
  rb_define_method(cFXApp.klass, "getWaitCursor", VALUEFUNC(_wrap_FXApp_getWaitCursor), -1);
9515
9974
  rb_define_method(cFXApp.klass, "getDefaultCursor", VALUEFUNC(_wrap_FXApp_getDefaultCursor), -1);
9516
9975
  rb_define_method(cFXApp.klass, "setDefaultCursor", VALUEFUNC(_wrap_FXApp_setDefaultCursor), -1);
9976
+ rb_define_method(cFXApp.klass, "writeWindow", VALUEFUNC(_wrap_FXApp_writeWindow), -1);
9977
+ rb_define_method(cFXApp.klass, "readWindow", VALUEFUNC(_wrap_FXApp_readWindow), -1);
9517
9978
  rb_define_method(cFXApp.klass, "mutex", VALUEFUNC(_wrap_FXApp_mutex), -1);
9979
+ rb_define_method(cFXApp.klass, "setTranslator", VALUEFUNC(_wrap_FXApp_setTranslator), -1);
9980
+ rb_define_method(cFXApp.klass, "getTranslator", VALUEFUNC(_wrap_FXApp_getTranslator), -1);
9518
9981
  rb_define_method(cFXApp.klass, "getTypingSpeed", VALUEFUNC(_wrap_FXApp_getTypingSpeed), -1);
9519
9982
  rb_define_method(cFXApp.klass, "getClickSpeed", VALUEFUNC(_wrap_FXApp_getClickSpeed), -1);
9520
9983
  rb_define_method(cFXApp.klass, "getScrollSpeed", VALUEFUNC(_wrap_FXApp_getScrollSpeed), -1);
@@ -9526,6 +9989,7 @@ SWIGEXPORT(void) Init_core(void) {
9526
9989
  rb_define_method(cFXApp.klass, "getTooltipTime", VALUEFUNC(_wrap_FXApp_getTooltipTime), -1);
9527
9990
  rb_define_method(cFXApp.klass, "getDragDelta", VALUEFUNC(_wrap_FXApp_getDragDelta), -1);
9528
9991
  rb_define_method(cFXApp.klass, "getWheelLines", VALUEFUNC(_wrap_FXApp_getWheelLines), -1);
9992
+ rb_define_method(cFXApp.klass, "scrollBarSize", VALUEFUNC(_wrap_FXApp_scrollBarSize), -1);
9529
9993
  rb_define_method(cFXApp.klass, "setTypingSpeed", VALUEFUNC(_wrap_FXApp_setTypingSpeed), -1);
9530
9994
  rb_define_method(cFXApp.klass, "setClickSpeed", VALUEFUNC(_wrap_FXApp_setClickSpeed), -1);
9531
9995
  rb_define_method(cFXApp.klass, "setScrollSpeed", VALUEFUNC(_wrap_FXApp_setScrollSpeed), -1);
@@ -9537,6 +10001,7 @@ SWIGEXPORT(void) Init_core(void) {
9537
10001
  rb_define_method(cFXApp.klass, "setTooltipTime", VALUEFUNC(_wrap_FXApp_setTooltipTime), -1);
9538
10002
  rb_define_method(cFXApp.klass, "setDragDelta", VALUEFUNC(_wrap_FXApp_setDragDelta), -1);
9539
10003
  rb_define_method(cFXApp.klass, "setWheelLines", VALUEFUNC(_wrap_FXApp_setWheelLines), -1);
10004
+ rb_define_method(cFXApp.klass, "scrollBarSize=", VALUEFUNC(_wrap_FXApp_scrollBarSizee___), -1);
9540
10005
  rb_define_method(cFXApp.klass, "getBorderColor", VALUEFUNC(_wrap_FXApp_getBorderColor), -1);
9541
10006
  rb_define_method(cFXApp.klass, "getBaseColor", VALUEFUNC(_wrap_FXApp_getBaseColor), -1);
9542
10007
  rb_define_method(cFXApp.klass, "getHiliteColor", VALUEFUNC(_wrap_FXApp_getHiliteColor), -1);
@@ -9562,6 +10027,7 @@ SWIGEXPORT(void) Init_core(void) {
9562
10027
  rb_define_method(cFXApp.klass, "setSelMenuTextColor", VALUEFUNC(_wrap_FXApp_setSelMenuTextColor), -1);
9563
10028
  rb_define_method(cFXApp.klass, "setSelMenuBackColor", VALUEFUNC(_wrap_FXApp_setSelMenuBackColor), -1);
9564
10029
  rb_define_method(cFXApp.klass, "dumpWidgets", VALUEFUNC(_wrap_FXApp_dumpWidgets), -1);
10030
+ rb_define_method(cFXApp.klass, "getWindowCount", VALUEFUNC(_wrap_FXApp_getWindowCount), -1);
9565
10031
  rb_define_method(cFXApp.klass, "save", VALUEFUNC(_wrap_FXApp_save), -1);
9566
10032
  rb_define_method(cFXApp.klass, "load", VALUEFUNC(_wrap_FXApp_load), -1);
9567
10033
  rb_define_method(cFXApp.klass, "create", VALUEFUNC(_wrap_FXApp_create), -1);
@@ -9634,6 +10100,19 @@ SWIGEXPORT(void) Init_core(void) {
9634
10100
  cFXDelegator.mark = (void (*)(void *)) FXRbDelegator::markfunc;
9635
10101
  cFXDelegator.destroy = (void (*)(void *)) FXRbObject::freefunc;
9636
10102
 
10103
+ cFXTranslator.klass = rb_define_class_under(mFox, "FXTranslator", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass);
10104
+ SWIG_TypeClientData(SWIGTYPE_p_FXTranslator, (void *) &cFXTranslator);
10105
+ rb_define_alloc_func(cFXTranslator.klass, _wrap_FXTranslator_allocate);
10106
+ rb_define_method(cFXTranslator.klass, "initialize", VALUEFUNC(_wrap_new_FXTranslator), -1);
10107
+ rb_define_method(cFXTranslator.klass, "getApp", VALUEFUNC(_wrap_FXTranslator_getApp), -1);
10108
+ rb_define_method(cFXTranslator.klass, "setTextCodec", VALUEFUNC(_wrap_FXTranslator_setTextCodec), -1);
10109
+ rb_define_method(cFXTranslator.klass, "getTextCodec", VALUEFUNC(_wrap_FXTranslator_getTextCodec), -1);
10110
+ rb_define_method(cFXTranslator.klass, "save", VALUEFUNC(_wrap_FXTranslator_save), -1);
10111
+ rb_define_method(cFXTranslator.klass, "load", VALUEFUNC(_wrap_FXTranslator_load), -1);
10112
+ rb_define_method(cFXTranslator.klass, "tr", VALUEFUNC(_wrap_FXTranslator_tr), -1);
10113
+ cFXTranslator.mark = 0;
10114
+ cFXTranslator.destroy = (void (*)(void *)) FXRbObject::freefunc;
10115
+
9637
10116
  cFXDict.klass = rb_define_class_under(mFox, "FXDict", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass);
9638
10117
  SWIG_TypeClientData(SWIGTYPE_p_FXDict, (void *) &cFXDict);
9639
10118
  rb_define_alloc_func(cFXDict.klass, _wrap_FXDict_allocate);
@@ -9690,6 +10169,8 @@ SWIGEXPORT(void) Init_core(void) {
9690
10169
  rb_define_singleton_method(cFXFileDict.klass, "defaultExecBinding", VALUEFUNC(_wrap_FXFileDict_defaultExecBinding), -1);
9691
10170
  rb_define_singleton_method(cFXFileDict.klass, "defaultDirBinding", VALUEFUNC(_wrap_FXFileDict_defaultDirBinding), -1);
9692
10171
  rb_define_singleton_method(cFXFileDict.klass, "defaultFileBinding", VALUEFUNC(_wrap_FXFileDict_defaultFileBinding), -1);
10172
+ rb_define_method(cFXFileDict.klass, "setSettings", VALUEFUNC(_wrap_FXFileDict_setSettings), -1);
10173
+ rb_define_method(cFXFileDict.klass, "getSettings", VALUEFUNC(_wrap_FXFileDict_getSettings), -1);
9693
10174
  rb_define_method(cFXFileDict.klass, "setIconDict", VALUEFUNC(_wrap_FXFileDict_setIconDict), -1);
9694
10175
  rb_define_method(cFXFileDict.klass, "getIconDict", VALUEFUNC(_wrap_FXFileDict_getIconDict), -1);
9695
10176
  rb_define_method(cFXFileDict.klass, "setIconPath", VALUEFUNC(_wrap_FXFileDict_setIconPath), -1);
@@ -9697,7 +10178,6 @@ SWIGEXPORT(void) Init_core(void) {
9697
10178
  rb_define_method(cFXFileDict.klass, "replace", VALUEFUNC(_wrap_FXFileDict_replace), -1);
9698
10179
  rb_define_method(cFXFileDict.klass, "remove", VALUEFUNC(_wrap_FXFileDict_remove), -1);
9699
10180
  rb_define_method(cFXFileDict.klass, "find", VALUEFUNC(_wrap_FXFileDict_find), -1);
9700
- rb_define_method(cFXFileDict.klass, "associate", VALUEFUNC(_wrap_FXFileDict_associate), -1);
9701
10181
  rb_define_method(cFXFileDict.klass, "save", VALUEFUNC(_wrap_FXFileDict_save), -1);
9702
10182
  rb_define_method(cFXFileDict.klass, "load", VALUEFUNC(_wrap_FXFileDict_load), -1);
9703
10183
  rb_define_method(cFXFileDict.klass, "findFileBinding", VALUEFUNC(_wrap_FXFileDict_findFileBinding), -1);
@@ -9748,11 +10228,13 @@ SWIGEXPORT(void) Init_core(void) {
9748
10228
  rb_define_method(cFXSettings.klass, "readUnsignedEntry", VALUEFUNC(_wrap_FXSettings_readUnsignedEntry), -1);
9749
10229
  rb_define_method(cFXSettings.klass, "readRealEntry", VALUEFUNC(_wrap_FXSettings_readRealEntry), -1);
9750
10230
  rb_define_method(cFXSettings.klass, "readColorEntry", VALUEFUNC(_wrap_FXSettings_readColorEntry), -1);
10231
+ rb_define_method(cFXSettings.klass, "readBoolEntry", VALUEFUNC(_wrap_FXSettings_readBoolEntry), -1);
9751
10232
  rb_define_method(cFXSettings.klass, "writeStringEntry", VALUEFUNC(_wrap_FXSettings_writeStringEntry), -1);
9752
10233
  rb_define_method(cFXSettings.klass, "writeIntEntry", VALUEFUNC(_wrap_FXSettings_writeIntEntry), -1);
9753
10234
  rb_define_method(cFXSettings.klass, "writeUnsignedEntry", VALUEFUNC(_wrap_FXSettings_writeUnsignedEntry), -1);
9754
10235
  rb_define_method(cFXSettings.klass, "writeRealEntry", VALUEFUNC(_wrap_FXSettings_writeRealEntry), -1);
9755
10236
  rb_define_method(cFXSettings.klass, "writeColorEntry", VALUEFUNC(_wrap_FXSettings_writeColorEntry), -1);
10237
+ rb_define_method(cFXSettings.klass, "writeBoolEntry", VALUEFUNC(_wrap_FXSettings_writeBoolEntry), -1);
9756
10238
  rb_define_method(cFXSettings.klass, "deleteEntry", VALUEFUNC(_wrap_FXSettings_deleteEntry), -1);
9757
10239
  rb_define_method(cFXSettings.klass, "existingEntry", VALUEFUNC(_wrap_FXSettings_existingEntry), -1);
9758
10240
  rb_define_method(cFXSettings.klass, "deleteSection", VALUEFUNC(_wrap_FXSettings_deleteSection), -1);
@@ -9823,6 +10305,8 @@ SWIGEXPORT(void) Init_core(void) {
9823
10305
  rb_define_const(cFXRecentFiles.klass,"ID_FILE_8", INT2NUM(FXRecentFiles::ID_FILE_8));
9824
10306
  rb_define_const(cFXRecentFiles.klass,"ID_FILE_9", INT2NUM(FXRecentFiles::ID_FILE_9));
9825
10307
  rb_define_const(cFXRecentFiles.klass,"ID_FILE_10", INT2NUM(FXRecentFiles::ID_FILE_10));
10308
+ rb_define_const(cFXRecentFiles.klass,"ID_LAST", INT2NUM(FXRecentFiles::ID_LAST));
10309
+ rb_define_method(cFXRecentFiles.klass, "app", VALUEFUNC(_wrap_FXRecentFiles_app), -1);
9826
10310
  rb_define_method(cFXRecentFiles.klass, "setMaxFiles", VALUEFUNC(_wrap_FXRecentFiles_setMaxFiles), -1);
9827
10311
  rb_define_method(cFXRecentFiles.klass, "getMaxFiles", VALUEFUNC(_wrap_FXRecentFiles_getMaxFiles), -1);
9828
10312
  rb_define_method(cFXRecentFiles.klass, "setGroupName", VALUEFUNC(_wrap_FXRecentFiles_setGroupName), -1);
@@ -9988,25 +10472,6 @@ SWIGEXPORT(void) Init_core(void) {
9988
10472
 
9989
10473
  SWIGTYPE_p_FXVisual->dcast = (swig_dycast_func) FXVisual_dynamic_cast;
9990
10474
 
9991
- rb_define_const(mFox,"FONTPITCH_DEFAULT", INT2NUM(FONTPITCH_DEFAULT));
9992
- rb_define_const(mFox,"FONTPITCH_FIXED", INT2NUM(FONTPITCH_FIXED));
9993
- rb_define_const(mFox,"FONTPITCH_VARIABLE", INT2NUM(FONTPITCH_VARIABLE));
9994
- rb_define_const(mFox,"FONTHINT_DONTCARE", INT2NUM(FONTHINT_DONTCARE));
9995
- rb_define_const(mFox,"FONTHINT_DECORATIVE", INT2NUM(FONTHINT_DECORATIVE));
9996
- rb_define_const(mFox,"FONTHINT_MODERN", INT2NUM(FONTHINT_MODERN));
9997
- rb_define_const(mFox,"FONTHINT_ROMAN", INT2NUM(FONTHINT_ROMAN));
9998
- rb_define_const(mFox,"FONTHINT_SCRIPT", INT2NUM(FONTHINT_SCRIPT));
9999
- rb_define_const(mFox,"FONTHINT_SWISS", INT2NUM(FONTHINT_SWISS));
10000
- rb_define_const(mFox,"FONTHINT_SYSTEM", INT2NUM(FONTHINT_SYSTEM));
10001
- rb_define_const(mFox,"FONTHINT_X11", INT2NUM(FONTHINT_X11));
10002
- rb_define_const(mFox,"FONTHINT_SCALABLE", INT2NUM(FONTHINT_SCALABLE));
10003
- rb_define_const(mFox,"FONTHINT_POLYMORPHIC", INT2NUM(FONTHINT_POLYMORPHIC));
10004
- rb_define_const(mFox,"FONTSLANT_DONTCARE", INT2NUM(FONTSLANT_DONTCARE));
10005
- rb_define_const(mFox,"FONTSLANT_REGULAR", INT2NUM(FONTSLANT_REGULAR));
10006
- rb_define_const(mFox,"FONTSLANT_ITALIC", INT2NUM(FONTSLANT_ITALIC));
10007
- rb_define_const(mFox,"FONTSLANT_OBLIQUE", INT2NUM(FONTSLANT_OBLIQUE));
10008
- rb_define_const(mFox,"FONTSLANT_REVERSE_ITALIC", INT2NUM(FONTSLANT_REVERSE_ITALIC));
10009
- rb_define_const(mFox,"FONTSLANT_REVERSE_OBLIQUE", INT2NUM(FONTSLANT_REVERSE_OBLIQUE));
10010
10475
  rb_define_const(mFox,"FONTENCODING_DEFAULT", INT2NUM(FONTENCODING_DEFAULT));
10011
10476
  rb_define_const(mFox,"FONTENCODING_ISO_8859_1", INT2NUM(FONTENCODING_ISO_8859_1));
10012
10477
  rb_define_const(mFox,"FONTENCODING_ISO_8859_2", INT2NUM(FONTENCODING_ISO_8859_2));
@@ -10053,6 +10518,7 @@ SWIGEXPORT(void) Init_core(void) {
10053
10518
  rb_define_const(mFox,"FONTENCODING_CP1257", INT2NUM(FONTENCODING_CP1257));
10054
10519
  rb_define_const(mFox,"FONTENCODING_CP1258", INT2NUM(FONTENCODING_CP1258));
10055
10520
  rb_define_const(mFox,"FONTENCODING_CP874", INT2NUM(FONTENCODING_CP874));
10521
+ rb_define_const(mFox,"FONTENCODING_UNICODE", INT2NUM(FONTENCODING_UNICODE));
10056
10522
  rb_define_const(mFox,"FONTENCODING_LATIN1", INT2NUM(FONTENCODING_LATIN1));
10057
10523
  rb_define_const(mFox,"FONTENCODING_LATIN2", INT2NUM(FONTENCODING_LATIN2));
10058
10524
  rb_define_const(mFox,"FONTENCODING_LATIN3", INT2NUM(FONTENCODING_LATIN3));
@@ -10078,33 +10544,6 @@ SWIGEXPORT(void) Init_core(void) {
10078
10544
  rb_define_const(mFox,"FONTENCODING_THAI", INT2NUM(FONTENCODING_THAI));
10079
10545
  rb_define_const(mFox,"FONTENCODING_BALTIC", INT2NUM(FONTENCODING_BALTIC));
10080
10546
  rb_define_const(mFox,"FONTENCODING_CELTIC", INT2NUM(FONTENCODING_CELTIC));
10081
- rb_define_const(mFox,"FONTWEIGHT_DONTCARE", INT2NUM(FONTWEIGHT_DONTCARE));
10082
- rb_define_const(mFox,"FONTWEIGHT_THIN", INT2NUM(FONTWEIGHT_THIN));
10083
- rb_define_const(mFox,"FONTWEIGHT_EXTRALIGHT", INT2NUM(FONTWEIGHT_EXTRALIGHT));
10084
- rb_define_const(mFox,"FONTWEIGHT_LIGHT", INT2NUM(FONTWEIGHT_LIGHT));
10085
- rb_define_const(mFox,"FONTWEIGHT_NORMAL", INT2NUM(FONTWEIGHT_NORMAL));
10086
- rb_define_const(mFox,"FONTWEIGHT_REGULAR", INT2NUM(FONTWEIGHT_REGULAR));
10087
- rb_define_const(mFox,"FONTWEIGHT_MEDIUM", INT2NUM(FONTWEIGHT_MEDIUM));
10088
- rb_define_const(mFox,"FONTWEIGHT_DEMIBOLD", INT2NUM(FONTWEIGHT_DEMIBOLD));
10089
- rb_define_const(mFox,"FONTWEIGHT_BOLD", INT2NUM(FONTWEIGHT_BOLD));
10090
- rb_define_const(mFox,"FONTWEIGHT_EXTRABOLD", INT2NUM(FONTWEIGHT_EXTRABOLD));
10091
- rb_define_const(mFox,"FONTWEIGHT_HEAVY", INT2NUM(FONTWEIGHT_HEAVY));
10092
- rb_define_const(mFox,"FONTWEIGHT_BLACK", INT2NUM(FONTWEIGHT_BLACK));
10093
- rb_define_const(mFox,"FONTSETWIDTH_DONTCARE", INT2NUM(FONTSETWIDTH_DONTCARE));
10094
- rb_define_const(mFox,"FONTSETWIDTH_ULTRACONDENSED", INT2NUM(FONTSETWIDTH_ULTRACONDENSED));
10095
- rb_define_const(mFox,"FONTSETWIDTH_EXTRACONDENSED", INT2NUM(FONTSETWIDTH_EXTRACONDENSED));
10096
- rb_define_const(mFox,"FONTSETWIDTH_CONDENSED", INT2NUM(FONTSETWIDTH_CONDENSED));
10097
- rb_define_const(mFox,"FONTSETWIDTH_NARROW", INT2NUM(FONTSETWIDTH_NARROW));
10098
- rb_define_const(mFox,"FONTSETWIDTH_COMPRESSED", INT2NUM(FONTSETWIDTH_COMPRESSED));
10099
- rb_define_const(mFox,"FONTSETWIDTH_SEMICONDENSED", INT2NUM(FONTSETWIDTH_SEMICONDENSED));
10100
- rb_define_const(mFox,"FONTSETWIDTH_MEDIUM", INT2NUM(FONTSETWIDTH_MEDIUM));
10101
- rb_define_const(mFox,"FONTSETWIDTH_NORMAL", INT2NUM(FONTSETWIDTH_NORMAL));
10102
- rb_define_const(mFox,"FONTSETWIDTH_REGULAR", INT2NUM(FONTSETWIDTH_REGULAR));
10103
- rb_define_const(mFox,"FONTSETWIDTH_SEMIEXPANDED", INT2NUM(FONTSETWIDTH_SEMIEXPANDED));
10104
- rb_define_const(mFox,"FONTSETWIDTH_EXPANDED", INT2NUM(FONTSETWIDTH_EXPANDED));
10105
- rb_define_const(mFox,"FONTSETWIDTH_WIDE", INT2NUM(FONTSETWIDTH_WIDE));
10106
- rb_define_const(mFox,"FONTSETWIDTH_EXTRAEXPANDED", INT2NUM(FONTSETWIDTH_EXTRAEXPANDED));
10107
- rb_define_const(mFox,"FONTSETWIDTH_ULTRAEXPANDED", INT2NUM(FONTSETWIDTH_ULTRAEXPANDED));
10108
10547
 
10109
10548
  cFXFontDesc.klass = rb_define_class_under(mFox, "FXFontDesc", rb_cObject);
10110
10549
  SWIG_TypeClientData(SWIGTYPE_p_FXFontDesc, (void *) &cFXFontDesc);
@@ -10131,6 +10570,43 @@ SWIGEXPORT(void) Init_core(void) {
10131
10570
  SWIG_TypeClientData(SWIGTYPE_p_FXFont, (void *) &cFXFont);
10132
10571
  rb_define_alloc_func(cFXFont.klass, _wrap_FXFont_allocate);
10133
10572
  rb_define_method(cFXFont.klass, "initialize", VALUEFUNC(_wrap_new_FXFont), -1);
10573
+ rb_define_const(cFXFont.klass,"Fixed", INT2NUM(FXFont::Fixed));
10574
+ rb_define_const(cFXFont.klass,"Variable", INT2NUM(FXFont::Variable));
10575
+ rb_define_const(cFXFont.klass,"Decorative", INT2NUM(FXFont::Decorative));
10576
+ rb_define_const(cFXFont.klass,"Modern", INT2NUM(FXFont::Modern));
10577
+ rb_define_const(cFXFont.klass,"Roman", INT2NUM(FXFont::Roman));
10578
+ rb_define_const(cFXFont.klass,"Script", INT2NUM(FXFont::Script));
10579
+ rb_define_const(cFXFont.klass,"Swiss", INT2NUM(FXFont::Swiss));
10580
+ rb_define_const(cFXFont.klass,"System", INT2NUM(FXFont::System));
10581
+ rb_define_const(cFXFont.klass,"X11", INT2NUM(FXFont::X11));
10582
+ rb_define_const(cFXFont.klass,"Scalable", INT2NUM(FXFont::Scalable));
10583
+ rb_define_const(cFXFont.klass,"Polymorphic", INT2NUM(FXFont::Polymorphic));
10584
+ rb_define_const(cFXFont.klass,"Rotatable", INT2NUM(FXFont::Rotatable));
10585
+ rb_define_const(cFXFont.klass,"ReverseOblique", INT2NUM(FXFont::ReverseOblique));
10586
+ rb_define_const(cFXFont.klass,"ReverseItalic", INT2NUM(FXFont::ReverseItalic));
10587
+ rb_define_const(cFXFont.klass,"Straight", INT2NUM(FXFont::Straight));
10588
+ rb_define_const(cFXFont.klass,"Italic", INT2NUM(FXFont::Italic));
10589
+ rb_define_const(cFXFont.klass,"Oblique", INT2NUM(FXFont::Oblique));
10590
+ rb_define_const(cFXFont.klass,"Thin", INT2NUM(FXFont::Thin));
10591
+ rb_define_const(cFXFont.klass,"ExtraLight", INT2NUM(FXFont::ExtraLight));
10592
+ rb_define_const(cFXFont.klass,"Light", INT2NUM(FXFont::Light));
10593
+ rb_define_const(cFXFont.klass,"Normal", INT2NUM(FXFont::Normal));
10594
+ rb_define_const(cFXFont.klass,"Medium", INT2NUM(FXFont::Medium));
10595
+ rb_define_const(cFXFont.klass,"DemiBold", INT2NUM(FXFont::DemiBold));
10596
+ rb_define_const(cFXFont.klass,"Bold", INT2NUM(FXFont::Bold));
10597
+ rb_define_const(cFXFont.klass,"ExtraBold", INT2NUM(FXFont::ExtraBold));
10598
+ rb_define_const(cFXFont.klass,"Black", INT2NUM(FXFont::Black));
10599
+ rb_define_const(cFXFont.klass,"UltraCondensed", INT2NUM(FXFont::UltraCondensed));
10600
+ rb_define_const(cFXFont.klass,"ExtraCondensed", INT2NUM(FXFont::ExtraCondensed));
10601
+ rb_define_const(cFXFont.klass,"Condensed", INT2NUM(FXFont::Condensed));
10602
+ rb_define_const(cFXFont.klass,"SemiCondensed", INT2NUM(FXFont::SemiCondensed));
10603
+ rb_define_const(cFXFont.klass,"NonExpanded", INT2NUM(FXFont::NonExpanded));
10604
+ rb_define_const(cFXFont.klass,"SemiExpanded", INT2NUM(FXFont::SemiExpanded));
10605
+ rb_define_const(cFXFont.klass,"Expanded", INT2NUM(FXFont::Expanded));
10606
+ rb_define_const(cFXFont.klass,"ExtraExpanded", INT2NUM(FXFont::ExtraExpanded));
10607
+ rb_define_const(cFXFont.klass,"UltraExpanded", INT2NUM(FXFont::UltraExpanded));
10608
+ rb_define_method(cFXFont.klass, "family", VALUEFUNC(_wrap_FXFont_family), -1);
10609
+ rb_define_method(cFXFont.klass, "foundry", VALUEFUNC(_wrap_FXFont_foundry), -1);
10134
10610
  rb_define_method(cFXFont.klass, "getName", VALUEFUNC(_wrap_FXFont_getName), -1);
10135
10611
  rb_define_method(cFXFont.klass, "getActualName", VALUEFUNC(_wrap_FXFont_getActualName), -1);
10136
10612
  rb_define_method(cFXFont.klass, "getSize", VALUEFUNC(_wrap_FXFont_getSize), -1);
@@ -10144,10 +10620,19 @@ SWIGEXPORT(void) Init_core(void) {
10144
10620
  rb_define_method(cFXFont.klass, "getSetWidth", VALUEFUNC(_wrap_FXFont_getSetWidth), -1);
10145
10621
  rb_define_method(cFXFont.klass, "getActualSetWidth", VALUEFUNC(_wrap_FXFont_getActualSetWidth), -1);
10146
10622
  rb_define_method(cFXFont.klass, "getHints", VALUEFUNC(_wrap_FXFont_getHints), -1);
10147
- rb_define_method(cFXFont.klass, "setFontDesc", VALUEFUNC(_wrap_FXFont_setFontDesc), -1);
10623
+ rb_define_method(cFXFont.klass, "flags", VALUEFUNC(_wrap_FXFont_flags), -1);
10148
10624
  rb_define_method(cFXFont.klass, "getFontDesc", VALUEFUNC(_wrap_FXFont_getFontDesc), -1);
10149
- rb_define_method(cFXFont.klass, "setFont", VALUEFUNC(_wrap_FXFont_setFont), -1);
10625
+ rb_define_method(cFXFont.klass, "angle", VALUEFUNC(_wrap_FXFont_angle), -1);
10150
10626
  rb_define_method(cFXFont.klass, "getFont", VALUEFUNC(_wrap_FXFont_getFont), -1);
10627
+ rb_define_singleton_method(cFXFont.klass, "listFonts", VALUEFUNC(_wrap_FXFont_listFonts), -1);
10628
+ rb_define_method(cFXFont.klass, "save", VALUEFUNC(_wrap_FXFont_save), -1);
10629
+ rb_define_method(cFXFont.klass, "load", VALUEFUNC(_wrap_FXFont_load), -1);
10630
+ rb_define_method(cFXFont.klass, "create", VALUEFUNC(_wrap_FXFont_create), -1);
10631
+ rb_define_method(cFXFont.klass, "detach", VALUEFUNC(_wrap_FXFont_detach), -1);
10632
+ rb_define_method(cFXFont.klass, "destroy", VALUEFUNC(_wrap_FXFont_destroy), -1);
10633
+ rb_define_method(cFXFont.klass, "setFontDesc", VALUEFUNC(_wrap_FXFont_setFontDesc), -1);
10634
+ rb_define_method(cFXFont.klass, "setAngle", VALUEFUNC(_wrap_FXFont_setAngle), -1);
10635
+ rb_define_method(cFXFont.klass, "setFont", VALUEFUNC(_wrap_FXFont_setFont), -1);
10151
10636
  rb_define_method(cFXFont.klass, "isFontMono", VALUEFUNC(_wrap_FXFont_isFontMono), -1);
10152
10637
  rb_define_method(cFXFont.klass, "hasChar", VALUEFUNC(_wrap_FXFont_hasChar), -1);
10153
10638
  rb_define_method(cFXFont.klass, "getMinChar", VALUEFUNC(_wrap_FXFont_getMinChar), -1);
@@ -10160,18 +10645,11 @@ SWIGEXPORT(void) Init_core(void) {
10160
10645
  rb_define_method(cFXFont.klass, "getFontDescent", VALUEFUNC(_wrap_FXFont_getFontDescent), -1);
10161
10646
  rb_define_method(cFXFont.klass, "getFontLeading", VALUEFUNC(_wrap_FXFont_getFontLeading), -1);
10162
10647
  rb_define_method(cFXFont.klass, "getFontSpacing", VALUEFUNC(_wrap_FXFont_getFontSpacing), -1);
10648
+ rb_define_method(cFXFont.klass, "getCharWidth", VALUEFUNC(_wrap_FXFont_getCharWidth), -1);
10163
10649
  rb_define_method(cFXFont.klass, "getTextWidth", VALUEFUNC(_wrap_FXFont_getTextWidth), -1);
10164
10650
  rb_define_method(cFXFont.klass, "getTextHeight", VALUEFUNC(_wrap_FXFont_getTextHeight), -1);
10165
- rb_define_singleton_method(cFXFont.klass, "listFonts", VALUEFUNC(_wrap_FXFont_listFonts), -1);
10166
- rb_define_method(cFXFont.klass, "save", VALUEFUNC(_wrap_FXFont_save), -1);
10167
- rb_define_method(cFXFont.klass, "load", VALUEFUNC(_wrap_FXFont_load), -1);
10168
- rb_define_method(cFXFont.klass, "create", VALUEFUNC(_wrap_FXFont_create), -1);
10169
- rb_define_method(cFXFont.klass, "detach", VALUEFUNC(_wrap_FXFont_detach), -1);
10170
- rb_define_method(cFXFont.klass, "destroy", VALUEFUNC(_wrap_FXFont_destroy), -1);
10171
10651
  cFXFont.mark = (void (*)(void *)) FXRbFont::markfunc;
10172
10652
  cFXFont.destroy = (void (*)(void *)) FXRbFont::freefunc;
10173
- rb_define_module_function(mFox, "fxparsefontdesc", VALUEFUNC(_wrap_fxparsefontdesc), -1);
10174
- rb_define_module_function(mFox, "fxunparsefontdesc", VALUEFUNC(_wrap_fxunparsefontdesc), -1);
10175
10653
  rb_define_const(mFox,"LAYOUT_NORMAL", INT2NUM(LAYOUT_NORMAL));
10176
10654
  rb_define_const(mFox,"LAYOUT_SIDE_TOP", INT2NUM(LAYOUT_SIDE_TOP));
10177
10655
  rb_define_const(mFox,"LAYOUT_SIDE_BOTTOM", INT2NUM(LAYOUT_SIDE_BOTTOM));
@@ -10214,10 +10692,16 @@ SWIGEXPORT(void) Init_core(void) {
10214
10692
  SWIG_TypeClientData(SWIGTYPE_p_FXWindow, (void *) &cFXWindow);
10215
10693
  rb_define_alloc_func(cFXWindow.klass, _wrap_FXWindow_allocate);
10216
10694
  rb_define_method(cFXWindow.klass, "initialize", VALUEFUNC(_wrap_new_FXWindow), -1);
10695
+ rb_define_singleton_method(cFXWindow.klass, "octetType", VALUEFUNC(FXWindow_octetType_get), 0);
10696
+ rb_define_singleton_method(cFXWindow.klass, "octetType=", VALUEFUNC(FXWindow_octetType_set), 1);
10217
10697
  rb_define_singleton_method(cFXWindow.klass, "deleteType", VALUEFUNC(FXWindow_deleteType_get), 0);
10218
10698
  rb_define_singleton_method(cFXWindow.klass, "deleteType=", VALUEFUNC(FXWindow_deleteType_set), 1);
10219
10699
  rb_define_singleton_method(cFXWindow.klass, "textType", VALUEFUNC(FXWindow_textType_get), 0);
10220
10700
  rb_define_singleton_method(cFXWindow.klass, "textType=", VALUEFUNC(FXWindow_textType_set), 1);
10701
+ rb_define_singleton_method(cFXWindow.klass, "utf8Type", VALUEFUNC(FXWindow_utf8Type_get), 0);
10702
+ rb_define_singleton_method(cFXWindow.klass, "utf8Type=", VALUEFUNC(FXWindow_utf8Type_set), 1);
10703
+ rb_define_singleton_method(cFXWindow.klass, "utf16Type", VALUEFUNC(FXWindow_utf16Type_get), 0);
10704
+ rb_define_singleton_method(cFXWindow.klass, "utf16Type=", VALUEFUNC(FXWindow_utf16Type_set), 1);
10221
10705
  rb_define_singleton_method(cFXWindow.klass, "colorType", VALUEFUNC(FXWindow_colorType_get), 0);
10222
10706
  rb_define_singleton_method(cFXWindow.klass, "colorType=", VALUEFUNC(FXWindow_colorType_set), 1);
10223
10707
  rb_define_singleton_method(cFXWindow.klass, "urilistType", VALUEFUNC(FXWindow_urilistType_get), 0);
@@ -10330,10 +10814,13 @@ SWIGEXPORT(void) Init_core(void) {
10330
10814
  rb_define_const(cFXWindow.klass,"ID_MDI_NEXT", INT2NUM(FXWindow::ID_MDI_NEXT));
10331
10815
  rb_define_const(cFXWindow.klass,"ID_MDI_PREV", INT2NUM(FXWindow::ID_MDI_PREV));
10332
10816
  rb_define_const(cFXWindow.klass,"ID_LAST", INT2NUM(FXWindow::ID_LAST));
10817
+ rb_define_singleton_method(cFXWindow.klass, "octetTypeName", VALUEFUNC(_wrap_FXWindow_octetTypeName), -1);
10333
10818
  rb_define_singleton_method(cFXWindow.klass, "deleteTypeName", VALUEFUNC(_wrap_FXWindow_deleteTypeName), -1);
10334
10819
  rb_define_singleton_method(cFXWindow.klass, "textTypeName", VALUEFUNC(_wrap_FXWindow_textTypeName), -1);
10335
10820
  rb_define_singleton_method(cFXWindow.klass, "colorTypeName", VALUEFUNC(_wrap_FXWindow_colorTypeName), -1);
10336
10821
  rb_define_singleton_method(cFXWindow.klass, "urilistTypeName", VALUEFUNC(_wrap_FXWindow_urilistTypeName), -1);
10822
+ rb_define_singleton_method(cFXWindow.klass, "utf8TypeName", VALUEFUNC(_wrap_FXWindow_utf8TypeName), -1);
10823
+ rb_define_singleton_method(cFXWindow.klass, "utf16TypeName", VALUEFUNC(_wrap_FXWindow_utf16TypeName), -1);
10337
10824
  rb_define_method(cFXWindow.klass, "getParent", VALUEFUNC(_wrap_FXWindow_getParent), -1);
10338
10825
  rb_define_method(cFXWindow.klass, "getOwner", VALUEFUNC(_wrap_FXWindow_getOwner), -1);
10339
10826
  rb_define_method(cFXWindow.klass, "getShell", VALUEFUNC(_wrap_FXWindow_getShell), -1);
@@ -10375,9 +10862,11 @@ SWIGEXPORT(void) Init_core(void) {
10375
10862
  rb_define_singleton_method(cFXWindow.klass, "commonAncestor", VALUEFUNC(_wrap_FXWindow_commonAncestor), -1);
10376
10863
  rb_define_singleton_method(cFXWindow.klass, "before?", VALUEFUNC(_wrap_FXWindow_beforeq___), -1);
10377
10864
  rb_define_singleton_method(cFXWindow.klass, "after?", VALUEFUNC(_wrap_FXWindow_afterq___), -1);
10378
- rb_define_singleton_method(cFXWindow.klass, "windowCount", VALUEFUNC(_wrap_FXWindow_windowCount), -1);
10379
10865
  rb_define_method(cFXWindow.klass, "before", VALUEFUNC(_wrap_FXWindow_before), -1);
10380
10866
  rb_define_method(cFXWindow.klass, "after", VALUEFUNC(_wrap_FXWindow_after), -1);
10867
+ rb_define_method(cFXWindow.klass, "composeContext", VALUEFUNC(_wrap_FXWindow_composeContext), -1);
10868
+ rb_define_method(cFXWindow.klass, "createComposeContext", VALUEFUNC(_wrap_FXWindow_createComposeContext), -1);
10869
+ rb_define_method(cFXWindow.klass, "destroyComposeContext", VALUEFUNC(_wrap_FXWindow_destroyComposeContext), -1);
10381
10870
  rb_define_method(cFXWindow.klass, "setDefaultCursor", VALUEFUNC(_wrap_FXWindow_setDefaultCursor), -1);
10382
10871
  rb_define_method(cFXWindow.klass, "getDefaultCursor", VALUEFUNC(_wrap_FXWindow_getDefaultCursor), -1);
10383
10872
  rb_define_method(cFXWindow.klass, "setDragCursor", VALUEFUNC(_wrap_FXWindow_setDragCursor), -1);
@@ -10402,6 +10891,7 @@ SWIGEXPORT(void) Init_core(void) {
10402
10891
  rb_define_method(cFXWindow.klass, "ungrabKeyboard", VALUEFUNC(_wrap_FXWindow_ungrabKeyboard), -1);
10403
10892
  rb_define_method(cFXWindow.klass, "grabbedKeyboard", VALUEFUNC(_wrap_FXWindow_grabbedKeyboard), -1);
10404
10893
  rb_define_method(cFXWindow.klass, "shown", VALUEFUNC(_wrap_FXWindow_shown), -1);
10894
+ rb_define_alias(cFXWindow.klass, "visible?", "shown");
10405
10895
  rb_define_method(cFXWindow.klass, "underCursor", VALUEFUNC(_wrap_FXWindow_underCursor), -1);
10406
10896
  rb_define_method(cFXWindow.klass, "hasSelection", VALUEFUNC(_wrap_FXWindow_hasSelection), -1);
10407
10897
  rb_define_method(cFXWindow.klass, "acquireSelection", VALUEFUNC(_wrap_FXWindow_acquireSelection), -1);
@@ -10409,8 +10899,6 @@ SWIGEXPORT(void) Init_core(void) {
10409
10899
  rb_define_method(cFXWindow.klass, "hasClipboard", VALUEFUNC(_wrap_FXWindow_hasClipboard), -1);
10410
10900
  rb_define_method(cFXWindow.klass, "acquireClipboard", VALUEFUNC(_wrap_FXWindow_acquireClipboard), -1);
10411
10901
  rb_define_method(cFXWindow.klass, "releaseClipboard", VALUEFUNC(_wrap_FXWindow_releaseClipboard), -1);
10412
- rb_define_method(cFXWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXWindow_dropEnable), -1);
10413
- rb_define_method(cFXWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXWindow_dropDisable), -1);
10414
10902
  rb_define_method(cFXWindow.klass, "isDropEnabled", VALUEFUNC(_wrap_FXWindow_isDropEnabled), -1);
10415
10903
  rb_define_method(cFXWindow.klass, "isDragging", VALUEFUNC(_wrap_FXWindow_isDragging), -1);
10416
10904
  rb_define_method(cFXWindow.klass, "beginDrag", VALUEFUNC(_wrap_FXWindow_beginDrag), -1);
@@ -10421,6 +10909,7 @@ SWIGEXPORT(void) Init_core(void) {
10421
10909
  rb_define_method(cFXWindow.klass, "clearDragRectangle", VALUEFUNC(_wrap_FXWindow_clearDragRectangle), -1);
10422
10910
  rb_define_method(cFXWindow.klass, "acceptDrop", VALUEFUNC(_wrap_FXWindow_acceptDrop), -1);
10423
10911
  rb_define_method(cFXWindow.klass, "didAccept", VALUEFUNC(_wrap_FXWindow_didAccept), -1);
10912
+ rb_define_method(cFXWindow.klass, "dropFinished", VALUEFUNC(_wrap_FXWindow_dropFinished), -1);
10424
10913
  rb_define_method(cFXWindow.klass, "inquireDNDTypes", VALUEFUNC(_wrap_FXWindow_inquireDNDTypes), -1);
10425
10914
  rb_define_method(cFXWindow.klass, "offeredDNDType", VALUEFUNC(_wrap_FXWindow_offeredDNDType), -1);
10426
10915
  rb_define_method(cFXWindow.klass, "inquireDNDAction", VALUEFUNC(_wrap_FXWindow_inquireDNDAction), -1);
@@ -10459,6 +10948,9 @@ SWIGEXPORT(void) Init_core(void) {
10459
10948
  rb_define_method(cFXWindow.klass, "contains", VALUEFUNC(_wrap_FXWindow_contains), -1);
10460
10949
  rb_define_method(cFXWindow.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXWindow_doesSaveUnder), -1);
10461
10950
  rb_define_method(cFXWindow.klass, "setBackColor", VALUEFUNC(_wrap_FXWindow_setBackColor), -1);
10951
+ rb_define_method(cFXWindow.klass, "tr", VALUEFUNC(_wrap_FXWindow_tr), -1);
10952
+ rb_define_method(cFXWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXWindow_dropEnable), -1);
10953
+ rb_define_method(cFXWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXWindow_dropDisable), -1);
10462
10954
  rb_define_method(cFXWindow.klass, "setShape", VALUEFUNC(_wrap_FXWindow_setShape), -1);
10463
10955
  rb_define_method(cFXWindow.klass, "clearShape", VALUEFUNC(_wrap_FXWindow_clearShape), -1);
10464
10956
  cFXWindow.mark = (void (*)(void *)) FXRbWindow::markfunc;
@@ -10531,6 +11023,9 @@ SWIGEXPORT(void) Init_core(void) {
10531
11023
  rb_define_method(cFXFrame.klass, "contains", VALUEFUNC(_wrap_FXFrame_contains), -1);
10532
11024
  rb_define_method(cFXFrame.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXFrame_doesSaveUnder), -1);
10533
11025
  rb_define_method(cFXFrame.klass, "setBackColor", VALUEFUNC(_wrap_FXFrame_setBackColor), -1);
11026
+ rb_define_method(cFXFrame.klass, "tr", VALUEFUNC(_wrap_FXFrame_tr), -1);
11027
+ rb_define_method(cFXFrame.klass, "dropEnable", VALUEFUNC(_wrap_FXFrame_dropEnable), -1);
11028
+ rb_define_method(cFXFrame.klass, "dropDisable", VALUEFUNC(_wrap_FXFrame_dropDisable), -1);
10534
11029
  rb_define_method(cFXFrame.klass, "setShape", VALUEFUNC(_wrap_FXFrame_setShape), -1);
10535
11030
  rb_define_method(cFXFrame.klass, "clearShape", VALUEFUNC(_wrap_FXFrame_clearShape), -1);
10536
11031
  cFXFrame.mark = (void (*)(void *)) FXRbFrame::markfunc;
@@ -10580,6 +11075,9 @@ SWIGEXPORT(void) Init_core(void) {
10580
11075
  rb_define_method(cFXComposite.klass, "contains", VALUEFUNC(_wrap_FXComposite_contains), -1);
10581
11076
  rb_define_method(cFXComposite.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXComposite_doesSaveUnder), -1);
10582
11077
  rb_define_method(cFXComposite.klass, "setBackColor", VALUEFUNC(_wrap_FXComposite_setBackColor), -1);
11078
+ rb_define_method(cFXComposite.klass, "tr", VALUEFUNC(_wrap_FXComposite_tr), -1);
11079
+ rb_define_method(cFXComposite.klass, "dropEnable", VALUEFUNC(_wrap_FXComposite_dropEnable), -1);
11080
+ rb_define_method(cFXComposite.klass, "dropDisable", VALUEFUNC(_wrap_FXComposite_dropDisable), -1);
10583
11081
  rb_define_method(cFXComposite.klass, "setShape", VALUEFUNC(_wrap_FXComposite_setShape), -1);
10584
11082
  rb_define_method(cFXComposite.klass, "clearShape", VALUEFUNC(_wrap_FXComposite_clearShape), -1);
10585
11083
  cFXComposite.mark = (void (*)(void *)) FXRbComposite::markfunc;
@@ -10622,6 +11120,9 @@ SWIGEXPORT(void) Init_core(void) {
10622
11120
  rb_define_method(cFXRootWindow.klass, "contains", VALUEFUNC(_wrap_FXRootWindow_contains), -1);
10623
11121
  rb_define_method(cFXRootWindow.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXRootWindow_doesSaveUnder), -1);
10624
11122
  rb_define_method(cFXRootWindow.klass, "setBackColor", VALUEFUNC(_wrap_FXRootWindow_setBackColor), -1);
11123
+ rb_define_method(cFXRootWindow.klass, "tr", VALUEFUNC(_wrap_FXRootWindow_tr), -1);
11124
+ rb_define_method(cFXRootWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXRootWindow_dropEnable), -1);
11125
+ rb_define_method(cFXRootWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXRootWindow_dropDisable), -1);
10625
11126
  rb_define_method(cFXRootWindow.klass, "setShape", VALUEFUNC(_wrap_FXRootWindow_setShape), -1);
10626
11127
  rb_define_method(cFXRootWindow.klass, "clearShape", VALUEFUNC(_wrap_FXRootWindow_clearShape), -1);
10627
11128
  cFXRootWindow.mark = (void (*)(void *)) FXRbRootWindow::markfunc;
@@ -10669,6 +11170,9 @@ SWIGEXPORT(void) Init_core(void) {
10669
11170
  rb_define_method(cFXShell.klass, "contains", VALUEFUNC(_wrap_FXShell_contains), -1);
10670
11171
  rb_define_method(cFXShell.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXShell_doesSaveUnder), -1);
10671
11172
  rb_define_method(cFXShell.klass, "setBackColor", VALUEFUNC(_wrap_FXShell_setBackColor), -1);
11173
+ rb_define_method(cFXShell.klass, "tr", VALUEFUNC(_wrap_FXShell_tr), -1);
11174
+ rb_define_method(cFXShell.klass, "dropEnable", VALUEFUNC(_wrap_FXShell_dropEnable), -1);
11175
+ rb_define_method(cFXShell.klass, "dropDisable", VALUEFUNC(_wrap_FXShell_dropDisable), -1);
10672
11176
  rb_define_method(cFXShell.klass, "setShape", VALUEFUNC(_wrap_FXShell_setShape), -1);
10673
11177
  rb_define_method(cFXShell.klass, "clearShape", VALUEFUNC(_wrap_FXShell_clearShape), -1);
10674
11178
  cFXShell.mark = (void (*)(void *)) FXRbShell::markfunc;
@@ -10752,6 +11256,9 @@ SWIGEXPORT(void) Init_core(void) {
10752
11256
  rb_define_method(cFXPopup.klass, "contains", VALUEFUNC(_wrap_FXPopup_contains), -1);
10753
11257
  rb_define_method(cFXPopup.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXPopup_doesSaveUnder), -1);
10754
11258
  rb_define_method(cFXPopup.klass, "setBackColor", VALUEFUNC(_wrap_FXPopup_setBackColor), -1);
11259
+ rb_define_method(cFXPopup.klass, "tr", VALUEFUNC(_wrap_FXPopup_tr), -1);
11260
+ rb_define_method(cFXPopup.klass, "dropEnable", VALUEFUNC(_wrap_FXPopup_dropEnable), -1);
11261
+ rb_define_method(cFXPopup.klass, "dropDisable", VALUEFUNC(_wrap_FXPopup_dropDisable), -1);
10755
11262
  rb_define_method(cFXPopup.klass, "setShape", VALUEFUNC(_wrap_FXPopup_setShape), -1);
10756
11263
  rb_define_method(cFXPopup.klass, "clearShape", VALUEFUNC(_wrap_FXPopup_clearShape), -1);
10757
11264
  rb_define_method(cFXPopup.klass, "popup", VALUEFUNC(_wrap_FXPopup_popup), -1);
@@ -10787,6 +11294,8 @@ SWIGEXPORT(void) Init_core(void) {
10787
11294
  rb_define_method(cFXTopWindow.klass, "onFocusDown", VALUEFUNC(_wrap_FXTopWindow_onFocusDown), -1);
10788
11295
  rb_define_method(cFXTopWindow.klass, "onFocusLeft", VALUEFUNC(_wrap_FXTopWindow_onFocusLeft), -1);
10789
11296
  rb_define_method(cFXTopWindow.klass, "onFocusRight", VALUEFUNC(_wrap_FXTopWindow_onFocusRight), -1);
11297
+ rb_define_method(cFXTopWindow.klass, "onSessionNotify", VALUEFUNC(_wrap_FXTopWindow_onSessionNotify), -1);
11298
+ rb_define_method(cFXTopWindow.klass, "onSessionClosed", VALUEFUNC(_wrap_FXTopWindow_onSessionClosed), -1);
10790
11299
  rb_define_method(cFXTopWindow.klass, "onCmdMaximize", VALUEFUNC(_wrap_FXTopWindow_onCmdMaximize), -1);
10791
11300
  rb_define_method(cFXTopWindow.klass, "onCmdMinimize", VALUEFUNC(_wrap_FXTopWindow_onCmdMinimize), -1);
10792
11301
  rb_define_method(cFXTopWindow.klass, "onCmdRestore", VALUEFUNC(_wrap_FXTopWindow_onCmdRestore), -1);
@@ -10856,6 +11365,9 @@ SWIGEXPORT(void) Init_core(void) {
10856
11365
  rb_define_method(cFXTopWindow.klass, "contains", VALUEFUNC(_wrap_FXTopWindow_contains), -1);
10857
11366
  rb_define_method(cFXTopWindow.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXTopWindow_doesSaveUnder), -1);
10858
11367
  rb_define_method(cFXTopWindow.klass, "setBackColor", VALUEFUNC(_wrap_FXTopWindow_setBackColor), -1);
11368
+ rb_define_method(cFXTopWindow.klass, "tr", VALUEFUNC(_wrap_FXTopWindow_tr), -1);
11369
+ rb_define_method(cFXTopWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXTopWindow_dropEnable), -1);
11370
+ rb_define_method(cFXTopWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXTopWindow_dropDisable), -1);
10859
11371
  rb_define_method(cFXTopWindow.klass, "setShape", VALUEFUNC(_wrap_FXTopWindow_setShape), -1);
10860
11372
  rb_define_method(cFXTopWindow.klass, "clearShape", VALUEFUNC(_wrap_FXTopWindow_clearShape), -1);
10861
11373
  rb_define_method(cFXTopWindow.klass, "show", VALUEFUNC(_wrap_FXTopWindow_show), -1);
@@ -10902,6 +11414,9 @@ SWIGEXPORT(void) Init_core(void) {
10902
11414
  rb_define_method(cFXMainWindow.klass, "contains", VALUEFUNC(_wrap_FXMainWindow_contains), -1);
10903
11415
  rb_define_method(cFXMainWindow.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMainWindow_doesSaveUnder), -1);
10904
11416
  rb_define_method(cFXMainWindow.klass, "setBackColor", VALUEFUNC(_wrap_FXMainWindow_setBackColor), -1);
11417
+ rb_define_method(cFXMainWindow.klass, "tr", VALUEFUNC(_wrap_FXMainWindow_tr), -1);
11418
+ rb_define_method(cFXMainWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXMainWindow_dropEnable), -1);
11419
+ rb_define_method(cFXMainWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXMainWindow_dropDisable), -1);
10905
11420
  rb_define_method(cFXMainWindow.klass, "setShape", VALUEFUNC(_wrap_FXMainWindow_setShape), -1);
10906
11421
  rb_define_method(cFXMainWindow.klass, "clearShape", VALUEFUNC(_wrap_FXMainWindow_clearShape), -1);
10907
11422
  rb_define_method(cFXMainWindow.klass, "show", VALUEFUNC(_wrap_FXMainWindow_show), -1);
@@ -10954,6 +11469,9 @@ SWIGEXPORT(void) Init_core(void) {
10954
11469
  rb_define_method(cFXSplashWindow.klass, "contains", VALUEFUNC(_wrap_FXSplashWindow_contains), -1);
10955
11470
  rb_define_method(cFXSplashWindow.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXSplashWindow_doesSaveUnder), -1);
10956
11471
  rb_define_method(cFXSplashWindow.klass, "setBackColor", VALUEFUNC(_wrap_FXSplashWindow_setBackColor), -1);
11472
+ rb_define_method(cFXSplashWindow.klass, "tr", VALUEFUNC(_wrap_FXSplashWindow_tr), -1);
11473
+ rb_define_method(cFXSplashWindow.klass, "dropEnable", VALUEFUNC(_wrap_FXSplashWindow_dropEnable), -1);
11474
+ rb_define_method(cFXSplashWindow.klass, "dropDisable", VALUEFUNC(_wrap_FXSplashWindow_dropDisable), -1);
10957
11475
  rb_define_method(cFXSplashWindow.klass, "setShape", VALUEFUNC(_wrap_FXSplashWindow_setShape), -1);
10958
11476
  rb_define_method(cFXSplashWindow.klass, "clearShape", VALUEFUNC(_wrap_FXSplashWindow_clearShape), -1);
10959
11477
  rb_define_method(cFXSplashWindow.klass, "show", VALUEFUNC(_wrap_FXSplashWindow_show), -1);