├── .gitignore ├── README.md ├── build-win32.js ├── config-win32.json ├── deps └── wx-config.exe ├── examples ├── helloWorld.js ├── refresh.ico ├── refresh.xpm ├── sample.ico ├── stop.ico ├── stop.xpm ├── taborder.js ├── webview.js ├── wxlogo.ico └── wxlogo.xpm ├── fsExplorer.js ├── index.js ├── lib ├── bindings.js └── index.js ├── mnm.js ├── package.json ├── render-templates.js ├── rungccxml.sh.patch ├── src-dummy ├── wxNode_Origin.h ├── wxNode_wxAcceleratorEntry.h ├── wxNode_wxAcceleratorTable.h ├── wxNode_wxActivateEvent.h ├── wxNode_wxArrayInt.h ├── wxNode_wxArrayString.h ├── wxNode_wxBackgroundStyle.h ├── wxNode_wxBitmapHandler.h ├── wxNode_wxBorder.h ├── wxNode_wxCaret.h ├── wxNode_wxClassInfo.h ├── wxNode_wxClientData.h ├── wxNode_wxCloseEvent.h ├── wxNode_wxColour.h ├── wxNode_wxDC.h ├── wxNode_wxDialogLayoutAdapter.h ├── wxNode_wxDropTarget.h ├── wxNode_wxFSFile.h ├── wxNode_wxFont.h ├── wxNode_wxGDIObject.h ├── wxNode_wxGraphicsPath.h ├── wxNode_wxHitTest.h ├── wxNode_wxIconBundle.h ├── wxNode_wxIconLocation.h ├── wxNode_wxIdleEvent.h ├── wxNode_wxImage.h ├── wxNode_wxImageHandler.h ├── wxNode_wxImageHistogram.h ├── wxNode_wxInputStream.h ├── wxNode_wxItemKind.h ├── wxNode_wxLayoutConstraints.h ├── wxNode_wxLayoutDirection.h ├── wxNode_wxList.h ├── wxNode_wxLogInterposer.h ├── wxNode_wxMask.h ├── wxNode_wxMenuEvent.h ├── wxNode_wxMenuItemList.h ├── wxNode_wxNavigationEnabled.h ├── wxNode_wxObject.h ├── wxNode_wxPalette.h ├── wxNode_wxRealPoint.h ├── wxNode_wxRect.h ├── wxNode_wxRegion.h ├── wxNode_wxScrollHelper.h ├── wxNode_wxShowEffect.h ├── wxNode_wxSizeEvent.h ├── wxNode_wxSizerItem.h ├── wxNode_wxSizerItemList.h ├── wxNode_wxStatusBar.h ├── wxNode_wxStdDialogButtonSizer.h ├── wxNode_wxTextAttr.h ├── wxNode_wxTextCompleter.h ├── wxNode_wxTextSizerWrapper.h ├── wxNode_wxToolBarTool.h ├── wxNode_wxToolTip.h ├── wxNode_wxUpdateUIEvent.h ├── wxNode_wxValidator.h ├── wxNode_wxVisualAttributes.h ├── wxNode_wxWindowList.h ├── wxNode_wxWindowVariant.h ├── wxNode_wxWindowWithItems.h └── wxNode_wxWindowWithItems_wxControl_wxItemContainer.h ├── src-generated ├── wxNode_wxAnyButton.cpp ├── wxNode_wxAnyButton.h ├── wxNode_wxArtProvider.cpp ├── wxNode_wxArtProvider.h ├── wxNode_wxBitmap.cpp ├── wxNode_wxBitmap.h ├── wxNode_wxBookCtrlBase.cpp ├── wxNode_wxBookCtrlBase.h ├── wxNode_wxBoxSizer.cpp ├── wxNode_wxBoxSizer.h ├── wxNode_wxButton.cpp ├── wxNode_wxButton.h ├── wxNode_wxCommandEvent.cpp ├── wxNode_wxCommandEvent.h ├── wxNode_wxControl.cpp ├── wxNode_wxControl.h ├── wxNode_wxControlWithItems.cpp ├── wxNode_wxControlWithItems.h ├── wxNode_wxCursor.cpp ├── wxNode_wxCursor.h ├── wxNode_wxDialog.cpp ├── wxNode_wxDialog.h ├── wxNode_wxEvent.cpp ├── wxNode_wxEvent.h ├── wxNode_wxFrame.cpp ├── wxNode_wxFrame.h ├── wxNode_wxIcon.cpp ├── wxNode_wxIcon.h ├── wxNode_wxInfoBar.cpp ├── wxNode_wxInfoBar.h ├── wxNode_wxItemContainer.cpp ├── wxNode_wxItemContainer.h ├── wxNode_wxItemContainerImmutable.cpp ├── wxNode_wxItemContainerImmutable.h ├── wxNode_wxKeyEvent.cpp ├── wxNode_wxKeyEvent.h ├── wxNode_wxListBox.cpp ├── wxNode_wxListBox.h ├── wxNode_wxLogWindow.cpp ├── wxNode_wxLogWindow.h ├── wxNode_wxMenu.cpp ├── wxNode_wxMenu.h ├── wxNode_wxMenuBar.cpp ├── wxNode_wxMenuBar.h ├── wxNode_wxMenuItem.cpp ├── wxNode_wxMenuItem.h ├── wxNode_wxNonOwnedWindow.cpp ├── wxNode_wxNonOwnedWindow.h ├── wxNode_wxNotebook.cpp ├── wxNode_wxNotebook.h ├── wxNode_wxNotifyEvent.cpp ├── wxNode_wxNotifyEvent.h ├── wxNode_wxPanel.cpp ├── wxNode_wxPanel.h ├── wxNode_wxPoint.cpp ├── wxNode_wxPoint.h ├── wxNode_wxSize.cpp ├── wxNode_wxSize.h ├── wxNode_wxSizer.cpp ├── wxNode_wxSizer.h ├── wxNode_wxSizerFlags.cpp ├── wxNode_wxSizerFlags.h ├── wxNode_wxStaticText.cpp ├── wxNode_wxStaticText.h ├── wxNode_wxTextCtrl.cpp ├── wxNode_wxTextCtrl.h ├── wxNode_wxTextEntry.cpp ├── wxNode_wxTextEntry.h ├── wxNode_wxTextEntryDialog.cpp ├── wxNode_wxTextEntryDialog.h ├── wxNode_wxTextValidator.cpp ├── wxNode_wxTextValidator.h ├── wxNode_wxToolBar.cpp ├── wxNode_wxToolBar.h ├── wxNode_wxToolBarBase.cpp ├── wxNode_wxToolBarBase.h ├── wxNode_wxToolBarToolBase.cpp ├── wxNode_wxToolBarToolBase.h ├── wxNode_wxTopLevelWindow.cpp ├── wxNode_wxTopLevelWindow.h ├── wxNode_wxWebView.cpp ├── wxNode_wxWebView.h ├── wxNode_wxWebViewArchiveHandler.cpp ├── wxNode_wxWebViewArchiveHandler.h ├── wxNode_wxWebViewEvent.cpp ├── wxNode_wxWebViewEvent.h ├── wxNode_wxWebViewHandler.cpp ├── wxNode_wxWebViewHandler.h ├── wxNode_wxWebViewHistoryItem.cpp ├── wxNode_wxWebViewHistoryItem.h ├── wxNode_wxWindow.cpp └── wxNode_wxWindow.h ├── src-templates ├── generic.cpp └── generic.h ├── src ├── app.cpp ├── app.h ├── globalFunctions.cpp ├── globalFunctions.h ├── messageBox.cpp ├── messageBox.h ├── wxLogStatus.cpp ├── wxLogStatus.h ├── wxNodeObject.cpp ├── wxNodeObject.h ├── wxNode_wxEvtHandler.cpp ├── wxNode_wxEvtHandler.h ├── wxNode_wxVector.h ├── wxNode_wxWindowWithItems_wxControl_wxItemContainer.cpp ├── wxnode.h └── wxnode_bindings.cpp ├── strvararg.h.patch └── wxapi.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /build/* 2 | node_modules 3 | *.node 4 | *.sh 5 | *.swp 6 | .lock* 7 | npm-debug.log 8 | .idea 9 | wxapi.json 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Feel free to use this module but, I am no longer supporting it in favor of [AppJs](https://github.com/appjs/appjs) 2 | 3 | # wxNode 4 | 5 | node.js wrapper for wxWidgets. 6 | 7 | ## Installation Linux 8 | 9 | * Download and install wxWidgets 2.9.3. 10 | 11 | ```bash 12 | $ npm install wxnode 13 | ``` 14 | 15 | ## Installation Windows 16 | 17 | * Download wxWidgets 2.9.3. 18 | * Download and install node from source (release, 64-bit) "vcbuild.bat release" 19 | 20 | ```bash 21 | cd d:\dev\wxWidgets-2.9.3\build\msw 22 | nmake -f makefile.vc BUILD=release UNICODE=1 RUNTIME_LIBS=static DEBUG_FLAG=0 23 | set WXWIN=d:\dev\wxWidgets-2.9.3 24 | set WXCFG=vc_lib\mswu 25 | cd d:\dev\wxNode 26 | node mnm.js build 27 | ``` 28 | 29 | ## Try an example 30 | 31 | ```javascript 32 | node examples/helloWorld.js 33 | node examples/... 34 | ``` 35 | 36 | ## Quick Examples 37 | 38 | ```javascript 39 | var wx = require("wxnode"); 40 | 41 | var MyApp = wx.App.extend({ 42 | onInit: function() { 43 | var location = new wx.Point(50, 50); 44 | var size = new wx.Size(450, 340); 45 | var frame = new MyFrame("Hello World", location, size); 46 | frame.show(true); 47 | this.setTopWindow(frame); 48 | return true; 49 | } 50 | }); 51 | 52 | var MyFrame = wx.Frame.extend({ 53 | init: function(title, pos, size) { 54 | this._super(null, -1, title, pos, size); 55 | 56 | this.EVT_CLOSE(this.onClose); 57 | }, 58 | 59 | onClose: function(event) { 60 | process.exit(); 61 | } 62 | }); 63 | 64 | var app = new MyApp(); 65 | app.run(); 66 | ``` 67 | 68 | ## Building wxWidgets linux 69 | ```bash 70 | $ sudo apt-get install libwebkitgtk-dev 71 | $ sudo ldconfig 72 | $ ./configure --enable-webview --enable-webview-webkit && make 73 | $ sudo make install 74 | ``` 75 | 76 | 77 | ## Creating wxapi.xml from wxWidgets 78 | 79 | ```bash 80 | $ sudo apt-get install libwebkitgtk-dev 81 | $ cd wxWidgets-2.9.3/docs/doxygen 82 | $ ./regen.sh xml 83 | $ cd ../.. 84 | $ ./configure --enable-webview --enable-webview-webkit 85 | $ patch -p0 -i ~/wxNode/rungccxml.sh.patch 86 | $ patch -p0 -i ~/wxNode/strvararg.h.patch 87 | $ cd utils/ifacecheck/ 88 | $ ./rungccxml.sh 89 | $ cp wxapi.xml ~/wxNode/wxapi.xml 90 | $ cd ~/wxNode 91 | $ rm wxapi.json 92 | $ rm -rf build 93 | $ ./render-templates.js && ./mnm.js build 94 | ``` 95 | -------------------------------------------------------------------------------- /build-win32.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var fs = require('fs'); 3 | var child_process = require('child_process'); 4 | 5 | var Builder = require('mnm'); 6 | 7 | var fsExplorer = require('./fsExplorer'); 8 | 9 | var Path = fsExplorer.Path; 10 | var File = fsExplorer.File; 11 | var Directory = fsExplorer.Directory; 12 | var exists = fsExplorer.existsSync; 13 | var resolve = fsExplorer.resolve; 14 | 15 | 16 | 17 | function wxBuilder(o){ 18 | o = Object.keys(o || {}).reduce(function(r,s){ r[s]=o[s]; return r; }, { 19 | wxBase: '/wxWidgets', 20 | wxConfig: resolve('config-'+process.platform+'.json'), 21 | useDll: false, 22 | verbose: false, 23 | name: 'wxnode', 24 | }); 25 | 26 | this.wxConfig = new Config(o.wxConfig); 27 | this.name = this.wxConfig.CFG = o.name; 28 | this.wxBase = new Directory(o.wxBase); 29 | this.wxLibDir = new Directory(o.wxBase+'/lib/vc_'+(o.useDll ? 'dll' : 'lib')+o.name); 30 | this.wxBuildDir = new Directory(o.wxBase+'/build/msw'); 31 | this.wxIncludeDir = new Directory(o.wxBase+'/include'); 32 | this.srcDir = new Directory(__dirname+'/src'); 33 | this.buildDir = new Directory(__dirname+'/build'); 34 | } 35 | 36 | wxBuilder.msLibs = [ 'kernel32', 'user32', 'gdi32', 'comdlg32', 37 | 'comctl32', 'advapi32', 'shell32', 'ole32', 38 | 'oleaut32', 'rpcrt4', 'winspool', 'winmm' ]; 39 | 40 | wxBuilder.prototype = { 41 | build: function build(callback){ 42 | var self = this; 43 | if (!this.wxLibDir.exists()) { 44 | this.buildWX(function(e){ 45 | self.buildBindings(callback); 46 | }); 47 | } else { 48 | self.buildBindings(callback); 49 | } 50 | }, 51 | 52 | buildWX: function buildWX(callback){ 53 | if (!this.vcVars()) throw new Error('Unable to find Visual C++'); 54 | callback = callback || function(){}; 55 | 56 | var configname = 'config_'+this.name; 57 | var config = this.wxConfig.save(this.wxBuildDir.resolve(configname)); 58 | var makefile = this.wxBuildDir.resolve('makefile.vc').copy(this.wxBuildDir.resolve('makefile_'+this.name), function(s){ 59 | return s.replace('config.vc', configname); 60 | }); 61 | this.wxIncludeDir.resolve('wx/msw/setup0.h').copy(this.wxIncludeDir.resolve('wx/msw/setup.h')); 62 | 63 | child_process.spawn('nmake', [ makefile.path ], { 64 | cwd: this.wxBuildDir.path, 65 | env: process.env, 66 | customFds: [0,1,2] 67 | }).on('exit', function(code) { 68 | config.delete(); 69 | makefile.delete(); 70 | callback(code); 71 | }); 72 | }, 73 | 74 | buildBindings: function buildBindings(callback){ 75 | if (!this.vcVars()) throw new Error('Unable to find Visual C++'); 76 | callback = callback || function(){}; 77 | var builder = new Builder; 78 | 79 | builder.target = this.name+'_bindings'; 80 | builder.verbose = this.verbose; 81 | 82 | builder.appendUnique('CXXFLAGS', ['-DUNICODE', '-DNDEBUG']); 83 | 84 | if (this.dll) 85 | builder.appendUnique('CXXFLAGS', '-DWXUSINGDLL'); 86 | 87 | builder.appendLinkerSearchDir(this.wxLibDir.path); 88 | 89 | builder.appendLinkerLibrary(this.wxLibDir.filter('.lib')); 90 | builder.appendLinkerLibrary(wxBuilder.msLibs); 91 | 92 | builder.appendIncludeDir([ 93 | this.srcDir+'', 94 | this.srcDir+'-dummy', 95 | this.srcDir+'-generated', 96 | this.wxIncludeDir 97 | ]); 98 | 99 | builder.appendSourceDir([ 100 | this.srcDir+'', 101 | this.srcDir+'-generated' 102 | ]); 103 | 104 | builder.compileAndLink(callback); 105 | }, 106 | 107 | vcVars: function vcVars(){ 108 | var vcpath = [10,9,8].reduce(function(r,s){ 109 | return r ? r : (s = 'VS'+s+'0COMNTOOLS') in process.env ? process.env[s] : r; 110 | }, null); 111 | var vars; 112 | if (!vcpath || !exists(vcpath = resolve(vcpath, '../../vc/vcvarsall.bat'))) { 113 | vars = null; 114 | } else { 115 | vars = execSync('"'+vcpath+'" & set').trim().split('\r\n').reduce(function(r,s){ 116 | var name = s.slice(0, s.indexOf('=')); 117 | s = s.slice(name.length+1); 118 | if (process.env[name] !== s) { 119 | process.env[name] = r[name] = s; 120 | } 121 | return r; 122 | }, {}); 123 | } 124 | this.vcVars = function(){ return vars }; 125 | return vars; 126 | }, 127 | } 128 | 129 | 130 | 131 | function Config(o){ 132 | if (Path.isPath(o)) o = o.path; 133 | if (typeof o === 'string' && path.extname(o) === '.json' && exists(o)) { 134 | o = require(o); 135 | } 136 | if (o && typeof o === 'object') { 137 | Object.keys(o).forEach(function(s){ this[s] = o[s] }, this); 138 | } 139 | } 140 | 141 | Config.prototype = { 142 | constructor: Config, 143 | parse: function parse(s){ 144 | return s.split('\r\n').reduce(function(r,s){ 145 | if (s && (s=s.trim())[0] !== '#' && ~s.indexOf('=')) { 146 | s = s.split('='); 147 | r[s[0].toLowerCase().trim()] = s[1].trim(); 148 | } 149 | return r; 150 | }, this); 151 | }, 152 | serialize: function serialize(){ 153 | return Object.keys(this).map(function(s){ 154 | return s+' = '+this[s] 155 | }, this).join('\r\n')+'\r\n'; 156 | }, 157 | save: function save(path){ 158 | return new File(path).write(this.serialize()); 159 | }, 160 | load: function load(path){ 161 | return this.parse(new File(path).read()); 162 | } 163 | } 164 | 165 | 166 | function execSync(params){ 167 | var f = Math.random().toString(36).slice(2)+'.temp'; 168 | child_process.exec(params+' 1>'+f+' 2>&1 & ren '+f+' _'+f); 169 | f = new File('_'+f); 170 | while (!exists(f.path)); 171 | var output = f.read(); 172 | f.delete(); 173 | return output; 174 | } 175 | 176 | 177 | var builder = new wxBuilder; 178 | console.log(builder.build()); 179 | //builder.build(); -------------------------------------------------------------------------------- /config-win32.json: -------------------------------------------------------------------------------- 1 | {"CC":"cl","CXX":"cl","CFLAGS":"","CXXFLAGS":"","CPPFLAGS":"","LDFLAGS":"","CPP":"$(CC) /EP /nologo","SHARED":0,"WXUNIV":0,"UNICODE":1,"MSLU":0,"BUILD":"release","TARGET_CPU":"X86","DEBUG_INFO":1,"DEBUG_FLAG":1,"DEBUG_RUNTIME_LIBS":0,"MONOLITHIC":1,"USE_GUI":1,"USE_HTML":1,"USE_WEBVIEW":1,"USE_MEDIA":1,"USE_XRC":1,"USE_AUI":1,"USE_RIBBON":1,"USE_PROPGRID":1,"USE_RICHTEXT":1,"USE_STC":1,"USE_OPENGL":1,"USE_QA":1,"USE_EXCEPTIONS":1,"USE_RTTI":1,"USE_THREADS":1,"USE_CAIRO":0,"OFFICIAL_BUILD":0,"VENDOR":"","WX_FLAVOUR":"","WX_LIB_FLAVOUR":"","CFG":"wxnode","CPPUNIT_CFLAGS":"","CPPUNIT_LIBS":"","RUNTIME_LIBS":"static"} -------------------------------------------------------------------------------- /deps/wx-config.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/deps/wx-config.exe -------------------------------------------------------------------------------- /examples/helloWorld.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var wx = require("../"); 4 | 5 | var ID_Quit = 1; 6 | var ID_About = 2; 7 | 8 | var MyApp = wx.App.extend({ 9 | onInit: function() { 10 | var location = new wx.Point(50, 50); 11 | var size = new wx.Size(450, 340); 12 | var frame = new MyFrame("Hello World", location, size); 13 | frame.show(true); 14 | this.setTopWindow(frame); 15 | return true; 16 | } 17 | }); 18 | 19 | var MyFrame = wx.Frame.extend({ 20 | init: function(title, pos, size) { 21 | this._super(null, -1, title, pos, size); 22 | 23 | var menuFile = new wx.Menu(); 24 | menuFile.append(ID_About, "&About"); 25 | menuFile.appendSeparator(); 26 | menuFile.append(ID_Quit, "E&xit"); 27 | 28 | var menuBar = new wx.MenuBar(); 29 | menuBar.append(menuFile, "&File"); 30 | 31 | this.setMenuBar(menuBar); 32 | 33 | this.createStatusBar(); 34 | this.setStatusText("Welcome to wxNode!"); 35 | 36 | this.EVT_MENU(ID_About, this.onAbout); 37 | this.EVT_MENU(ID_Quit, this.onQuit); 38 | 39 | this.EVT_CLOSE(this.onClose); 40 | }, 41 | 42 | onClose: function(event) { 43 | process.exit(); 44 | }, 45 | 46 | onQuit: function(event) { 47 | this.close(true); 48 | }, 49 | 50 | onAbout: function(event) { 51 | wx.MessageBox("This is a wxNode Hello world sample", "About Hello World", wx.OK | wx.ICON_INFORMATION, this); 52 | } 53 | }); 54 | 55 | setInterval(function() { console.log("timer"); }, 5000); 56 | 57 | var app = new MyApp(); 58 | app.run(); 59 | -------------------------------------------------------------------------------- /examples/refresh.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/examples/refresh.ico -------------------------------------------------------------------------------- /examples/refresh.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static const char * refresh_xpm[] = { 3 | "24 24 207 2", 4 | " c None", 5 | ". c #3162A2", 6 | "+ c #507BB3", 7 | "@ c #6A90C0", 8 | "# c #7296C4", 9 | "$ c #7397C4", 10 | "% c #7094C2", 11 | "& c #648BBD", 12 | "* c #507CB3", 13 | "= c #3061A2", 14 | "- c #8EACD1", 15 | "; c #B3CBE4", 16 | "> c #B7CEE6", 17 | ", c #B8CEE6", 18 | "' c #B5CDE5", 19 | ") c #B4CBE5", 20 | "! c #B0C9E3", 21 | "~ c #AEC6E1", 22 | "{ c #9FBBDB", 23 | "] c #648DBE", 24 | "^ c #2F60A2", 25 | "/ c #3262A4", 26 | "( c #3364A3", 27 | "_ c #3C6BA8", 28 | ": c #A7C0DD", 29 | "< c #C1D6EA", 30 | "[ c #BAD0E7", 31 | "} c #B6CDE5", 32 | "| c #B6CCE6", 33 | "1 c #B5CDE6", 34 | "2 c #B3CBE5", 35 | "3 c #AFC8E3", 36 | "4 c #AAC5E2", 37 | "5 c #ABC6E2", 38 | "6 c #A0BCDB", 39 | "7 c #4975AF", 40 | "8 c #3666A5", 41 | "9 c #89ACD3", 42 | "0 c #2C5EA0", 43 | "a c #82A3CB", 44 | "b c #B5CCE4", 45 | "c c #7095C3", 46 | "d c #658CBC", 47 | "e c #678EBE", 48 | "f c #7196C2", 49 | "g c #84A4CC", 50 | "h c #A9C3E0", 51 | "i c #B8CFE7", 52 | "j c #ACC6E3", 53 | "k c #A0BEDE", 54 | "l c #9CBCDD", 55 | "m c #9EBDDE", 56 | "n c #6C93C1", 57 | "o c #7B9FCA", 58 | "p c #ABC7E3", 59 | "q c #2B5DA0", 60 | "r c #4976AE", 61 | "s c #8EADD0", 62 | "t c #4975AE", 63 | "u c #3667A6", 64 | "v c #3666A6", 65 | "w c #4170AB", 66 | "x c #5B83B6", 67 | "y c #9BB9DA", 68 | "z c #97B9DC", 69 | "A c #7EA7D3", 70 | "B c #7CA5D2", 71 | "C c #88AED6", 72 | "D c #8AAFD6", 73 | "E c #A4C1E0", 74 | "F c #406DAB", 75 | "G c #4F7BB2", 76 | "H c #4A77B3", 77 | "I c #4C79B4", 78 | "J c #2E5EA2", 79 | "K c #6F95C3", 80 | "L c #95B6D9", 81 | "M c #7FA8D3", 82 | "N c #76A1D0", 83 | "O c #709DCE", 84 | "P c #2B5DA1", 85 | "Q c #3667A5", 86 | "R c #4D7AB4", 87 | "S c #648DC3", 88 | "T c #4A78B3", 89 | "U c #3262A2", 90 | "V c #2C5FA0", 91 | "W c #6B91C0", 92 | "X c #97B8DB", 93 | "Y c #74A0CF", 94 | "Z c #709ECE", 95 | "` c #ACC7E3", 96 | " . c #2D5EA0", 97 | ".. c #3767A6", 98 | "+. c #5985BD", 99 | "@. c #78A3D0", 100 | "#. c #6C9BCC", 101 | "$. c #AEC9E5", 102 | "%. c #3263A3", 103 | "&. c #3768A7", 104 | "*. c #9BB8DA", 105 | "=. c #9CB9DA", 106 | "-. c #9CBADA", 107 | ";. c #9FBBDC", 108 | ">. c #A8C1DF", 109 | ",. c #2D5FA0", 110 | "'. c #22569B", 111 | "). c #23579C", 112 | "!. c #21569A", 113 | "~. c #21559B", 114 | "{. c #275A9E", 115 | "]. c #3364A4", 116 | "^. c #24589C", 117 | "/. c #24579C", 118 | "(. c #416FAB", 119 | "_. c #C0D3E8", 120 | ":. c #B8CCE4", 121 | "<. c #B5CBE3", 122 | "[. c #AFC7E1", 123 | "}. c #B0C8E2", 124 | "|. c #88A9CF", 125 | "1. c #4471AC", 126 | "2. c #B9D1E8", 127 | "3. c #94B6DA", 128 | "4. c #95B7DB", 129 | "5. c #A3C1DF", 130 | "6. c #A4BEDC", 131 | "7. c #2D60A0", 132 | "8. c #BBD1E9", 133 | "9. c #BCD1E8", 134 | "0. c #416EA9", 135 | "a. c #3868A7", 136 | "b. c #BAD1E9", 137 | "c. c #96B7DB", 138 | "d. c #98B9DC", 139 | "e. c #A2C0DF", 140 | "f. c #AAC4DF", 141 | "g. c #5F88BA", 142 | "h. c #80A8D7", 143 | "i. c #CDDCEC", 144 | "j. c #7A9FC8", 145 | "k. c #4273B1", 146 | "l. c #3465A4", 147 | "m. c #4371AC", 148 | "n. c #B9D1E9", 149 | "o. c #B4CCE5", 150 | "p. c #9DBCDD", 151 | "q. c #8EB2D8", 152 | "r. c #91B3D9", 153 | "s. c #719AC8", 154 | "t. c #4171AC", 155 | "u. c #3A6AA8", 156 | "v. c #3A75BD", 157 | "w. c #9CBBDB", 158 | "x. c #608BC1", 159 | "y. c #3A6EAD", 160 | "z. c #4C80BB", 161 | "A. c #3365A4", 162 | "B. c #C6DAED", 163 | "C. c #6F94C1", 164 | "D. c #8CABD1", 165 | "E. c #9BBBDD", 166 | "F. c #6C9ACD", 167 | "G. c #6596CA", 168 | "H. c #709DCF", 169 | "I. c #7AA4D2", 170 | "J. c #6A96C8", 171 | "K. c #5885BB", 172 | "L. c #4F7EB7", 173 | "M. c #497AB6", 174 | "N. c #487AB6", 175 | "O. c #4275B5", 176 | "P. c #4C7FBB", 177 | "Q. c #578BC6", 178 | "R. c #396CAA", 179 | "S. c #789CC6", 180 | "T. c #5681B6", 181 | "U. c #8AAFD7", 182 | "V. c #77A2D1", 183 | "W. c #6496CA", 184 | "X. c #6294C9", 185 | "Y. c #6395CA", 186 | "Z. c #5F92C9", 187 | "`. c #5C8FC7", 188 | " + c #598DC6", 189 | ".+ c #588DC7", 190 | "++ c #4175B2", 191 | "@+ c #31619F", 192 | "#+ c #6089BB", 193 | "$+ c #77A0CE", 194 | "%+ c #6E9CCD", 195 | "&+ c #6696CA", 196 | "*+ c #6193C9", 197 | "=+ c #5F91C8", 198 | "-+ c #5C90C7", 199 | ";+ c #5A8EC6", 200 | ">+ c #558AC3", 201 | ",+ c #4072AF", 202 | "'+ c #27528A", 203 | ")+ c #2A5285", 204 | "!+ c #3C6599", 205 | "~+ c #4B77B0", 206 | "{+ c #4E7DB6", 207 | "]+ c #4C7CB7", 208 | "^+ c #4877B2", 209 | "/+ c #3B69A2", 210 | "(+ c #3361A0", 211 | " ", 212 | " . + @ # $ % & * ", 213 | " = - ; > , ' ) ! ~ { ] ^ / ( ", 214 | " _ : < [ } | 1 2 3 4 5 > 6 7 8 9 0 ", 215 | " a b a c d e f g h i j k l m n o p q ", 216 | " r s t u v w x y z A B C D E q ", 217 | " F G H I J K L M N O 4 P ", 218 | " Q R S T U V W X Y Z ` . ", 219 | " ..+. t L @.Z #.$.0 ", 220 | " %. &.{ *.=.-.;.>.,. ", 221 | " '.).!.~.~.{.]. %.^./.^./.).'. ", 222 | " (._.:.<.[.}.|.V ]. ", 223 | " 1.2.3.4.5.6.7. %. ", 224 | " 1.8.X l 9.0. a.( ", 225 | " 1.b.c.d.e.f.g. h.i.j.k.l. ", 226 | " m.n.o.p.3.q.r.s.t.u. v.w.x.y.z.A. ", 227 | " m.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R. ", 228 | " (.S. T.U.V.W.X.Y.Y.X.Z.`. +.+++ ", 229 | " ]. @+#+$+%+&+*+=+-+;+>+,+ ", 230 | " '+)+!+~+{+]+^+/+(+ ", 231 | " ", 232 | " ", 233 | " ", 234 | " "}; 235 | -------------------------------------------------------------------------------- /examples/sample.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/examples/sample.ico -------------------------------------------------------------------------------- /examples/stop.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/examples/stop.ico -------------------------------------------------------------------------------- /examples/wxlogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/examples/wxlogo.ico -------------------------------------------------------------------------------- /examples/wxlogo.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static const char * wxlogo_xpm[] = { 3 | "24 24 57 1", 4 | " c None", 5 | ". c #000006", 6 | "+ c #00003F", 7 | "@ c #00003C", 8 | "# c #000034", 9 | "$ c #000000", 10 | "% c #00000E", 11 | "& c #000085", 12 | "* c #000079", 13 | "= c #000081", 14 | "- c #000070", 15 | "; c #00000D", 16 | "> c #8686CB", 17 | ", c #FFFFFF", 18 | "' c #000078", 19 | ") c #000080", 20 | "! c #00006F", 21 | "~ c #7F7FC7", 22 | "{ c #00007F", 23 | "] c #000083", 24 | "^ c #000088", 25 | "/ c #000076", 26 | "( c #000047", 27 | "_ c #000040", 28 | ": c #EDED00", 29 | "< c #FFFF00", 30 | "[ c #202000", 31 | "} c #0E0000", 32 | "| c #7F0000", 33 | "1 c #770000", 34 | "2 c #7E0000", 35 | "3 c #E0E000", 36 | "4 c #FFFF88", 37 | "5 c #FFFF3F", 38 | "6 c #1E1E00", 39 | "7 c #1F0000", 40 | "8 c #FF0000", 41 | "9 c #FFFF80", 42 | "0 c #1E0000", 43 | "a c #FF8686", 44 | "b c #00000F", 45 | "c c #000082", 46 | "d c #FFFF7F", 47 | "e c #FF7F7F", 48 | "f c #000007", 49 | "g c #000044", 50 | "h c #00003E", 51 | "i c #00001F", 52 | "j c #DE0000", 53 | "k c #E00000", 54 | "l c #C30000", 55 | "m c #DEDE00", 56 | "n c #DD0000", 57 | "o c #DDDD00", 58 | "p c #EAEA00", 59 | "q c #780000", 60 | "r c #680000", 61 | " ", 62 | " ", 63 | " ", 64 | " ", 65 | " .+@@@@@@@#$ ", 66 | " %&*======-$ ", 67 | " ;>,')))))!$ ", 68 | " ;~,')){]^/ ", 69 | " ;~,'))=(%;$$$$$$$$", 70 | " ;~,'))=_:<<<<<<<<[", 71 | "}|1112;~,'))=_345<<<<<<6", 72 | "788888;>,'))=_3,9<<<<<<6", 73 | "0a,888b&*===c_3,d<<<<<<6", 74 | "0e,888fg__h@@i3,d<<<<<<6", 75 | "0e,888jkkl$ $m,d<<<<<<6", 76 | "0e,888888n$ $o,9<<<<<<6", 77 | "0e,888888n$ $o45<<<<<<6", 78 | "0a,888888n$ $p<<<<<<<<[", 79 | "788888888k$ $$$$$$$$$$", 80 | "}|qqqqqqqr$ ", 81 | " ", 82 | " ", 83 | " ", 84 | " "}; 85 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require("./lib"); 3 | -------------------------------------------------------------------------------- /lib/bindings.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | global.__superWrapMethod = function(origMethod, superMethod) { 4 | return function() { 5 | var tmp = this._super; 6 | this._super = superMethod; 7 | var ret = origMethod.apply(this, arguments); 8 | this._super = tmp; 9 | 10 | return ret; 11 | }; 12 | }; 13 | 14 | module.exports = require("../build/Release/wxnode_bindings"); 15 | -------------------------------------------------------------------------------- /mnm.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var fs = require('fs'); 4 | var path = require('path'); 5 | var childProcess = require('child_process'); 6 | var Builder = require('mnm'); 7 | var builder = new Builder(); 8 | var RenderTemplates = require('./render-templates.js'); 9 | 10 | var existsSync = fs.existsSync || path.existsSync; 11 | 12 | builder.appendIncludeDir('src/'); 13 | builder.appendIncludeDir('src-dummy/'); 14 | 15 | var wxConfigAdditionalCxxParams = []; 16 | var wxConfigAdditionalLibsParams = []; 17 | 18 | function build (wxCxxFlags, wxLibs) { 19 | builder.appendUnique('CXXFLAGS', wxCxxFlags); 20 | builder.appendUnique('LINKFLAGS', wxLibs); 21 | 22 | builder.target = "wxnode_bindings"; 23 | builder.appendSourceDir('./src'); 24 | builder.appendIncludeDir('src/'); 25 | builder.appendSourceDir('./src-generated'); 26 | builder.appendIncludeDir('src-generated/'); 27 | 28 | builder.run(); 29 | } 30 | 31 | var renderTemplates = true; 32 | for (var i = 0; i < process.argv.length; i++) { 33 | if (process.argv[i] == '--skip-render-templates') { 34 | renderTemplates = false; 35 | } 36 | } 37 | 38 | // get the wx command line flags 39 | var wxConfigPath = 'wx-config'; 40 | if (process.platform === 'win32') { 41 | var wxHome = process.env['WXWIN']; 42 | if (!wxHome) { 43 | builder.fail("Could not find wxWidgets home. Set the WXWIN environment variable."); 44 | } 45 | if (!existsSync(wxHome)) { 46 | builder.fail("Could not find wxWidgets home. WXWIN is pointing to an invalid directory. " + wxHome); 47 | } 48 | wxConfigPath = './deps/wx-config.exe'; 49 | 50 | builder.appendUnique('CXXFLAGS', '-DUNICODE'); 51 | builder.appendUnique('LINKFLAGS', 'wxmsw29u_webview.lib'); 52 | 53 | wxConfigAdditionalLibsParams.push('webview,xrc,qa,html,adv,core,xml,net,base'); 54 | } 55 | 56 | runCommandLine(wxConfigPath, ['--cxxflags'].concat(wxConfigAdditionalCxxParams), function (err, wxCxxFlags) { 57 | if (err) { 58 | builder.fail(err); 59 | return; 60 | } 61 | runCommandLine(wxConfigPath, ['--libs'].concat(wxConfigAdditionalLibsParams), function (err, wxLibs) { 62 | if (err) { 63 | builder.fail(err); 64 | return; 65 | } 66 | if (renderTemplates) { 67 | RenderTemplates.renderTemplates(function (err) { 68 | if (err) { 69 | builder.fail(err); 70 | return; 71 | } 72 | build(wxCxxFlags, wxLibs); 73 | }); 74 | } else { 75 | build(wxCxxFlags, wxLibs); 76 | } 77 | }); 78 | }); 79 | 80 | String.prototype.trim = function () { 81 | return this.replace(/^\s+|\s+$/g, ""); 82 | }; 83 | 84 | function runCommandLine (cmd, args, callback) { 85 | var results = ""; 86 | var child = childProcess.spawn(cmd, args); 87 | child.stdout.on('data', function (data) { 88 | results += data; 89 | }); 90 | child.stderr.on('data', function (data) { 91 | results += data; 92 | }); 93 | child.on('exit', function (code) { 94 | if (code != 0) { 95 | callback(new Error(results)); 96 | return; 97 | } 98 | callback(code, results.trim().split(' ').filter(function (item) { return item.length > 0; })); 99 | }); 100 | } 101 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wxnode", 3 | "description": "node.js wrapper for wxWidgets.", 4 | "author": "Joe Ferner ", 5 | "keywords": ["wxwidgets", "bridge", "native"], 6 | "version": "0.1.0", 7 | "engines": { "node" : ">=0.6.0" }, 8 | "maintainers": [ 9 | { "name": "Joe Ferner", "email": "joe.ferner@nearinfinity.com" } 10 | ], 11 | "contributors": [ 12 | { "name": "Brandon Benvie" } 13 | ], 14 | "bugs": { "url": "https://github.com/joeferner/wxNode/issues" }, 15 | "license": "MIT", 16 | "repository": { "type": "git", "url": "https://github.com/joeferner/wxNode.git" }, 17 | "dependencies": { 18 | "mnm": "0.0.3" 19 | }, 20 | "devDependencies": { 21 | "nodeunit": "~0.6.4", 22 | "mustache": "git://github.com/janl/mustache.js.git", 23 | "JSONPath": "~0.8.5", 24 | "xml2js": "~0.1.13", 25 | "crc32": "~0.2.2", 26 | "async": "~0.1.15" 27 | }, 28 | "scripts": { 29 | "test": "nodeunit test", 30 | "install": "node mnm.js build" 31 | }, 32 | "main": "./index.js" 33 | } 34 | -------------------------------------------------------------------------------- /rungccxml.sh.patch: -------------------------------------------------------------------------------- 1 | *** utils/ifacecheck/rungccxml.sh.old 2012-02-08 09:33:21.559874075 -0500 2 | --- utils/ifacecheck/rungccxml.sh 2012-02-08 09:40:05.891874030 -0500 3 | *************** 4 | *** 38,44 **** 5 | cd ../../include # go to wx include folder 6 | 7 | # now filter it 8 | ! headerlist=`$listcmd | grep -v wxshl | grep -v wx_cw | grep -v setup | grep -v xti | grep -v dde.h | grep -v fmappriv` 9 | 10 | cd $current # return to the original path 11 | 12 | --- 38,44 ---- 13 | cd ../../include # go to wx include folder 14 | 15 | # now filter it 16 | ! headerlist=`$listcmd | grep -v wxshl | grep -v wx_cw | grep -v setup | grep -v xti | grep -v dde.h | grep -v fmappriv | grep -v cppunit | grep -v variantbase | grep -v richtextborderspage | grep -v richtextbackgroundpage` 17 | 18 | cd $current # return to the original path 19 | 20 | -------------------------------------------------------------------------------- /src-dummy/wxNode_Origin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/src-dummy/wxNode_Origin.h -------------------------------------------------------------------------------- /src-dummy/wxNode_wxAcceleratorEntry.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxAcceleratorEntry_ 3 | #define _wxNode_wxAcceleratorEntry_ 4 | 5 | class wxNode_wxAcceleratorEntry : public wxAcceleratorEntry { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxAcceleratorEntry* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxAcceleratorEntry& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxAcceleratorTable.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxAcceleratorTable_ 3 | #define _wxNode_wxAcceleratorTable_ 4 | 5 | class wxNode_wxAcceleratorTable : public wxAcceleratorTable { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(const wxAcceleratorTable* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(const wxAcceleratorTable& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxActivateEvent.h: -------------------------------------------------------------------------------- 1 | 2 | class wxNode_wxActivateEvent { 3 | 4 | }; 5 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxArrayInt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxArrayInt_ 3 | #define _wxNode_wxArrayInt_ 4 | 5 | class wxNode_wxArrayInt : public wxArrayInt { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxArrayInt* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxArrayInt& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxArrayString.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxArrayString_h_ 3 | #define _wxNode_wxArrayString_h_ 4 | 5 | class wxNode_wxArrayString : public wxArrayString { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxArrayString* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxArrayString& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxBackgroundStyle.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBackgroundStyle_h_ 3 | #define _wxNode_wxBackgroundStyle_h_ 4 | 5 | class wxNode_wxBackgroundStyle : public wxBackgroundStyle { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxBitmapHandler.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBitmapHandler_ 3 | #define _wxNode_wxBitmapHandler_ 4 | 5 | class wxNode_wxBitmapHandler : public wxBitmapHandler { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxBitmapHandler* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxBitmapHandler& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxBorder.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBorder_ 3 | #define _wxNode_wxBorder_ 4 | 5 | class wxNode_wxBorder : public wxBorder { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxCaret.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxCaret_ 3 | #define _wxNode_wxCaret_ 4 | 5 | class wxNode_wxCaret : public wxCaret { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxCaret* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxCaret& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxClassInfo.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxClassInfo_ 3 | #define _wxNode_wxClassInfo_ 4 | 5 | class wxNode_wxClassInfo : public wxClassInfo { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static v8::Handle New(wxClassInfo* obj) { return v8::Undefined(); } 9 | static v8::Handle NewCopy(wxClassInfo& obj) { return v8::Undefined(); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxClientData.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxClientData_ 3 | #define _wxNode_wxClientData_ 4 | 5 | class wxNode_wxClientData : public wxClientData { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxClientData* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxClientData& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxCloseEvent.h: -------------------------------------------------------------------------------- 1 | 2 | class wxNode_wxCloseEvent : public wxCloseEvent { 3 | 4 | }; -------------------------------------------------------------------------------- /src-dummy/wxNode_wxColour.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxColour_ 3 | #define _wxNode_wxColour_ 4 | 5 | class wxNode_wxColour : public wxColour { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxColour* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxColour& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxDC.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxDC_ 3 | #define _wxNode_wxDC_ 4 | 5 | class wxNode_wxDC : public wxDC { 6 | public: 7 | static bool AssignableFrom(const v8::Handle& className) { return false; } 8 | static bool AssignableFrom(const char* className) { return false; } 9 | 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxDialogLayoutAdapter.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxDialogLayoutAdapter_ 3 | #define _wxNode_wxDialogLayoutAdapter_ 4 | 5 | class wxNode_wxDialogLayoutAdapter : public wxDialogLayoutAdapter, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) {wxNodeObject::AddMethods(target);} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxDialogLayoutAdapter* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxDialogLayoutAdapter& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxDropTarget.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxDropTarget_ 3 | #define _wxNode_wxDropTarget_ 4 | 5 | class wxNode_wxDropTarget : public wxDropTarget { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxDropTarget* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxDropTarget& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxFSFile.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxFSFile_ 3 | #define _wxNode_wxFSFile_ 4 | 5 | #include 6 | 7 | class wxNode_wxFSFile : public wxFSFile, public wxNodeObject { 8 | public: 9 | static void AddMethods(v8::Handle target) { wxNodeObject::AddMethods(target); } 10 | static bool AssignableFrom(const v8::Handle& className) { return false; } 11 | static bool AssignableFrom(const char* className) { return false; } 12 | static v8::Handle New(wxFSFile* obj) { return v8::Undefined(); } 13 | static v8::Handle NewCopy(wxFSFile& obj) { return v8::Undefined(); } 14 | 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxFont.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxFont_ 3 | #define _wxNode_wxFont_ 4 | 5 | class wxNode_wxFont : public wxFont { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxFont* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxFont& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxGDIObject.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxGDIObject_ 3 | #define _wxNode_wxGDIObject_ 4 | 5 | class wxNode_wxGDIObject : public wxGDIObject, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) { wxNodeObject::AddMethods(target); } 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxGDIObject* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxGDIObject& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxGraphicsPath.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxGraphicsPath_ 3 | #define _wxNode_wxGraphicsPath_ 4 | 5 | #include 6 | 7 | class wxNode_wxGraphicsPath : public wxGraphicsPath { 8 | public: 9 | static bool AssignableFrom(const v8::Handle& className) { return false; } 10 | static bool AssignableFrom(const char* className) { return false; } 11 | 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxHitTest.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxHitTest_ 3 | #define _wxNode_wxHitTest_ 4 | 5 | class wxNode_wxHitTest : public wxHitTest { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxIconBundle.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxIconBundle_ 3 | #define _wxNode_wxIconBundle_ 4 | 5 | class wxNode_wxIconBundle : public wxIconBundle { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxIconBundle* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxIconBundle& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxIconLocation.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxIconLocation_ 3 | #define _wxNode_wxIconLocation_ 4 | 5 | class wxNode_wxIconLocation : public wxIconLocation { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxIconLocation* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxIconLocation& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxIdleEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxIdleEvent_ 3 | #define _wxNode_wxIdleEvent_ 4 | 5 | class wxNode_wxIdleEvent : public wxIdleEvent { 6 | public: 7 | static bool AssignableFrom(const v8::Handle& className) { return false; } 8 | static bool AssignableFrom(const char* className) { return false; } 9 | 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxImage.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxImage_ 3 | #define _wxNode_wxImage_ 4 | 5 | class wxNode_wxImage : public wxImage { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxImage* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxImage& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxImageHandler.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxImageHandler_ 3 | #define _wxNode_wxImageHandler_ 4 | 5 | class wxNode_wxImageHandler : public wxImageHandler { 6 | 7 | }; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxImageHistogram.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxImageHistogram_ 3 | #define _wxNode_wxImageHistogram_ 4 | 5 | class wxNode_wxImageHistogram : public wxImageHistogram { 6 | 7 | }; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxInputStream.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxInputStream_ 3 | #define _wxNode_wxInputStream_ 4 | 5 | class wxNode_wxInputStream : public wxInputStream, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) { wxNodeObject::AddMethods(target); } 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxInputStream* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxInputStream& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxItemKind.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxItemKind_ 3 | #define _wxNode_wxItemKind_ 4 | 5 | class wxNode_wxItemKind { 6 | 7 | }; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxLayoutConstraints.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxLayoutConstraints_ 3 | #define _wxNode_wxLayoutConstraints_ 4 | 5 | class wxNode_wxLayoutConstraints : public wxLayoutConstraints { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxLayoutConstraints* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxLayoutConstraints& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxLayoutDirection.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxLayoutDirection_ 3 | #define _wxNode_wxLayoutDirection_ 4 | 5 | class wxNode_wxLayoutDirection : public wxLayoutDirection { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxList.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxList_ 3 | #define _wxNode_wxList_ 4 | 5 | class wxNode_wxList : public wxList { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxList* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxList& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxLogInterposer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxLogInterposer_ 3 | #define _wxNode_wxLogInterposer_ 4 | 5 | class wxNode_wxLogInterposer : public wxLogInterposer, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) { wxNodeObject::AddMethods(target); } 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxLogInterposer* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxLogInterposer& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxMask.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxMask_ 3 | #define _wxNode_wxMask_ 4 | 5 | class wxNode_wxMask : public wxMask { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxMask* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxMask& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxMenuEvent.h: -------------------------------------------------------------------------------- 1 | 2 | class wxNode_wxMenuEvent { 3 | 4 | }; 5 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxMenuItemList.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxMenuItemList_ 3 | #define _wxNode_wxMenuItemList_ 4 | 5 | class wxNode_wxMenuItemList : public wxMenuItemList { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static v8::Handle New(wxMenuItemList* obj) { return v8::Undefined(); } 9 | static v8::Handle NewCopy(wxMenuItemList& obj) { return v8::Undefined(); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxNavigationEnabled.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxNavigationEnabled_ 3 | #define _wxNode_wxNavigationEnabled_ 4 | 5 | #include "wxNode_wxWindow.h" 6 | 7 | class wxNode_wxNavigationEnabled { 8 | public: 9 | static void AddMethods(v8::Handle target) { wxNode_wxWindow::AddMethods(target); } 10 | static bool AssignableFrom(const v8::Handle& className) { return false; } 11 | static bool AssignableFrom(const char* className) { return false; } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxObject.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxObject_h_ 3 | #define _wxNode_wxObject_h_ 4 | 5 | class wxNode_wxObject : public wxObject { 6 | public: 7 | static void AddMethods(v8::Handle target) { wxNode_wxEvtHandler::AddMethods(target); }; 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxObject* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxObject& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxPalette.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxPalette_ 3 | #define _wxNode_wxPalette_ 4 | 5 | class wxNode_wxPalette : public wxPalette { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(const wxPalette* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxPalette& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxRealPoint.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxRealPoint_ 3 | #define _wxNode_wxRealPoint_ 4 | 5 | class wxNode_wxRealPoint : public wxRealPoint { 6 | public: 7 | static bool AssignableFrom(const v8::Handle& className) { return false; } 8 | static bool AssignableFrom(const char* className) { return false; } 9 | }; 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxRect.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxRect_ 3 | #define _wxNode_wxRect_ 4 | 5 | class wxNode_wxRect : public wxRect { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxRect* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxRect& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxRegion.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxRegion_ 3 | #define _wxNode_wxRegion_ 4 | 5 | class wxNode_wxRegion : public wxRegion { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxRegion* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxRegion& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxScrollHelper.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxScrollHelper_ 3 | #define _wxNode_wxScrollHelper_ 4 | 5 | class wxNode_wxScrollHelper : public wxScrollHelper { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxScrollHelper* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxScrollHelper& obj) { return v8::Undefined(); } 12 | 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxShowEffect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joeferner/wxNode/da16a8eb9f51c278053fecc2bcee27e74b2f58c6/src-dummy/wxNode_wxShowEffect.h -------------------------------------------------------------------------------- /src-dummy/wxNode_wxSizeEvent.h: -------------------------------------------------------------------------------- 1 | 2 | class wxNode_wxSizeEvent : public wxSizeEvent { 3 | 4 | }; -------------------------------------------------------------------------------- /src-dummy/wxNode_wxSizerItem.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxSizerItem_h_ 3 | #define _wxNode_wxSizerItem_h_ 4 | 5 | class wxNode_wxSizerItem : public wxSizerItem { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxSizerItem* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxSizerItem& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxSizerItemList.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxSizerItemList_ 3 | #define _wxNode_wxSizerItemList_ 4 | 5 | class wxNode_wxSizerItemList : public wxSizerItemList { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static v8::Handle New(wxSizerItemList* obj) { return v8::Undefined(); } 9 | static v8::Handle NewCopy(wxSizerItemList& obj) { return v8::Undefined(); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxStatusBar.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxStatusBar_ 3 | #define _wxNode_wxStatusBar_ 4 | 5 | class wxNode_wxStatusBar : public wxStatusBar { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxStatusBar* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxStatusBar& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxStdDialogButtonSizer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxStdDialogButtonSizer_ 3 | #define _wxNode_wxStdDialogButtonSizer_ 4 | 5 | class wxNode_wxStdDialogButtonSizer : public wxStdDialogButtonSizer, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) {wxNodeObject::AddMethods(target);} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxStdDialogButtonSizer* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxStdDialogButtonSizer& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxTextAttr.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextAttr_ 3 | #define _wxNode_wxTextAttr_ 4 | 5 | class wxNode_wxTextAttr : public wxTextAttr { 6 | public: 7 | static bool AssignableFrom(const v8::Handle& className) { return false; } 8 | static bool AssignableFrom(const char* className) { return false; } 9 | }; 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxTextCompleter.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextCompleter_ 3 | #define _wxNode_wxTextCompleter_ 4 | 5 | #include 6 | 7 | class wxNode_wxTextCompleter : public wxTextCompleter, public wxNodeObject { 8 | public: 9 | static void AddMethods(v8::Handle target) {wxNodeObject::AddMethods(target);} 10 | static bool AssignableFrom(const v8::Handle& className) { return false; } 11 | static bool AssignableFrom(const char* className) { return false; } 12 | static v8::Handle New(wxTextCompleter* obj) { return v8::Undefined(); } 13 | static v8::Handle NewCopy(wxTextCompleter& obj) { return v8::Undefined(); } 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxTextSizerWrapper.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextSizerWrapper_ 3 | #define _wxNode_wxTextSizerWrapper_ 4 | 5 | #include 6 | 7 | class wxNode_wxTextSizerWrapper : public wxTextSizerWrapper, public wxNodeObject { 8 | public: 9 | static void AddMethods(v8::Handle target) {wxNodeObject::AddMethods(target);} 10 | static bool AssignableFrom(const v8::Handle& className) { return false; } 11 | static bool AssignableFrom(const char* className) { return false; } 12 | static v8::Handle New(wxTextSizerWrapper* obj) { return v8::Undefined(); } 13 | static v8::Handle NewCopy(wxTextSizerWrapper& obj) { return v8::Undefined(); } 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxToolBarTool.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxToolBarTool_ 3 | #define _wxNode_wxToolBarTool_ 4 | 5 | class wxNode_wxToolBarTool : public wxToolBarToolBase, public wxNodeObject { 6 | public: 7 | static void AddMethods(v8::Handle target) {wxNodeObject::AddMethods(target);} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxToolBarToolBase* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxToolBarToolBase& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxToolTip.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxToolTip_ 3 | #define _wxNode_wxToolTip_ 4 | 5 | class wxNode_wxToolTip : public wxToolTip { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(wxToolTip* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(wxToolTip& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxUpdateUIEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxUpdateUIEvent_ 3 | #define _wxNode_wxUpdateUIEvent_ 4 | 5 | class wxNode_wxUpdateUIEvent : public wxUpdateUIEvent { 6 | public: 7 | static bool AssignableFrom(const v8::Handle& className) { return false; } 8 | static bool AssignableFrom(const char* className) { return false; } 9 | 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxValidator.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxValidator_ 3 | #define _wxNode_wxValidator_ 4 | 5 | class wxNode_wxValidator : public wxValidator { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static bool AssignableFrom(const v8::Handle& className) { return false; } 9 | static bool AssignableFrom(const char* className) { return false; } 10 | static v8::Handle New(const wxValidator* obj) { return v8::Undefined(); } 11 | static v8::Handle NewCopy(const wxValidator& obj) { return v8::Undefined(); } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxVisualAttributes.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxVisualAttributes_ 3 | #define _wxNode_wxVisualAttributes_ 4 | 5 | class wxNode_wxVisualAttributes : public wxVisualAttributes { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static v8::Handle New(wxVisualAttributes* obj) { return v8::Undefined(); } 9 | static v8::Handle NewCopy(wxVisualAttributes& obj) { return v8::Undefined(); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxWindowList.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWindowList_ 3 | #define _wxNode_wxWindowList_ 4 | 5 | class wxNode_wxWindowList : public wxWindowList { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | static v8::Handle New(const wxWindowList* obj) { return v8::Undefined(); } 9 | static v8::Handle NewCopy(const wxWindowList& obj) { return v8::Undefined(); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxWindowVariant.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWindowVariant_ 3 | #define _wxNode_wxWindowVariant_ 4 | 5 | class wxNode_wxWindowVariant : public wxWindowVariant { 6 | public: 7 | static void AddMethods(v8::Handle target) {} 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxWindowWithItems.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWindowWithItems_ 3 | #define _wxNode_wxWindowWithItems_ 4 | 5 | #include "wxNode_wxControl.h" 6 | 7 | class wxNode_wxWindowWithItems { 8 | public: 9 | static void AddMethods(v8::Handle target) { wxNode_wxControl::AddMethods(target); } 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src-dummy/wxNode_wxWindowWithItems_wxControl_wxItemContainer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWindowWithItems_wxControl_wxItemContainer_ 3 | #define _wxNode_wxWindowWithItems_wxControl_wxItemContainer_ 4 | 5 | #include "wxnode.h" 6 | 7 | class wxNode_wxWindowWithItems_wxControl_wxItemContainer : public wxWindowWithItems { 8 | public: 9 | static void AddMethods(v8::Handle target); 10 | static bool AssignableFrom(const v8::Handle& className) { return false; } 11 | static bool AssignableFrom(const char* className) { return false; } 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxAnyButton.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxAnyButton_h_ 3 | #define _wxNode_wxAnyButton_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxBitmap; 10 | class wxNode_wxSize; 11 | 12 | 13 | class wxNode_wxAnyButton : public wxAnyButton, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxAnyButton* obj); 21 | static v8::Handle New(const wxNode_wxAnyButton* obj); 22 | static v8::Handle NewCopy(const wxAnyButton& obj); 23 | 24 | 25 | 26 | wxNode_wxAnyButton(); 27 | 28 | 29 | 30 | private: 31 | static v8::Handle _init(const v8::Arguments& args); 32 | 33 | static v8::Handle _SetBitmap(const v8::Arguments& args); 34 | static v8::Handle _GetBitmap(const v8::Arguments& args); 35 | static v8::Handle _SetBitmapLabel(const v8::Arguments& args); 36 | static v8::Handle _SetBitmapPressed(const v8::Arguments& args); 37 | static v8::Handle _SetBitmapDisabled(const v8::Arguments& args); 38 | static v8::Handle _SetBitmapCurrent(const v8::Arguments& args); 39 | static v8::Handle _SetBitmapFocus(const v8::Arguments& args); 40 | static v8::Handle _GetBitmapLabel(const v8::Arguments& args); 41 | static v8::Handle _GetBitmapPressed(const v8::Arguments& args); 42 | static v8::Handle _GetBitmapDisabled(const v8::Arguments& args); 43 | static v8::Handle _GetBitmapCurrent(const v8::Arguments& args); 44 | static v8::Handle _GetBitmapFocus(const v8::Arguments& args); 45 | static v8::Handle _SetBitmapMargins(const v8::Arguments& args); 46 | static v8::Handle _GetBitmapMargins(const v8::Arguments& args); 47 | static v8::Handle _SetBitmapPosition(const v8::Arguments& args); 48 | static v8::Handle _ShouldInheritColours(const v8::Arguments& args); 49 | static v8::Handle _SetImageLabel(const v8::Arguments& args); 50 | static v8::Handle _SetImageMargins(const v8::Arguments& args); 51 | static v8::Handle _GetBitmapSelected(const v8::Arguments& args); 52 | static v8::Handle _GetBitmapHover(const v8::Arguments& args); 53 | static v8::Handle _SetBitmapSelected(const v8::Arguments& args); 54 | static v8::Handle _SetBitmapHover(const v8::Arguments& args); 55 | static v8::Handle _DontShowLabel(const v8::Arguments& args); 56 | static v8::Handle _ShowsLabel(const v8::Arguments& args); 57 | 58 | 59 | 60 | static v8::Persistent s_ct; 61 | }; 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxArtProvider.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxArtProvider_h_ 3 | #define _wxNode_wxArtProvider_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxObject; 9 | class wxNode_wxArtProvider; 10 | class wxNode_wxSize; 11 | 12 | 13 | class wxNode_wxArtProvider : public wxArtProvider, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxArtProvider* obj); 21 | static v8::Handle New(const wxNode_wxArtProvider* obj); 22 | static v8::Handle NewCopy(const wxArtProvider& obj); 23 | 24 | 25 | 26 | wxNode_wxArtProvider(wxArtProvider& arg0); 27 | 28 | wxNode_wxArtProvider(); 29 | 30 | 31 | 32 | private: 33 | static v8::Handle _init(const v8::Arguments& args); 34 | 35 | static v8::Handle _HasNativeProvider(const v8::Arguments& args); 36 | static v8::Handle _Push(const v8::Arguments& args); 37 | static v8::Handle _PushBack(const v8::Arguments& args); 38 | static v8::Handle _Pop(const v8::Arguments& args); 39 | static v8::Handle _Remove(const v8::Arguments& args); 40 | static v8::Handle _Delete(const v8::Arguments& args); 41 | static v8::Handle _GetBitmap(const v8::Arguments& args); 42 | static v8::Handle _GetIcon(const v8::Arguments& args); 43 | static v8::Handle _GetMessageBoxIconId(const v8::Arguments& args); 44 | static v8::Handle _GetMessageBoxIcon(const v8::Arguments& args); 45 | static v8::Handle _GetIconBundle(const v8::Arguments& args); 46 | static v8::Handle _GetNativeSizeHint(const v8::Arguments& args); 47 | static v8::Handle _GetSizeHint(const v8::Arguments& args); 48 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 49 | 50 | 51 | 52 | static v8::Persistent s_ct; 53 | }; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxBitmap.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBitmap_h_ 3 | #define _wxNode_wxBitmap_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxGDIObject; 9 | class wxNode_wxBitmap; 10 | class wxNode_wxSize; 11 | class wxNode_wxImage; 12 | class wxNode_wxMask; 13 | class wxNode_wxRect; 14 | class wxNode_wxPalette; 15 | class wxNode_wxIcon; 16 | class wxNode_wxBitmapHandler; 17 | 18 | 19 | class wxNode_wxBitmap : public wxBitmap, public wxNodeObject, public NodeExEvtHandlerImpl { 20 | public: 21 | static void Init(v8::Handle target); 22 | static void AddMethods(v8::Handle target); 23 | virtual v8::Handle self() { return m_self; } 24 | static bool AssignableFrom(const v8::Handle& className); 25 | static bool AssignableFrom(const char* className); 26 | static v8::Handle New(const wxBitmap* obj); 27 | static v8::Handle New(const wxNode_wxBitmap* obj); 28 | static v8::Handle NewCopy(const wxBitmap& obj); 29 | 30 | 31 | 32 | wxNode_wxBitmap(wxBitmap& arg0); 33 | 34 | wxNode_wxBitmap(); 35 | 36 | wxNode_wxBitmap(int width, int height, int depth); 37 | 38 | wxNode_wxBitmap(int width, int height); 39 | 40 | wxNode_wxBitmap(wxSize& sz, int depth); 41 | 42 | wxNode_wxBitmap(wxSize& sz); 43 | 44 | wxNode_wxBitmap(const char* bits, int width, int height, int depth); 45 | 46 | wxNode_wxBitmap(const char* bits, int width, int height); 47 | 48 | wxNode_wxBitmap(const char** bits); 49 | 50 | wxNode_wxBitmap(const wxString& filename, wxBitmapType type); 51 | 52 | wxNode_wxBitmap(const wxString& filename); 53 | 54 | wxNode_wxBitmap(wxImage& image, int depth); 55 | 56 | wxNode_wxBitmap(wxImage& image); 57 | 58 | 59 | 60 | private: 61 | static v8::Handle _init(const v8::Arguments& args); 62 | 63 | static v8::Handle _Create(const v8::Arguments& args); 64 | static v8::Handle _GetHeight(const v8::Arguments& args); 65 | static v8::Handle _GetWidth(const v8::Arguments& args); 66 | static v8::Handle _GetDepth(const v8::Arguments& args); 67 | static v8::Handle _GetSize(const v8::Arguments& args); 68 | static v8::Handle _ConvertToImage(const v8::Arguments& args); 69 | static v8::Handle _ConvertToDisabled(const v8::Arguments& args); 70 | static v8::Handle _GetMask(const v8::Arguments& args); 71 | static v8::Handle _SetMask(const v8::Arguments& args); 72 | static v8::Handle _GetSubBitmap(const v8::Arguments& args); 73 | static v8::Handle _SaveFile(const v8::Arguments& args); 74 | static v8::Handle _LoadFile(const v8::Arguments& args); 75 | static v8::Handle _GetPalette(const v8::Arguments& args); 76 | static v8::Handle _SetPalette(const v8::Arguments& args); 77 | static v8::Handle _CopyFromIcon(const v8::Arguments& args); 78 | static v8::Handle _SetHeight(const v8::Arguments& args); 79 | static v8::Handle _SetWidth(const v8::Arguments& args); 80 | static v8::Handle _SetDepth(const v8::Arguments& args); 81 | static v8::Handle _GetHandlers(const v8::Arguments& args); 82 | static v8::Handle _AddHandler(const v8::Arguments& args); 83 | static v8::Handle _InsertHandler(const v8::Arguments& args); 84 | static v8::Handle _RemoveHandler(const v8::Arguments& args); 85 | static v8::Handle _CleanUpHandlers(const v8::Arguments& args); 86 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 87 | 88 | 89 | 90 | static v8::Persistent s_ct; 91 | }; 92 | 93 | #endif 94 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxBookCtrlBase.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBookCtrlBase_h_ 3 | #define _wxNode_wxBookCtrlBase_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | 13 | 14 | class wxNode_wxBookCtrlBase : public wxBookCtrlBase, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxBookCtrlBase* obj); 22 | static v8::Handle New(const wxNode_wxBookCtrlBase* obj); 23 | static v8::Handle NewCopy(const wxBookCtrlBase& obj); 24 | 25 | 26 | 27 | private: 28 | static v8::Handle _init(const v8::Arguments& args); 29 | 30 | static v8::Handle _Create(const v8::Arguments& args); 31 | static v8::Handle _GetPageCount(const v8::Arguments& args); 32 | static v8::Handle _GetPage(const v8::Arguments& args); 33 | static v8::Handle _GetCurrentPage(const v8::Arguments& args); 34 | static v8::Handle _GetSelection(const v8::Arguments& args); 35 | static v8::Handle _SetPageText(const v8::Arguments& args); 36 | static v8::Handle _GetPageText(const v8::Arguments& args); 37 | static v8::Handle _GetPageImage(const v8::Arguments& args); 38 | static v8::Handle _SetPageImage(const v8::Arguments& args); 39 | static v8::Handle _SetPageSize(const v8::Arguments& args); 40 | static v8::Handle _GetControllerSize(const v8::Arguments& args); 41 | static v8::Handle _CalcSizeFromPage(const v8::Arguments& args); 42 | static v8::Handle _GetInternalBorder(const v8::Arguments& args); 43 | static v8::Handle _SetInternalBorder(const v8::Arguments& args); 44 | static v8::Handle _SetControlMargin(const v8::Arguments& args); 45 | static v8::Handle _GetControlMargin(const v8::Arguments& args); 46 | static v8::Handle _IsVertical(const v8::Arguments& args); 47 | static v8::Handle _SetFitToCurrentPage(const v8::Arguments& args); 48 | static v8::Handle _GetFitToCurrentPage(const v8::Arguments& args); 49 | static v8::Handle _GetControlSizer(const v8::Arguments& args); 50 | static v8::Handle _DeletePage(const v8::Arguments& args); 51 | static v8::Handle _RemovePage(const v8::Arguments& args); 52 | static v8::Handle _DeleteAllPages(const v8::Arguments& args); 53 | static v8::Handle _AddPage(const v8::Arguments& args); 54 | static v8::Handle _InsertPage(const v8::Arguments& args); 55 | static v8::Handle _SetSelection(const v8::Arguments& args); 56 | static v8::Handle _ChangeSelection(const v8::Arguments& args); 57 | static v8::Handle _AdvanceSelection(const v8::Arguments& args); 58 | static v8::Handle _HitTest(const v8::Arguments& args); 59 | static v8::Handle _HasMultiplePages(const v8::Arguments& args); 60 | static v8::Handle _AcceptsFocus(const v8::Arguments& args); 61 | static v8::Handle _CanApplyThemeBorder(const v8::Arguments& args); 62 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 63 | 64 | 65 | 66 | static v8::Persistent s_ct; 67 | }; 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxBoxSizer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxBoxSizer_h_ 3 | #define _wxNode_wxBoxSizer_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxSizer; 9 | class wxNode_wxBoxSizer; 10 | 11 | 12 | class wxNode_wxBoxSizer : public wxBoxSizer, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxBoxSizer* obj); 20 | static v8::Handle New(const wxNode_wxBoxSizer* obj); 21 | static v8::Handle NewCopy(const wxBoxSizer& obj); 22 | 23 | 24 | 25 | wxNode_wxBoxSizer(wxBoxSizer& arg0); 26 | 27 | wxNode_wxBoxSizer(int orient); 28 | 29 | 30 | 31 | private: 32 | static v8::Handle _init(const v8::Arguments& args); 33 | 34 | static v8::Handle _AddSpacer(const v8::Arguments& args); 35 | static v8::Handle _GetOrientation(const v8::Arguments& args); 36 | static v8::Handle _IsVertical(const v8::Arguments& args); 37 | static v8::Handle _SetOrientation(const v8::Arguments& args); 38 | static v8::Handle _CalcMin(const v8::Arguments& args); 39 | static v8::Handle _RecalcSizes(const v8::Arguments& args); 40 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 41 | 42 | 43 | 44 | static v8::Persistent s_ct; 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxButton.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxButton_h_ 3 | #define _wxNode_wxButton_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxAnyButton; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxValidator; 13 | 14 | 15 | class wxNode_wxButton : public wxButton, public wxNodeObject, public NodeExEvtHandlerImpl { 16 | public: 17 | static void Init(v8::Handle target); 18 | static void AddMethods(v8::Handle target); 19 | virtual v8::Handle self() { return m_self; } 20 | static bool AssignableFrom(const v8::Handle& className); 21 | static bool AssignableFrom(const char* className); 22 | static v8::Handle New(const wxButton* obj); 23 | static v8::Handle New(const wxNode_wxButton* obj); 24 | static v8::Handle NewCopy(const wxButton& obj); 25 | 26 | 27 | 28 | wxNode_wxButton(); 29 | 30 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size, long int style, wxValidator& validator, const wxString& name); 31 | 32 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size, long int style, wxValidator& validator); 33 | 34 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size, long int style); 35 | 36 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size); 37 | 38 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label, wxPoint& pos); 39 | 40 | wxNode_wxButton(wxWindow* parent, int id, const wxString& label); 41 | 42 | wxNode_wxButton(wxWindow* parent, int id); 43 | 44 | 45 | 46 | private: 47 | static v8::Handle _init(const v8::Arguments& args); 48 | 49 | static v8::Handle _SetAuthNeeded(const v8::Arguments& args); 50 | static v8::Handle _GetAuthNeeded(const v8::Arguments& args); 51 | static v8::Handle _SetDefault(const v8::Arguments& args); 52 | static v8::Handle _GetDefaultSize(const v8::Arguments& args); 53 | 54 | 55 | 56 | static v8::Persistent s_ct; 57 | }; 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxCommandEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxCommandEvent_h_ 3 | #define _wxNode_wxCommandEvent_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxEvent; 9 | class wxNode_wxCommandEvent; 10 | class wxNode_wxClientData; 11 | 12 | 13 | class wxNode_wxCommandEvent : public wxCommandEvent, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxCommandEvent* obj); 21 | static v8::Handle New(const wxNode_wxCommandEvent* obj); 22 | static v8::Handle NewCopy(const wxCommandEvent& obj); 23 | 24 | 25 | 26 | wxNode_wxCommandEvent(int commandType, int winid); 27 | 28 | wxNode_wxCommandEvent(int commandType); 29 | 30 | wxNode_wxCommandEvent(); 31 | 32 | wxNode_wxCommandEvent(wxCommandEvent& event); 33 | 34 | 35 | 36 | private: 37 | static v8::Handle _init(const v8::Arguments& args); 38 | 39 | static v8::Handle _SetClientData(const v8::Arguments& args); 40 | static v8::Handle _GetClientData(const v8::Arguments& args); 41 | static v8::Handle _SetClientObject(const v8::Arguments& args); 42 | static v8::Handle _GetClientObject(const v8::Arguments& args); 43 | static v8::Handle _GetString(const v8::Arguments& args); 44 | static v8::Handle _GetSelection(const v8::Arguments& args); 45 | static v8::Handle _IsChecked(const v8::Arguments& args); 46 | static v8::Handle _IsSelection(const v8::Arguments& args); 47 | static v8::Handle _Clone(const v8::Arguments& args); 48 | static v8::Handle _GetEventCategory(const v8::Arguments& args); 49 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 50 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 51 | 52 | 53 | 54 | static v8::Persistent s_ct; 55 | }; 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxControl.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxControl_h_ 3 | #define _wxNode_wxControl_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxWindow; 9 | class wxNode_wxPoint; 10 | class wxNode_wxSize; 11 | class wxNode_wxValidator; 12 | class wxNode_wxCommandEvent; 13 | class wxNode_wxFont; 14 | class wxNode_wxUpdateUIEvent; 15 | class wxNode_wxDC; 16 | 17 | 18 | class wxNode_wxControl : public wxControl, public wxNodeObject, public NodeExEvtHandlerImpl { 19 | public: 20 | static void Init(v8::Handle target); 21 | static void AddMethods(v8::Handle target); 22 | virtual v8::Handle self() { return m_self; } 23 | static bool AssignableFrom(const v8::Handle& className); 24 | static bool AssignableFrom(const char* className); 25 | static v8::Handle New(const wxControl* obj); 26 | static v8::Handle New(const wxNode_wxControl* obj); 27 | static v8::Handle NewCopy(const wxControl& obj); 28 | 29 | 30 | 31 | wxNode_wxControl(); 32 | 33 | wxNode_wxControl(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style, wxValidator& validator, const wxString& name); 34 | 35 | wxNode_wxControl(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style, wxValidator& validator); 36 | 37 | wxNode_wxControl(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style); 38 | 39 | wxNode_wxControl(wxWindow* parent, int id, wxPoint& pos, wxSize& size); 40 | 41 | wxNode_wxControl(wxWindow* parent, int id, wxPoint& pos); 42 | 43 | wxNode_wxControl(wxWindow* parent, int id); 44 | 45 | 46 | 47 | private: 48 | static v8::Handle _init(const v8::Arguments& args); 49 | 50 | static v8::Handle _Create(const v8::Arguments& args); 51 | static v8::Handle _GetAlignment(const v8::Arguments& args); 52 | static v8::Handle _SetLabel(const v8::Arguments& args); 53 | static v8::Handle _GetLabel(const v8::Arguments& args); 54 | static v8::Handle _SetLabelText(const v8::Arguments& args); 55 | static v8::Handle _GetLabelText(const v8::Arguments& args); 56 | static v8::Handle _SetLabelMarkup(const v8::Arguments& args); 57 | static v8::Handle _ShouldInheritColours(const v8::Arguments& args); 58 | static v8::Handle _Command(const v8::Arguments& args); 59 | static v8::Handle _SetFont(const v8::Arguments& args); 60 | static v8::Handle _DoUpdateWindowUI(const v8::Arguments& args); 61 | static v8::Handle _RemoveMnemonics(const v8::Arguments& args); 62 | static v8::Handle _EscapeMnemonics(const v8::Arguments& args); 63 | static v8::Handle _Ellipsize(const v8::Arguments& args); 64 | static v8::Handle _FindAccelIndex(const v8::Arguments& args); 65 | static v8::Handle _GetCompositeControlsDefaultAttributes(const v8::Arguments& args); 66 | 67 | 68 | 69 | static v8::Persistent s_ct; 70 | }; 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxControlWithItems.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxControlWithItems_h_ 3 | #define _wxNode_wxControlWithItems_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxWindowWithItems; 9 | 10 | 11 | class wxNode_wxControlWithItems : public wxControlWithItems, public wxNodeObject, public NodeExEvtHandlerImpl { 12 | public: 13 | static void Init(v8::Handle target); 14 | static void AddMethods(v8::Handle target); 15 | virtual v8::Handle self() { return m_self; } 16 | static bool AssignableFrom(const v8::Handle& className); 17 | static bool AssignableFrom(const char* className); 18 | static v8::Handle New(const wxControlWithItems* obj); 19 | static v8::Handle New(const wxNode_wxControlWithItems* obj); 20 | static v8::Handle NewCopy(const wxControlWithItems& obj); 21 | 22 | 23 | 24 | private: 25 | static v8::Handle _init(const v8::Arguments& args); 26 | 27 | static v8::Handle _ShouldInheritColours(const v8::Arguments& args); 28 | 29 | 30 | 31 | static v8::Persistent s_ct; 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxCursor.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxCursor_h_ 3 | #define _wxNode_wxCursor_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxGDIObject; 9 | class wxNode_wxCursor; 10 | class wxNode_wxImage; 11 | 12 | 13 | class wxNode_wxCursor : public wxCursor, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxCursor* obj); 21 | static v8::Handle New(const wxNode_wxCursor* obj); 22 | static v8::Handle NewCopy(const wxCursor& obj); 23 | 24 | 25 | 26 | wxNode_wxCursor(wxCursor& arg0); 27 | 28 | wxNode_wxCursor(); 29 | 30 | wxNode_wxCursor(wxStockCursor id); 31 | 32 | wxNode_wxCursor(int id); 33 | 34 | wxNode_wxCursor(wxImage& image); 35 | 36 | wxNode_wxCursor(const wxString& name, wxBitmapType type, int hotSpotX, int hotSpotY); 37 | 38 | wxNode_wxCursor(const wxString& name, wxBitmapType type, int hotSpotX); 39 | 40 | wxNode_wxCursor(const wxString& name, wxBitmapType type); 41 | 42 | wxNode_wxCursor(const wxString& name); 43 | 44 | 45 | 46 | private: 47 | static v8::Handle _init(const v8::Arguments& args); 48 | 49 | static v8::Handle _GetCursor(const v8::Arguments& args); 50 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 51 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 52 | 53 | 54 | 55 | static v8::Persistent s_ct; 56 | }; 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxDialog.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxDialog_h_ 3 | #define _wxNode_wxDialog_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxTopLevelWindow; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxTextSizerWrapper; 13 | class wxNode_wxSizer; 14 | class wxNode_wxDialogLayoutAdapter; 15 | 16 | 17 | class wxNode_wxDialog : public wxDialog, public wxNodeObject, public NodeExEvtHandlerImpl { 18 | public: 19 | static void Init(v8::Handle target); 20 | static void AddMethods(v8::Handle target); 21 | virtual v8::Handle self() { return m_self; } 22 | static bool AssignableFrom(const v8::Handle& className); 23 | static bool AssignableFrom(const char* className); 24 | static v8::Handle New(const wxDialog* obj); 25 | static v8::Handle New(const wxNode_wxDialog* obj); 26 | static v8::Handle NewCopy(const wxDialog& obj); 27 | 28 | 29 | 30 | wxNode_wxDialog(); 31 | 32 | wxNode_wxDialog(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size, long int style, const wxString& name); 33 | 34 | wxNode_wxDialog(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size, long int style); 35 | 36 | wxNode_wxDialog(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size); 37 | 38 | wxNode_wxDialog(wxWindow* parent, int id, const wxString& title, wxPoint& pos); 39 | 40 | wxNode_wxDialog(wxWindow* parent, int id, const wxString& title); 41 | 42 | 43 | 44 | private: 45 | static v8::Handle _init(const v8::Arguments& args); 46 | 47 | static v8::Handle _ShowModal(const v8::Arguments& args); 48 | static v8::Handle _EndModal(const v8::Arguments& args); 49 | static v8::Handle _IsModal(const v8::Arguments& args); 50 | static v8::Handle _ShowWindowModal(const v8::Arguments& args); 51 | static v8::Handle _SendWindowModalDialogEvent(const v8::Arguments& args); 52 | static v8::Handle _SetReturnCode(const v8::Arguments& args); 53 | static v8::Handle _GetReturnCode(const v8::Arguments& args); 54 | static v8::Handle _SetAffirmativeId(const v8::Arguments& args); 55 | static v8::Handle _GetAffirmativeId(const v8::Arguments& args); 56 | static v8::Handle _SetEscapeId(const v8::Arguments& args); 57 | static v8::Handle _GetEscapeId(const v8::Arguments& args); 58 | static v8::Handle _GetParentForModalDialog(const v8::Arguments& args); 59 | static v8::Handle _CreateTextSizer(const v8::Arguments& args); 60 | static v8::Handle _CreateButtonSizer(const v8::Arguments& args); 61 | static v8::Handle _CreateSeparatedSizer(const v8::Arguments& args); 62 | static v8::Handle _CreateSeparatedButtonSizer(const v8::Arguments& args); 63 | static v8::Handle _CreateStdDialogButtonSizer(const v8::Arguments& args); 64 | static v8::Handle _DoLayoutAdaptation(const v8::Arguments& args); 65 | static v8::Handle _CanDoLayoutAdaptation(const v8::Arguments& args); 66 | static v8::Handle _GetContentWindow(const v8::Arguments& args); 67 | static v8::Handle _AddMainButtonId(const v8::Arguments& args); 68 | static v8::Handle _GetMainButtonIds(const v8::Arguments& args); 69 | static v8::Handle _IsMainButtonId(const v8::Arguments& args); 70 | static v8::Handle _SetLayoutAdaptationLevel(const v8::Arguments& args); 71 | static v8::Handle _GetLayoutAdaptationLevel(const v8::Arguments& args); 72 | static v8::Handle _SetLayoutAdaptationMode(const v8::Arguments& args); 73 | static v8::Handle _GetLayoutAdaptationMode(const v8::Arguments& args); 74 | static v8::Handle _SetLayoutAdaptationDone(const v8::Arguments& args); 75 | static v8::Handle _GetLayoutAdaptationDone(const v8::Arguments& args); 76 | static v8::Handle _SetLayoutAdapter(const v8::Arguments& args); 77 | static v8::Handle _GetLayoutAdapter(const v8::Arguments& args); 78 | static v8::Handle _IsLayoutAdaptationEnabled(const v8::Arguments& args); 79 | static v8::Handle _EnableLayoutAdaptation(const v8::Arguments& args); 80 | static v8::Handle _GetModality(const v8::Arguments& args); 81 | 82 | 83 | 84 | static v8::Persistent s_ct; 85 | }; 86 | 87 | #endif 88 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxEvent_h_ 3 | #define _wxNode_wxEvent_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxObject; 9 | 10 | 11 | class wxNode_wxEvent : public wxEvent, public wxNodeObject, public NodeExEvtHandlerImpl { 12 | public: 13 | static void Init(v8::Handle target); 14 | static void AddMethods(v8::Handle target); 15 | virtual v8::Handle self() { return m_self; } 16 | static bool AssignableFrom(const v8::Handle& className); 17 | static bool AssignableFrom(const char* className); 18 | static v8::Handle New(const wxEvent* obj); 19 | static v8::Handle New(const wxNode_wxEvent* obj); 20 | static v8::Handle NewCopy(const wxEvent& obj); 21 | 22 | 23 | 24 | private: 25 | static v8::Handle _init(const v8::Arguments& args); 26 | 27 | static v8::Handle _SetEventType(const v8::Arguments& args); 28 | static v8::Handle _GetEventType(const v8::Arguments& args); 29 | static v8::Handle _GetEventObject(const v8::Arguments& args); 30 | static v8::Handle _SetEventObject(const v8::Arguments& args); 31 | static v8::Handle _GetTimestamp(const v8::Arguments& args); 32 | static v8::Handle _SetTimestamp(const v8::Arguments& args); 33 | static v8::Handle _GetId(const v8::Arguments& args); 34 | static v8::Handle _SetId(const v8::Arguments& args); 35 | static v8::Handle _Skip(const v8::Arguments& args); 36 | static v8::Handle _GetSkipped(const v8::Arguments& args); 37 | static v8::Handle _Clone(const v8::Arguments& args); 38 | static v8::Handle _GetEventCategory(const v8::Arguments& args); 39 | static v8::Handle _IsCommandEvent(const v8::Arguments& args); 40 | static v8::Handle _ShouldPropagate(const v8::Arguments& args); 41 | static v8::Handle _StopPropagation(const v8::Arguments& args); 42 | static v8::Handle _ResumePropagation(const v8::Arguments& args); 43 | static v8::Handle _WasProcessed(const v8::Arguments& args); 44 | static v8::Handle _ShouldProcessOnlyIn(const v8::Arguments& args); 45 | static v8::Handle _DidntHonourProcessOnlyIn(const v8::Arguments& args); 46 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 47 | 48 | 49 | 50 | static v8::Persistent s_ct; 51 | }; 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxFrame.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxFrame_h_ 3 | #define _wxNode_wxFrame_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxTopLevelWindow; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxMenuBar; 13 | class wxNode_wxMenuItem; 14 | class wxNode_wxStatusBar; 15 | class wxNode_wxToolBar; 16 | class wxNode_wxMenu; 17 | 18 | 19 | class wxNode_wxFrame : public wxFrame, public wxNodeObject, public NodeExEvtHandlerImpl { 20 | public: 21 | static void Init(v8::Handle target); 22 | static void AddMethods(v8::Handle target); 23 | virtual v8::Handle self() { return m_self; } 24 | static bool AssignableFrom(const v8::Handle& className); 25 | static bool AssignableFrom(const char* className); 26 | static v8::Handle New(const wxFrame* obj); 27 | static v8::Handle New(const wxNode_wxFrame* obj); 28 | static v8::Handle NewCopy(const wxFrame& obj); 29 | 30 | 31 | 32 | wxNode_wxFrame(); 33 | 34 | wxNode_wxFrame(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size, long int style, const wxString& name); 35 | 36 | wxNode_wxFrame(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size, long int style); 37 | 38 | wxNode_wxFrame(wxWindow* parent, int id, const wxString& title, wxPoint& pos, wxSize& size); 39 | 40 | wxNode_wxFrame(wxWindow* parent, int id, const wxString& title, wxPoint& pos); 41 | 42 | wxNode_wxFrame(wxWindow* parent, int id, const wxString& title); 43 | 44 | 45 | 46 | private: 47 | static v8::Handle _init(const v8::Arguments& args); 48 | 49 | static v8::Handle _GetClientAreaOrigin(const v8::Arguments& args); 50 | static v8::Handle _SetMenuBar(const v8::Arguments& args); 51 | static v8::Handle _GetMenuBar(const v8::Arguments& args); 52 | static v8::Handle _FindItemInMenuBar(const v8::Arguments& args); 53 | static v8::Handle _ProcessCommand(const v8::Arguments& args); 54 | static v8::Handle _CreateStatusBar(const v8::Arguments& args); 55 | static v8::Handle _OnCreateStatusBar(const v8::Arguments& args); 56 | static v8::Handle _GetStatusBar(const v8::Arguments& args); 57 | static v8::Handle _SetStatusBar(const v8::Arguments& args); 58 | static v8::Handle _SetStatusText(const v8::Arguments& args); 59 | static v8::Handle _SetStatusWidths(const v8::Arguments& args); 60 | static v8::Handle _PushStatusText(const v8::Arguments& args); 61 | static v8::Handle _PopStatusText(const v8::Arguments& args); 62 | static v8::Handle _SetStatusBarPane(const v8::Arguments& args); 63 | static v8::Handle _GetStatusBarPane(const v8::Arguments& args); 64 | static v8::Handle _CreateToolBar(const v8::Arguments& args); 65 | static v8::Handle _OnCreateToolBar(const v8::Arguments& args); 66 | static v8::Handle _GetToolBar(const v8::Arguments& args); 67 | static v8::Handle _SetToolBar(const v8::Arguments& args); 68 | static v8::Handle _OnMenuOpen(const v8::Arguments& args); 69 | static v8::Handle _OnMenuClose(const v8::Arguments& args); 70 | static v8::Handle _OnMenuHighlight(const v8::Arguments& args); 71 | static v8::Handle _DoMenuUpdates(const v8::Arguments& args); 72 | static v8::Handle _UpdateWindowUI(const v8::Arguments& args); 73 | static v8::Handle _OnInternalIdle(const v8::Arguments& args); 74 | static v8::Handle _DoGiveHelp(const v8::Arguments& args); 75 | static v8::Handle _IsClientAreaChild(const v8::Arguments& args); 76 | 77 | 78 | 79 | static v8::Persistent s_ct; 80 | }; 81 | 82 | #endif 83 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxIcon.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxIcon_h_ 3 | #define _wxNode_wxIcon_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxBitmap; 9 | class wxNode_wxIcon; 10 | class wxNode_wxIconLocation; 11 | 12 | 13 | class wxNode_wxIcon : public wxIcon, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxIcon* obj); 21 | static v8::Handle New(const wxNode_wxIcon* obj); 22 | static v8::Handle NewCopy(const wxIcon& obj); 23 | 24 | 25 | 26 | wxNode_wxIcon(wxIcon& arg0); 27 | 28 | wxNode_wxIcon(); 29 | 30 | wxNode_wxIcon(const char** bits); 31 | 32 | wxNode_wxIcon(const wxString& filename, wxBitmapType type, int arg2, int arg3); 33 | 34 | wxNode_wxIcon(const wxString& filename, wxBitmapType type, int arg2); 35 | 36 | wxNode_wxIcon(const wxString& filename, wxBitmapType type); 37 | 38 | wxNode_wxIcon(const wxString& filename); 39 | 40 | wxNode_wxIcon(wxIconLocation& loc); 41 | 42 | 43 | 44 | private: 45 | static v8::Handle _init(const v8::Arguments& args); 46 | 47 | static v8::Handle _LoadFile(const v8::Arguments& args); 48 | static v8::Handle _CopyFromBitmap(const v8::Arguments& args); 49 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 50 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 51 | 52 | 53 | 54 | static v8::Persistent s_ct; 55 | }; 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxInfoBar.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxInfoBar_h_ 3 | #define _wxNode_wxInfoBar_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | 11 | 12 | class wxNode_wxInfoBar : public wxInfoBar, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxInfoBar* obj); 20 | static v8::Handle New(const wxNode_wxInfoBar* obj); 21 | static v8::Handle NewCopy(const wxInfoBar& obj); 22 | 23 | 24 | 25 | wxNode_wxInfoBar(); 26 | 27 | wxNode_wxInfoBar(wxWindow* parent, int winid); 28 | 29 | wxNode_wxInfoBar(wxWindow* parent); 30 | 31 | 32 | 33 | private: 34 | static v8::Handle _init(const v8::Arguments& args); 35 | 36 | static v8::Handle _ShowMessage(const v8::Arguments& args); 37 | static v8::Handle _Dismiss(const v8::Arguments& args); 38 | static v8::Handle _AddButton(const v8::Arguments& args); 39 | static v8::Handle _RemoveButton(const v8::Arguments& args); 40 | 41 | 42 | 43 | static v8::Persistent s_ct; 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxItemContainer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxItemContainer_h_ 3 | #define _wxNode_wxItemContainer_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxItemContainerImmutable; 9 | class wxNode_wxClientData; 10 | class wxNode_wxArrayString; 11 | 12 | 13 | class wxNode_wxItemContainer : public wxItemContainer, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxItemContainer* obj); 21 | static v8::Handle New(const wxNode_wxItemContainer* obj); 22 | static v8::Handle NewCopy(const wxItemContainer& obj); 23 | 24 | 25 | 26 | private: 27 | static v8::Handle _init(const v8::Arguments& args); 28 | 29 | static v8::Handle _Append(const v8::Arguments& args); 30 | static v8::Handle _AppendString(const v8::Arguments& args); 31 | static v8::Handle _Insert(const v8::Arguments& args); 32 | static v8::Handle _Set(const v8::Arguments& args); 33 | static v8::Handle _Clear(const v8::Arguments& args); 34 | static v8::Handle _Delete(const v8::Arguments& args); 35 | static v8::Handle _IsSorted(const v8::Arguments& args); 36 | static v8::Handle _SetClientData(const v8::Arguments& args); 37 | static v8::Handle _GetClientData(const v8::Arguments& args); 38 | static v8::Handle _SetClientObject(const v8::Arguments& args); 39 | static v8::Handle _GetClientObject(const v8::Arguments& args); 40 | static v8::Handle _DetachClientObject(const v8::Arguments& args); 41 | static v8::Handle _GetClientDataType(const v8::Arguments& args); 42 | static v8::Handle _HasClientData(const v8::Arguments& args); 43 | static v8::Handle _HasClientObjectData(const v8::Arguments& args); 44 | static v8::Handle _HasClientUntypedData(const v8::Arguments& args); 45 | 46 | 47 | 48 | static v8::Persistent s_ct; 49 | }; 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxItemContainerImmutable.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxItemContainerImmutable_h_ 3 | #define _wxNode_wxItemContainerImmutable_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | 8 | 9 | class wxNode_wxItemContainerImmutable : public wxItemContainerImmutable, public wxNodeObject, public NodeExEvtHandlerImpl { 10 | public: 11 | static void Init(v8::Handle target); 12 | static void AddMethods(v8::Handle target); 13 | virtual v8::Handle self() { return m_self; } 14 | static bool AssignableFrom(const v8::Handle& className); 15 | static bool AssignableFrom(const char* className); 16 | static v8::Handle New(const wxItemContainerImmutable* obj); 17 | static v8::Handle New(const wxNode_wxItemContainerImmutable* obj); 18 | static v8::Handle NewCopy(const wxItemContainerImmutable& obj); 19 | 20 | 21 | 22 | private: 23 | static v8::Handle _init(const v8::Arguments& args); 24 | 25 | static v8::Handle _GetCount(const v8::Arguments& args); 26 | static v8::Handle _IsEmpty(const v8::Arguments& args); 27 | static v8::Handle _GetString(const v8::Arguments& args); 28 | static v8::Handle _GetStrings(const v8::Arguments& args); 29 | static v8::Handle _SetString(const v8::Arguments& args); 30 | static v8::Handle _FindString(const v8::Arguments& args); 31 | static v8::Handle _SetSelection(const v8::Arguments& args); 32 | static v8::Handle _GetSelection(const v8::Arguments& args); 33 | static v8::Handle _SetStringSelection(const v8::Arguments& args); 34 | static v8::Handle _GetStringSelection(const v8::Arguments& args); 35 | static v8::Handle _Select(const v8::Arguments& args); 36 | 37 | 38 | 39 | static v8::Persistent s_ct; 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxKeyEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxKeyEvent_h_ 3 | #define _wxNode_wxKeyEvent_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxEvent; 9 | class wxNode_wxKeyEvent; 10 | 11 | 12 | class wxNode_wxKeyEvent : public wxKeyEvent, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxKeyEvent* obj); 20 | static v8::Handle New(const wxNode_wxKeyEvent* obj); 21 | static v8::Handle NewCopy(const wxKeyEvent& obj); 22 | 23 | 24 | 25 | wxNode_wxKeyEvent(int keyType); 26 | 27 | wxNode_wxKeyEvent(); 28 | 29 | wxNode_wxKeyEvent(wxKeyEvent& evt); 30 | 31 | wxNode_wxKeyEvent(int eventType, wxKeyEvent& evt); 32 | 33 | 34 | 35 | private: 36 | static v8::Handle _init(const v8::Arguments& args); 37 | 38 | static v8::Handle _GetKeyCode(const v8::Arguments& args); 39 | static v8::Handle _IsKeyInCategory(const v8::Arguments& args); 40 | static v8::Handle _GetUnicodeKey(const v8::Arguments& args); 41 | static v8::Handle _GetRawKeyCode(const v8::Arguments& args); 42 | static v8::Handle _GetRawKeyFlags(const v8::Arguments& args); 43 | static v8::Handle _GetPosition(const v8::Arguments& args); 44 | static v8::Handle _GetX(const v8::Arguments& args); 45 | static v8::Handle _GetY(const v8::Arguments& args); 46 | static v8::Handle _DoAllowNextEvent(const v8::Arguments& args); 47 | static v8::Handle _IsNextEventAllowed(const v8::Arguments& args); 48 | static v8::Handle _Clone(const v8::Arguments& args); 49 | static v8::Handle _GetEventCategory(const v8::Arguments& args); 50 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 51 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 52 | 53 | 54 | 55 | static v8::Persistent s_ct; 56 | }; 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxListBox.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxListBox_h_ 3 | #define _wxNode_wxListBox_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControlWithItems; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxValidator; 13 | class wxNode_wxArrayString; 14 | class wxNode_wxArrayInt; 15 | class wxNode_wxCommandEvent; 16 | class wxNode_wxClientData; 17 | 18 | 19 | class wxNode_wxListBox : public wxListBox, public wxNodeObject, public NodeExEvtHandlerImpl { 20 | public: 21 | static void Init(v8::Handle target); 22 | static void AddMethods(v8::Handle target); 23 | virtual v8::Handle self() { return m_self; } 24 | static bool AssignableFrom(const v8::Handle& className); 25 | static bool AssignableFrom(const char* className); 26 | static v8::Handle New(const wxListBox* obj); 27 | static v8::Handle New(const wxNode_wxListBox* obj); 28 | static v8::Handle NewCopy(const wxListBox& obj); 29 | 30 | 31 | 32 | wxNode_wxListBox(); 33 | 34 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, int n, const wxString* choices, long int style, wxValidator& validator, const wxString& name); 35 | 36 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, int n, const wxString* choices, long int style, wxValidator& validator); 37 | 38 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, int n, const wxString* choices, long int style); 39 | 40 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, int n, const wxString* choices); 41 | 42 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, int n); 43 | 44 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size); 45 | 46 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos); 47 | 48 | wxNode_wxListBox(wxWindow* parent, int id); 49 | 50 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, wxArrayString& choices, long int style, wxValidator& validator, const wxString& name); 51 | 52 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, wxArrayString& choices, long int style, wxValidator& validator); 53 | 54 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, wxArrayString& choices, long int style); 55 | 56 | wxNode_wxListBox(wxWindow* parent, int id, wxPoint& pos, wxSize& size, wxArrayString& choices); 57 | 58 | 59 | 60 | private: 61 | static v8::Handle _init(const v8::Arguments& args); 62 | 63 | static v8::Handle _InsertItems(const v8::Arguments& args); 64 | static v8::Handle _IsSelected(const v8::Arguments& args); 65 | static v8::Handle _SetSelection(const v8::Arguments& args); 66 | static v8::Handle _Deselect(const v8::Arguments& args); 67 | static v8::Handle _DeselectAll(const v8::Arguments& args); 68 | static v8::Handle _SetStringSelection(const v8::Arguments& args); 69 | static v8::Handle _GetSelections(const v8::Arguments& args); 70 | static v8::Handle _SetFirstItem(const v8::Arguments& args); 71 | static v8::Handle _EnsureVisible(const v8::Arguments& args); 72 | static v8::Handle _AppendAndEnsureVisible(const v8::Arguments& args); 73 | static v8::Handle _HasMultipleSelection(const v8::Arguments& args); 74 | static v8::Handle _IsSorted(const v8::Arguments& args); 75 | static v8::Handle _Command(const v8::Arguments& args); 76 | static v8::Handle _HitTest(const v8::Arguments& args); 77 | static v8::Handle _Append(const v8::Arguments& args); 78 | static v8::Handle _AppendString(const v8::Arguments& args); 79 | static v8::Handle _Insert(const v8::Arguments& args); 80 | static v8::Handle _Set(const v8::Arguments& args); 81 | static v8::Handle _Clear(const v8::Arguments& args); 82 | static v8::Handle _Delete(const v8::Arguments& args); 83 | static v8::Handle _SetClientData(const v8::Arguments& args); 84 | static v8::Handle _GetClientData(const v8::Arguments& args); 85 | static v8::Handle _SetClientObject(const v8::Arguments& args); 86 | static v8::Handle _GetClientObject(const v8::Arguments& args); 87 | static v8::Handle _DetachClientObject(const v8::Arguments& args); 88 | static v8::Handle _GetClientDataType(const v8::Arguments& args); 89 | static v8::Handle _HasClientData(const v8::Arguments& args); 90 | static v8::Handle _HasClientObjectData(const v8::Arguments& args); 91 | static v8::Handle _HasClientUntypedData(const v8::Arguments& args); 92 | 93 | 94 | 95 | static v8::Persistent s_ct; 96 | }; 97 | 98 | #endif 99 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxLogWindow.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxLogWindow_h_ 3 | #define _wxNode_wxLogWindow_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxLogInterposer; 9 | class wxNode_wxWindow; 10 | 11 | 12 | class wxNode_wxLogWindow : public wxLogWindow, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxLogWindow* obj); 20 | static v8::Handle New(const wxNode_wxLogWindow* obj); 21 | static v8::Handle NewCopy(const wxLogWindow& obj); 22 | 23 | 24 | 25 | wxNode_wxLogWindow(wxWindow* pParent, const wxString& szTitle, bool bShow, bool bPassToOld); 26 | 27 | wxNode_wxLogWindow(wxWindow* pParent, const wxString& szTitle, bool bShow); 28 | 29 | wxNode_wxLogWindow(wxWindow* pParent, const wxString& szTitle); 30 | 31 | 32 | 33 | private: 34 | static v8::Handle _init(const v8::Arguments& args); 35 | 36 | static v8::Handle _Show(const v8::Arguments& args); 37 | static v8::Handle _GetFrame(const v8::Arguments& args); 38 | static v8::Handle _OnFrameCreate(const v8::Arguments& args); 39 | static v8::Handle _OnFrameClose(const v8::Arguments& args); 40 | static v8::Handle _OnFrameDelete(const v8::Arguments& args); 41 | 42 | 43 | 44 | static v8::Persistent s_ct; 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxMenu.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxMenu_h_ 3 | #define _wxNode_wxMenu_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxMenu; 9 | class wxNode_wxMenuItem; 10 | class wxNode_wxWindow; 11 | class wxNode_wxMenuBar; 12 | 13 | 14 | class wxNode_wxMenu : public wxMenu, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxMenu* obj); 22 | static v8::Handle New(const wxNode_wxMenu* obj); 23 | static v8::Handle NewCopy(const wxMenu& obj); 24 | 25 | 26 | 27 | wxNode_wxMenu(const wxString& title, long int style); 28 | 29 | wxNode_wxMenu(const wxString& title); 30 | 31 | wxNode_wxMenu(long int style); 32 | 33 | wxNode_wxMenu(); 34 | 35 | 36 | 37 | private: 38 | static v8::Handle _init(const v8::Arguments& args); 39 | 40 | static v8::Handle _Append(const v8::Arguments& args); 41 | static v8::Handle _AppendSeparator(const v8::Arguments& args); 42 | static v8::Handle _AppendCheckItem(const v8::Arguments& args); 43 | static v8::Handle _AppendRadioItem(const v8::Arguments& args); 44 | static v8::Handle _AppendSubMenu(const v8::Arguments& args); 45 | static v8::Handle _Break(const v8::Arguments& args); 46 | static v8::Handle _Insert(const v8::Arguments& args); 47 | static v8::Handle _InsertSeparator(const v8::Arguments& args); 48 | static v8::Handle _InsertCheckItem(const v8::Arguments& args); 49 | static v8::Handle _InsertRadioItem(const v8::Arguments& args); 50 | static v8::Handle _Prepend(const v8::Arguments& args); 51 | static v8::Handle _PrependSeparator(const v8::Arguments& args); 52 | static v8::Handle _PrependCheckItem(const v8::Arguments& args); 53 | static v8::Handle _PrependRadioItem(const v8::Arguments& args); 54 | static v8::Handle _Remove(const v8::Arguments& args); 55 | static v8::Handle _Delete(const v8::Arguments& args); 56 | static v8::Handle _Destroy(const v8::Arguments& args); 57 | static v8::Handle _GetMenuItemCount(const v8::Arguments& args); 58 | static v8::Handle _GetMenuItems(const v8::Arguments& args); 59 | static v8::Handle _FindItem(const v8::Arguments& args); 60 | static v8::Handle _FindItemByPosition(const v8::Arguments& args); 61 | static v8::Handle _Enable(const v8::Arguments& args); 62 | static v8::Handle _IsEnabled(const v8::Arguments& args); 63 | static v8::Handle _Check(const v8::Arguments& args); 64 | static v8::Handle _IsChecked(const v8::Arguments& args); 65 | static v8::Handle _SetLabel(const v8::Arguments& args); 66 | static v8::Handle _GetLabel(const v8::Arguments& args); 67 | static v8::Handle _GetLabelText(const v8::Arguments& args); 68 | static v8::Handle _SetHelpString(const v8::Arguments& args); 69 | static v8::Handle _GetHelpString(const v8::Arguments& args); 70 | static v8::Handle _SetTitle(const v8::Arguments& args); 71 | static v8::Handle _GetTitle(const v8::Arguments& args); 72 | static v8::Handle _SetEventHandler(const v8::Arguments& args); 73 | static v8::Handle _GetEventHandler(const v8::Arguments& args); 74 | static v8::Handle _SetInvokingWindow(const v8::Arguments& args); 75 | static v8::Handle _GetInvokingWindow(const v8::Arguments& args); 76 | static v8::Handle _GetWindow(const v8::Arguments& args); 77 | static v8::Handle _GetStyle(const v8::Arguments& args); 78 | static v8::Handle _UpdateUI(const v8::Arguments& args); 79 | static v8::Handle _GetMenuBar(const v8::Arguments& args); 80 | static v8::Handle _Attach(const v8::Arguments& args); 81 | static v8::Handle _Detach(const v8::Arguments& args); 82 | static v8::Handle _IsAttached(const v8::Arguments& args); 83 | static v8::Handle _SetParent(const v8::Arguments& args); 84 | static v8::Handle _GetParent(const v8::Arguments& args); 85 | static v8::Handle _FindChildItem(const v8::Arguments& args); 86 | static v8::Handle _SendEvent(const v8::Arguments& args); 87 | static v8::Handle _LockAccels(const v8::Arguments& args); 88 | 89 | 90 | 91 | static v8::Persistent s_ct; 92 | }; 93 | 94 | #endif 95 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxMenuBar.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxMenuBar_h_ 3 | #define _wxNode_wxMenuBar_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxWindow; 9 | class wxNode_wxMenu; 10 | class wxNode_wxFrame; 11 | 12 | 13 | class wxNode_wxMenuBar : public wxMenuBar, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxMenuBar* obj); 21 | static v8::Handle New(const wxNode_wxMenuBar* obj); 22 | static v8::Handle NewCopy(const wxMenuBar& obj); 23 | 24 | 25 | 26 | wxNode_wxMenuBar(); 27 | 28 | wxNode_wxMenuBar(long int style); 29 | 30 | wxNode_wxMenuBar(unsigned int n, wxMenu** menus, const wxString* titles, long int style); 31 | 32 | wxNode_wxMenuBar(unsigned int n, wxMenu** menus, const wxString* titles); 33 | 34 | 35 | 36 | private: 37 | static v8::Handle _init(const v8::Arguments& args); 38 | 39 | static v8::Handle _Append(const v8::Arguments& args); 40 | static v8::Handle _Insert(const v8::Arguments& args); 41 | static v8::Handle _GetMenuCount(const v8::Arguments& args); 42 | static v8::Handle _GetMenu(const v8::Arguments& args); 43 | static v8::Handle _Replace(const v8::Arguments& args); 44 | static v8::Handle _Remove(const v8::Arguments& args); 45 | static v8::Handle _EnableTop(const v8::Arguments& args); 46 | static v8::Handle _IsEnabledTop(const v8::Arguments& args); 47 | static v8::Handle _SetMenuLabel(const v8::Arguments& args); 48 | static v8::Handle _GetMenuLabel(const v8::Arguments& args); 49 | static v8::Handle _GetMenuLabelText(const v8::Arguments& args); 50 | static v8::Handle _FindMenuItem(const v8::Arguments& args); 51 | static v8::Handle _FindItem(const v8::Arguments& args); 52 | static v8::Handle _FindMenu(const v8::Arguments& args); 53 | static v8::Handle _Enable(const v8::Arguments& args); 54 | static v8::Handle _Check(const v8::Arguments& args); 55 | static v8::Handle _IsChecked(const v8::Arguments& args); 56 | static v8::Handle _IsEnabled(const v8::Arguments& args); 57 | static v8::Handle _SetLabel(const v8::Arguments& args); 58 | static v8::Handle _GetLabel(const v8::Arguments& args); 59 | static v8::Handle _SetHelpString(const v8::Arguments& args); 60 | static v8::Handle _GetHelpString(const v8::Arguments& args); 61 | static v8::Handle _GetFrame(const v8::Arguments& args); 62 | static v8::Handle _IsAttached(const v8::Arguments& args); 63 | static v8::Handle _Attach(const v8::Arguments& args); 64 | static v8::Handle _Detach(const v8::Arguments& args); 65 | static v8::Handle _AcceptsFocusFromKeyboard(const v8::Arguments& args); 66 | static v8::Handle _UpdateMenus(const v8::Arguments& args); 67 | static v8::Handle _CanBeOutsideClientArea(const v8::Arguments& args); 68 | 69 | 70 | 71 | static v8::Persistent s_ct; 72 | }; 73 | 74 | #endif 75 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxMenuItem.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxMenuItem_h_ 3 | #define _wxNode_wxMenuItem_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxObject; 9 | class wxNode_wxMenu; 10 | class wxNode_wxAcceleratorEntry; 11 | 12 | 13 | class wxNode_wxMenuItem : public wxMenuItem, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxMenuItem* obj); 21 | static v8::Handle New(const wxNode_wxMenuItem* obj); 22 | static v8::Handle NewCopy(const wxMenuItem& obj); 23 | 24 | 25 | 26 | wxNode_wxMenuItem(wxMenu* parentMenu, int id, const wxString& text, const wxString& help, wxItemKind kind, wxMenu* subMenu); 27 | 28 | wxNode_wxMenuItem(wxMenu* parentMenu, int id, const wxString& text, const wxString& help, wxItemKind kind); 29 | 30 | wxNode_wxMenuItem(wxMenu* parentMenu, int id, const wxString& text, const wxString& help); 31 | 32 | wxNode_wxMenuItem(wxMenu* parentMenu, int id, const wxString& text); 33 | 34 | wxNode_wxMenuItem(wxMenu* parentMenu, int id); 35 | 36 | wxNode_wxMenuItem(wxMenu* parentMenu); 37 | 38 | wxNode_wxMenuItem(); 39 | 40 | 41 | 42 | private: 43 | static v8::Handle _init(const v8::Arguments& args); 44 | 45 | static v8::Handle _GetMenu(const v8::Arguments& args); 46 | static v8::Handle _SetMenu(const v8::Arguments& args); 47 | static v8::Handle _SetId(const v8::Arguments& args); 48 | static v8::Handle _GetId(const v8::Arguments& args); 49 | static v8::Handle _SetItemLabel(const v8::Arguments& args); 50 | static v8::Handle _GetItemLabel(const v8::Arguments& args); 51 | static v8::Handle _GetItemLabelText(const v8::Arguments& args); 52 | static v8::Handle _GetLabelText(const v8::Arguments& args); 53 | static v8::Handle _GetKind(const v8::Arguments& args); 54 | static v8::Handle _SetKind(const v8::Arguments& args); 55 | static v8::Handle _IsSeparator(const v8::Arguments& args); 56 | static v8::Handle _SetCheckable(const v8::Arguments& args); 57 | static v8::Handle _IsCheckable(const v8::Arguments& args); 58 | static v8::Handle _IsSubMenu(const v8::Arguments& args); 59 | static v8::Handle _SetSubMenu(const v8::Arguments& args); 60 | static v8::Handle _GetSubMenu(const v8::Arguments& args); 61 | static v8::Handle _Enable(const v8::Arguments& args); 62 | static v8::Handle _IsEnabled(const v8::Arguments& args); 63 | static v8::Handle _Check(const v8::Arguments& args); 64 | static v8::Handle _IsChecked(const v8::Arguments& args); 65 | static v8::Handle _Toggle(const v8::Arguments& args); 66 | static v8::Handle _SetHelp(const v8::Arguments& args); 67 | static v8::Handle _GetHelp(const v8::Arguments& args); 68 | static v8::Handle _GetAccel(const v8::Arguments& args); 69 | static v8::Handle _SetAccel(const v8::Arguments& args); 70 | 71 | 72 | 73 | static v8::Persistent s_ct; 74 | }; 75 | 76 | #endif 77 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxNonOwnedWindow.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxNonOwnedWindow_h_ 3 | #define _wxNode_wxNonOwnedWindow_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxWindow; 9 | class wxNode_wxRegion; 10 | class wxNode_wxGraphicsPath; 11 | 12 | 13 | class wxNode_wxNonOwnedWindow : public wxNonOwnedWindow, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxNonOwnedWindow* obj); 21 | static v8::Handle New(const wxNode_wxNonOwnedWindow* obj); 22 | static v8::Handle NewCopy(const wxNonOwnedWindow& obj); 23 | 24 | 25 | 26 | wxNode_wxNonOwnedWindow(); 27 | 28 | 29 | 30 | private: 31 | static v8::Handle _init(const v8::Arguments& args); 32 | 33 | static v8::Handle _SetShape(const v8::Arguments& args); 34 | 35 | 36 | 37 | static v8::Persistent s_ct; 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxNotebook.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxNotebook_h_ 3 | #define _wxNode_wxNotebook_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxBookCtrlBase; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | 13 | 14 | class wxNode_wxNotebook : public wxNotebook, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxNotebook* obj); 22 | static v8::Handle New(const wxNode_wxNotebook* obj); 23 | static v8::Handle NewCopy(const wxNotebook& obj); 24 | 25 | 26 | 27 | wxNode_wxNotebook(); 28 | 29 | wxNode_wxNotebook(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style, const wxString& name); 30 | 31 | wxNode_wxNotebook(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style); 32 | 33 | wxNode_wxNotebook(wxWindow* parent, int id, wxPoint& pos, wxSize& size); 34 | 35 | wxNode_wxNotebook(wxWindow* parent, int id, wxPoint& pos); 36 | 37 | wxNode_wxNotebook(wxWindow* parent, int id); 38 | 39 | 40 | 41 | private: 42 | static v8::Handle _init(const v8::Arguments& args); 43 | 44 | static v8::Handle _GetRowCount(const v8::Arguments& args); 45 | static v8::Handle _SetPadding(const v8::Arguments& args); 46 | static v8::Handle _SetTabSize(const v8::Arguments& args); 47 | static v8::Handle _CalcSizeFromPage(const v8::Arguments& args); 48 | static v8::Handle _GetThemeBackgroundColour(const v8::Arguments& args); 49 | static v8::Handle _SendPageChangingEvent(const v8::Arguments& args); 50 | static v8::Handle _SendPageChangedEvent(const v8::Arguments& args); 51 | static v8::Handle _AcceptsFocus(const v8::Arguments& args); 52 | 53 | 54 | 55 | static v8::Persistent s_ct; 56 | }; 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxNotifyEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxNotifyEvent_h_ 3 | #define _wxNode_wxNotifyEvent_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxCommandEvent; 9 | class wxNode_wxNotifyEvent; 10 | 11 | 12 | class wxNode_wxNotifyEvent : public wxNotifyEvent, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxNotifyEvent* obj); 20 | static v8::Handle New(const wxNode_wxNotifyEvent* obj); 21 | static v8::Handle NewCopy(const wxNotifyEvent& obj); 22 | 23 | 24 | 25 | wxNode_wxNotifyEvent(int commandType, int winid); 26 | 27 | wxNode_wxNotifyEvent(int commandType); 28 | 29 | wxNode_wxNotifyEvent(); 30 | 31 | wxNode_wxNotifyEvent(wxNotifyEvent& event); 32 | 33 | 34 | 35 | private: 36 | static v8::Handle _init(const v8::Arguments& args); 37 | 38 | static v8::Handle _Veto(const v8::Arguments& args); 39 | static v8::Handle _Allow(const v8::Arguments& args); 40 | static v8::Handle _IsAllowed(const v8::Arguments& args); 41 | static v8::Handle _Clone(const v8::Arguments& args); 42 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 43 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 44 | 45 | 46 | 47 | static v8::Persistent s_ct; 48 | }; 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxPanel.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxPanel_h_ 3 | #define _wxNode_wxPanel_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxNavigationEnabled; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | 13 | 14 | class wxNode_wxPanel : public wxPanel, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxPanel* obj); 22 | static v8::Handle New(const wxNode_wxPanel* obj); 23 | static v8::Handle NewCopy(const wxPanel& obj); 24 | 25 | 26 | 27 | wxNode_wxPanel(); 28 | 29 | wxNode_wxPanel(wxWindow* parent, int winid, wxPoint& pos, wxSize& size, long int style, const wxString& name); 30 | 31 | wxNode_wxPanel(wxWindow* parent, int winid, wxPoint& pos, wxSize& size, long int style); 32 | 33 | wxNode_wxPanel(wxWindow* parent, int winid, wxPoint& pos, wxSize& size); 34 | 35 | wxNode_wxPanel(wxWindow* parent, int winid, wxPoint& pos); 36 | 37 | wxNode_wxPanel(wxWindow* parent, int winid); 38 | 39 | wxNode_wxPanel(wxWindow* parent); 40 | 41 | wxNode_wxPanel(wxWindow* parent, int x, int y, int width, int height, long int style, const wxString& name); 42 | 43 | wxNode_wxPanel(wxWindow* parent, int x, int y, int width, int height, long int style); 44 | 45 | wxNode_wxPanel(wxWindow* parent, int x, int y, int width, int height); 46 | 47 | 48 | 49 | private: 50 | static v8::Handle _init(const v8::Arguments& args); 51 | 52 | static v8::Handle _Create(const v8::Arguments& args); 53 | static v8::Handle _InitDialog(const v8::Arguments& args); 54 | 55 | 56 | 57 | static v8::Persistent s_ct; 58 | }; 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxPoint.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxPoint_h_ 3 | #define _wxNode_wxPoint_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxPoint; 8 | class wxNode_wxRealPoint; 9 | 10 | 11 | class wxNode_wxPoint : public wxPoint, public wxNodeObject, public NodeExEvtHandlerImpl { 12 | public: 13 | static void Init(v8::Handle target); 14 | static void AddMethods(v8::Handle target); 15 | virtual v8::Handle self() { return m_self; } 16 | static bool AssignableFrom(const v8::Handle& className); 17 | static bool AssignableFrom(const char* className); 18 | static v8::Handle New(const wxPoint* obj); 19 | static v8::Handle New(const wxNode_wxPoint* obj); 20 | static v8::Handle NewCopy(const wxPoint& obj); 21 | 22 | 23 | 24 | wxNode_wxPoint(wxPoint& arg0); 25 | 26 | wxNode_wxPoint(); 27 | 28 | wxNode_wxPoint(int xx, int yy); 29 | 30 | wxNode_wxPoint(wxRealPoint& pt); 31 | 32 | 33 | 34 | private: 35 | static v8::Handle _init(const v8::Arguments& args); 36 | 37 | static v8::Handle _IsFullySpecified(const v8::Arguments& args); 38 | static v8::Handle _SetDefaults(const v8::Arguments& args); 39 | 40 | static v8::Handle _xGet(v8::Local name, const v8::AccessorInfo& info); 41 | static void _xSet(v8::Local name, v8::Local val, const v8::AccessorInfo& info); 42 | static v8::Handle _yGet(v8::Local name, const v8::AccessorInfo& info); 43 | static void _ySet(v8::Local name, v8::Local val, const v8::AccessorInfo& info); 44 | 45 | 46 | static v8::Persistent s_ct; 47 | }; 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxSize.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxSize_h_ 3 | #define _wxNode_wxSize_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxSize; 8 | class wxNode_wxPoint; 9 | 10 | 11 | class wxNode_wxSize : public wxSize, public wxNodeObject, public NodeExEvtHandlerImpl { 12 | public: 13 | static void Init(v8::Handle target); 14 | static void AddMethods(v8::Handle target); 15 | virtual v8::Handle self() { return m_self; } 16 | static bool AssignableFrom(const v8::Handle& className); 17 | static bool AssignableFrom(const char* className); 18 | static v8::Handle New(const wxSize* obj); 19 | static v8::Handle New(const wxNode_wxSize* obj); 20 | static v8::Handle NewCopy(const wxSize& obj); 21 | 22 | 23 | 24 | wxNode_wxSize(wxSize& arg0); 25 | 26 | wxNode_wxSize(); 27 | 28 | wxNode_wxSize(int xx, int yy); 29 | 30 | 31 | 32 | private: 33 | static v8::Handle _init(const v8::Arguments& args); 34 | 35 | static v8::Handle _IncTo(const v8::Arguments& args); 36 | static v8::Handle _DecTo(const v8::Arguments& args); 37 | static v8::Handle _IncBy(const v8::Arguments& args); 38 | static v8::Handle _DecBy(const v8::Arguments& args); 39 | static v8::Handle _Scale(const v8::Arguments& args); 40 | static v8::Handle _Set(const v8::Arguments& args); 41 | static v8::Handle _SetWidth(const v8::Arguments& args); 42 | static v8::Handle _SetHeight(const v8::Arguments& args); 43 | static v8::Handle _GetWidth(const v8::Arguments& args); 44 | static v8::Handle _GetHeight(const v8::Arguments& args); 45 | static v8::Handle _IsFullySpecified(const v8::Arguments& args); 46 | static v8::Handle _SetDefaults(const v8::Arguments& args); 47 | static v8::Handle _GetX(const v8::Arguments& args); 48 | static v8::Handle _GetY(const v8::Arguments& args); 49 | 50 | static v8::Handle _xGet(v8::Local name, const v8::AccessorInfo& info); 51 | static void _xSet(v8::Local name, v8::Local val, const v8::AccessorInfo& info); 52 | static v8::Handle _yGet(v8::Local name, const v8::AccessorInfo& info); 53 | static void _ySet(v8::Local name, v8::Local val, const v8::AccessorInfo& info); 54 | 55 | 56 | static v8::Persistent s_ct; 57 | }; 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxSizer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxSizer_h_ 3 | #define _wxNode_wxSizer_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxObject; 9 | class wxNode_wxWindow; 10 | class wxNode_wxSizer; 11 | class wxNode_wxSizerFlags; 12 | class wxNode_wxSizerItem; 13 | class wxNode_wxSize; 14 | class wxNode_wxPoint; 15 | 16 | 17 | class wxNode_wxSizer : public wxSizer, public wxNodeObject, public NodeExEvtHandlerImpl { 18 | public: 19 | static void Init(v8::Handle target); 20 | static void AddMethods(v8::Handle target); 21 | virtual v8::Handle self() { return m_self; } 22 | static bool AssignableFrom(const v8::Handle& className); 23 | static bool AssignableFrom(const char* className); 24 | static v8::Handle New(const wxSizer* obj); 25 | static v8::Handle New(const wxNode_wxSizer* obj); 26 | static v8::Handle NewCopy(const wxSizer& obj); 27 | 28 | 29 | 30 | private: 31 | static v8::Handle _init(const v8::Arguments& args); 32 | 33 | static v8::Handle _Add(const v8::Arguments& args); 34 | static v8::Handle _AddSpacer(const v8::Arguments& args); 35 | static v8::Handle _AddStretchSpacer(const v8::Arguments& args); 36 | static v8::Handle _Insert(const v8::Arguments& args); 37 | static v8::Handle _InsertSpacer(const v8::Arguments& args); 38 | static v8::Handle _InsertStretchSpacer(const v8::Arguments& args); 39 | static v8::Handle _Prepend(const v8::Arguments& args); 40 | static v8::Handle _PrependSpacer(const v8::Arguments& args); 41 | static v8::Handle _PrependStretchSpacer(const v8::Arguments& args); 42 | static v8::Handle _SetContainingWindow(const v8::Arguments& args); 43 | static v8::Handle _GetContainingWindow(const v8::Arguments& args); 44 | static v8::Handle _Remove(const v8::Arguments& args); 45 | static v8::Handle _Detach(const v8::Arguments& args); 46 | static v8::Handle _Replace(const v8::Arguments& args); 47 | static v8::Handle _Clear(const v8::Arguments& args); 48 | static v8::Handle _DeleteWindows(const v8::Arguments& args); 49 | static v8::Handle _InformFirstDirection(const v8::Arguments& args); 50 | static v8::Handle _SetMinSize(const v8::Arguments& args); 51 | static v8::Handle _SetItemMinSize(const v8::Arguments& args); 52 | static v8::Handle _GetSize(const v8::Arguments& args); 53 | static v8::Handle _GetPosition(const v8::Arguments& args); 54 | static v8::Handle _GetMinSize(const v8::Arguments& args); 55 | static v8::Handle _CalcMin(const v8::Arguments& args); 56 | static v8::Handle _RecalcSizes(const v8::Arguments& args); 57 | static v8::Handle _Layout(const v8::Arguments& args); 58 | static v8::Handle _ComputeFittingClientSize(const v8::Arguments& args); 59 | static v8::Handle _ComputeFittingWindowSize(const v8::Arguments& args); 60 | static v8::Handle _Fit(const v8::Arguments& args); 61 | static v8::Handle _FitInside(const v8::Arguments& args); 62 | static v8::Handle _SetSizeHints(const v8::Arguments& args); 63 | static v8::Handle _GetChildren(const v8::Arguments& args); 64 | static v8::Handle _SetDimension(const v8::Arguments& args); 65 | static v8::Handle _GetItemCount(const v8::Arguments& args); 66 | static v8::Handle _IsEmpty(const v8::Arguments& args); 67 | static v8::Handle _GetItem(const v8::Arguments& args); 68 | static v8::Handle _GetItemById(const v8::Arguments& args); 69 | static v8::Handle _Show(const v8::Arguments& args); 70 | static v8::Handle _Hide(const v8::Arguments& args); 71 | static v8::Handle _IsShown(const v8::Arguments& args); 72 | static v8::Handle _ShowItems(const v8::Arguments& args); 73 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 74 | 75 | 76 | 77 | static v8::Persistent s_ct; 78 | }; 79 | 80 | #endif 81 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxSizerFlags.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxSizerFlags_h_ 3 | #define _wxNode_wxSizerFlags_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxSizerFlags; 8 | 9 | 10 | class wxNode_wxSizerFlags : public wxSizerFlags, public wxNodeObject, public NodeExEvtHandlerImpl { 11 | public: 12 | static void Init(v8::Handle target); 13 | static void AddMethods(v8::Handle target); 14 | virtual v8::Handle self() { return m_self; } 15 | static bool AssignableFrom(const v8::Handle& className); 16 | static bool AssignableFrom(const char* className); 17 | static v8::Handle New(const wxSizerFlags* obj); 18 | static v8::Handle New(const wxNode_wxSizerFlags* obj); 19 | static v8::Handle NewCopy(const wxSizerFlags& obj); 20 | 21 | 22 | 23 | wxNode_wxSizerFlags(wxSizerFlags& arg0); 24 | 25 | wxNode_wxSizerFlags(int proportion); 26 | 27 | wxNode_wxSizerFlags(); 28 | 29 | 30 | 31 | private: 32 | static v8::Handle _init(const v8::Arguments& args); 33 | 34 | static v8::Handle _Proportion(const v8::Arguments& args); 35 | static v8::Handle _Expand(const v8::Arguments& args); 36 | static v8::Handle _Align(const v8::Arguments& args); 37 | static v8::Handle _Centre(const v8::Arguments& args); 38 | static v8::Handle _Center(const v8::Arguments& args); 39 | static v8::Handle _Top(const v8::Arguments& args); 40 | static v8::Handle _Left(const v8::Arguments& args); 41 | static v8::Handle _Right(const v8::Arguments& args); 42 | static v8::Handle _Bottom(const v8::Arguments& args); 43 | static v8::Handle _GetDefaultBorder(const v8::Arguments& args); 44 | static v8::Handle _Border(const v8::Arguments& args); 45 | static v8::Handle _DoubleBorder(const v8::Arguments& args); 46 | static v8::Handle _TripleBorder(const v8::Arguments& args); 47 | static v8::Handle _HorzBorder(const v8::Arguments& args); 48 | static v8::Handle _DoubleHorzBorder(const v8::Arguments& args); 49 | static v8::Handle _Shaped(const v8::Arguments& args); 50 | static v8::Handle _FixedMinSize(const v8::Arguments& args); 51 | static v8::Handle _ReserveSpaceEvenIfHidden(const v8::Arguments& args); 52 | static v8::Handle _GetProportion(const v8::Arguments& args); 53 | static v8::Handle _GetFlags(const v8::Arguments& args); 54 | static v8::Handle _GetBorderInPixels(const v8::Arguments& args); 55 | 56 | 57 | 58 | static v8::Persistent s_ct; 59 | }; 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxStaticText.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxStaticText_h_ 3 | #define _wxNode_wxStaticText_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | 13 | 14 | class wxNode_wxStaticText : public wxStaticText, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxStaticText* obj); 22 | static v8::Handle New(const wxNode_wxStaticText* obj); 23 | static v8::Handle NewCopy(const wxStaticText& obj); 24 | 25 | 26 | 27 | wxNode_wxStaticText(); 28 | 29 | wxNode_wxStaticText(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size, long int style, const wxString& name); 30 | 31 | wxNode_wxStaticText(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size, long int style); 32 | 33 | wxNode_wxStaticText(wxWindow* parent, int id, const wxString& label, wxPoint& pos, wxSize& size); 34 | 35 | wxNode_wxStaticText(wxWindow* parent, int id, const wxString& label, wxPoint& pos); 36 | 37 | wxNode_wxStaticText(wxWindow* parent, int id, const wxString& label); 38 | 39 | 40 | 41 | private: 42 | static v8::Handle _init(const v8::Arguments& args); 43 | 44 | static v8::Handle _Wrap(const v8::Arguments& args); 45 | static v8::Handle _AcceptsFocus(const v8::Arguments& args); 46 | static v8::Handle _HasTransparentBackground(const v8::Arguments& args); 47 | static v8::Handle _IsEllipsized(const v8::Arguments& args); 48 | 49 | 50 | 51 | static v8::Persistent s_ct; 52 | }; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxTextCtrl.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextCtrl_h_ 3 | #define _wxNode_wxTextCtrl_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxValidator; 13 | class wxNode_wxKeyEvent; 14 | class wxNode_wxUpdateUIEvent; 15 | class wxNode_wxTextAttr; 16 | 17 | 18 | class wxNode_wxTextCtrl : public wxTextCtrl, public wxNodeObject, public NodeExEvtHandlerImpl { 19 | public: 20 | static void Init(v8::Handle target); 21 | static void AddMethods(v8::Handle target); 22 | virtual v8::Handle self() { return m_self; } 23 | static bool AssignableFrom(const v8::Handle& className); 24 | static bool AssignableFrom(const char* className); 25 | static v8::Handle New(const wxTextCtrl* obj); 26 | static v8::Handle New(const wxNode_wxTextCtrl* obj); 27 | static v8::Handle NewCopy(const wxTextCtrl& obj); 28 | 29 | 30 | 31 | wxNode_wxTextCtrl(); 32 | 33 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value, wxPoint& pos, wxSize& size, long int style, wxValidator& validator, const wxString& name); 34 | 35 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value, wxPoint& pos, wxSize& size, long int style, wxValidator& validator); 36 | 37 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value, wxPoint& pos, wxSize& size, long int style); 38 | 39 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value, wxPoint& pos, wxSize& size); 40 | 41 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value, wxPoint& pos); 42 | 43 | wxNode_wxTextCtrl(wxWindow* parent, int id, const wxString& value); 44 | 45 | wxNode_wxTextCtrl(wxWindow* parent, int id); 46 | 47 | 48 | 49 | private: 50 | static v8::Handle _init(const v8::Arguments& args); 51 | 52 | static v8::Handle _IsSingleLine(const v8::Arguments& args); 53 | static v8::Handle _IsMultiLine(const v8::Arguments& args); 54 | static v8::Handle _EmulateKeyPress(const v8::Arguments& args); 55 | static v8::Handle _DoUpdateWindowUI(const v8::Arguments& args); 56 | static v8::Handle _ShouldInheritColours(const v8::Arguments& args); 57 | static v8::Handle _HitTest(const v8::Arguments& args); 58 | static v8::Handle _SetStyle(const v8::Arguments& args); 59 | static v8::Handle _GetStyle(const v8::Arguments& args); 60 | static v8::Handle _SetDefaultStyle(const v8::Arguments& args); 61 | static v8::Handle _GetValue(const v8::Arguments& args); 62 | static v8::Handle _SetValue(const v8::Arguments& args); 63 | static v8::Handle _GetDefaultAttributes(const v8::Arguments& args); 64 | static v8::Handle _GetClassDefaultAttributes(const v8::Arguments& args); 65 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 66 | 67 | 68 | 69 | static v8::Persistent s_ct; 70 | }; 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxTextEntry.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextEntry_h_ 3 | #define _wxNode_wxTextEntry_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxArrayString; 8 | class wxNode_wxTextCompleter; 9 | class wxNode_wxPoint; 10 | class wxNode_wxWindow; 11 | 12 | 13 | class wxNode_wxTextEntry : public wxTextEntry, public wxNodeObject, public NodeExEvtHandlerImpl { 14 | public: 15 | static void Init(v8::Handle target); 16 | static void AddMethods(v8::Handle target); 17 | virtual v8::Handle self() { return m_self; } 18 | static bool AssignableFrom(const v8::Handle& className); 19 | static bool AssignableFrom(const char* className); 20 | static v8::Handle New(const wxTextEntry* obj); 21 | static v8::Handle New(const wxNode_wxTextEntry* obj); 22 | static v8::Handle NewCopy(const wxTextEntry& obj); 23 | 24 | 25 | 26 | private: 27 | static v8::Handle _init(const v8::Arguments& args); 28 | 29 | static v8::Handle _SetValue(const v8::Arguments& args); 30 | static v8::Handle _ChangeValue(const v8::Arguments& args); 31 | static v8::Handle _WriteText(const v8::Arguments& args); 32 | static v8::Handle _AppendText(const v8::Arguments& args); 33 | static v8::Handle _GetValue(const v8::Arguments& args); 34 | static v8::Handle _GetRange(const v8::Arguments& args); 35 | static v8::Handle _IsEmpty(const v8::Arguments& args); 36 | static v8::Handle _Replace(const v8::Arguments& args); 37 | static v8::Handle _Remove(const v8::Arguments& args); 38 | static v8::Handle _Clear(const v8::Arguments& args); 39 | static v8::Handle _RemoveSelection(const v8::Arguments& args); 40 | static v8::Handle _Copy(const v8::Arguments& args); 41 | static v8::Handle _Cut(const v8::Arguments& args); 42 | static v8::Handle _Paste(const v8::Arguments& args); 43 | static v8::Handle _CanCopy(const v8::Arguments& args); 44 | static v8::Handle _CanCut(const v8::Arguments& args); 45 | static v8::Handle _CanPaste(const v8::Arguments& args); 46 | static v8::Handle _Undo(const v8::Arguments& args); 47 | static v8::Handle _Redo(const v8::Arguments& args); 48 | static v8::Handle _CanUndo(const v8::Arguments& args); 49 | static v8::Handle _CanRedo(const v8::Arguments& args); 50 | static v8::Handle _SetInsertionPoint(const v8::Arguments& args); 51 | static v8::Handle _SetInsertionPointEnd(const v8::Arguments& args); 52 | static v8::Handle _GetInsertionPoint(const v8::Arguments& args); 53 | static v8::Handle _GetLastPosition(const v8::Arguments& args); 54 | static v8::Handle _SetSelection(const v8::Arguments& args); 55 | static v8::Handle _SelectAll(const v8::Arguments& args); 56 | static v8::Handle _GetSelection(const v8::Arguments& args); 57 | static v8::Handle _HasSelection(const v8::Arguments& args); 58 | static v8::Handle _GetStringSelection(const v8::Arguments& args); 59 | static v8::Handle _AutoComplete(const v8::Arguments& args); 60 | static v8::Handle _AutoCompleteFileNames(const v8::Arguments& args); 61 | static v8::Handle _AutoCompleteDirectories(const v8::Arguments& args); 62 | static v8::Handle _IsEditable(const v8::Arguments& args); 63 | static v8::Handle _SetEditable(const v8::Arguments& args); 64 | static v8::Handle _SetMaxLength(const v8::Arguments& args); 65 | static v8::Handle _SetHint(const v8::Arguments& args); 66 | static v8::Handle _GetHint(const v8::Arguments& args); 67 | static v8::Handle _SetMargins(const v8::Arguments& args); 68 | static v8::Handle _GetMargins(const v8::Arguments& args); 69 | static v8::Handle _SendTextUpdatedEvent(const v8::Arguments& args); 70 | static v8::Handle _SendTextUpdatedEventIfAllowed(const v8::Arguments& args); 71 | static v8::Handle _ForwardEnableTextChangedEvents(const v8::Arguments& args); 72 | 73 | 74 | 75 | static v8::Persistent s_ct; 76 | }; 77 | 78 | #endif 79 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxTextEntryDialog.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextEntryDialog_h_ 3 | #define _wxNode_wxTextEntryDialog_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxDialog; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxTextValidator; 12 | 13 | 14 | class wxNode_wxTextEntryDialog : public wxTextEntryDialog, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxTextEntryDialog* obj); 22 | static v8::Handle New(const wxNode_wxTextEntryDialog* obj); 23 | static v8::Handle NewCopy(const wxTextEntryDialog& obj); 24 | 25 | 26 | 27 | wxNode_wxTextEntryDialog(wxWindow* parent, const wxString& message, const wxString& caption, const wxString& value, long int style, wxPoint& pos); 28 | 29 | wxNode_wxTextEntryDialog(wxWindow* parent, const wxString& message, const wxString& caption, const wxString& value, long int style); 30 | 31 | wxNode_wxTextEntryDialog(wxWindow* parent, const wxString& message, const wxString& caption, const wxString& value); 32 | 33 | wxNode_wxTextEntryDialog(wxWindow* parent, const wxString& message, const wxString& caption); 34 | 35 | wxNode_wxTextEntryDialog(wxWindow* parent, const wxString& message); 36 | 37 | 38 | 39 | private: 40 | static v8::Handle _init(const v8::Arguments& args); 41 | 42 | static v8::Handle _SetValue(const v8::Arguments& args); 43 | static v8::Handle _GetValue(const v8::Arguments& args); 44 | static v8::Handle _SetTextValidator(const v8::Arguments& args); 45 | static v8::Handle _GetTextValidator(const v8::Arguments& args); 46 | static v8::Handle _OnOK(const v8::Arguments& args); 47 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 48 | 49 | 50 | 51 | static v8::Persistent s_ct; 52 | }; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxTextValidator.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTextValidator_h_ 3 | #define _wxNode_wxTextValidator_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxValidator; 9 | class wxNode_wxTextValidator; 10 | class wxNode_wxWindow; 11 | class wxNode_wxArrayString; 12 | 13 | 14 | class wxNode_wxTextValidator : public wxTextValidator, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxTextValidator* obj); 22 | static v8::Handle New(const wxNode_wxTextValidator* obj); 23 | static v8::Handle NewCopy(const wxTextValidator& obj); 24 | 25 | 26 | 27 | wxNode_wxTextValidator(long int style, wxString* val); 28 | 29 | wxNode_wxTextValidator(long int style); 30 | 31 | wxNode_wxTextValidator(); 32 | 33 | wxNode_wxTextValidator(wxTextValidator& val); 34 | 35 | 36 | 37 | private: 38 | static v8::Handle _init(const v8::Arguments& args); 39 | 40 | static v8::Handle _Clone(const v8::Arguments& args); 41 | static v8::Handle _Copy(const v8::Arguments& args); 42 | static v8::Handle _Validate(const v8::Arguments& args); 43 | static v8::Handle _TransferToWindow(const v8::Arguments& args); 44 | static v8::Handle _TransferFromWindow(const v8::Arguments& args); 45 | static v8::Handle _OnChar(const v8::Arguments& args); 46 | static v8::Handle _GetStyle(const v8::Arguments& args); 47 | static v8::Handle _SetStyle(const v8::Arguments& args); 48 | static v8::Handle _GetTextEntry(const v8::Arguments& args); 49 | static v8::Handle _SetCharIncludes(const v8::Arguments& args); 50 | static v8::Handle _SetIncludes(const v8::Arguments& args); 51 | static v8::Handle _GetIncludes(const v8::Arguments& args); 52 | static v8::Handle _SetCharExcludes(const v8::Arguments& args); 53 | static v8::Handle _SetExcludes(const v8::Arguments& args); 54 | static v8::Handle _GetExcludes(const v8::Arguments& args); 55 | static v8::Handle _HasFlag(const v8::Arguments& args); 56 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 57 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 58 | 59 | 60 | 61 | static v8::Persistent s_ct; 62 | }; 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxToolBar.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxToolBar_h_ 3 | #define _wxNode_wxToolBar_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxBitmap; 13 | class wxNode_wxObject; 14 | class wxNode_wxToolBarTool; 15 | class wxNode_wxMenu; 16 | 17 | 18 | class wxNode_wxToolBar : public wxToolBar, public wxNodeObject, public NodeExEvtHandlerImpl { 19 | public: 20 | static void Init(v8::Handle target); 21 | static void AddMethods(v8::Handle target); 22 | virtual v8::Handle self() { return m_self; } 23 | static bool AssignableFrom(const v8::Handle& className); 24 | static bool AssignableFrom(const char* className); 25 | static v8::Handle New(const wxToolBar* obj); 26 | static v8::Handle New(const wxNode_wxToolBar* obj); 27 | static v8::Handle NewCopy(const wxToolBar& obj); 28 | 29 | 30 | 31 | wxNode_wxToolBar(); 32 | 33 | wxNode_wxToolBar(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style, const wxString& name); 34 | 35 | wxNode_wxToolBar(wxWindow* parent, int id, wxPoint& pos, wxSize& size, long int style); 36 | 37 | wxNode_wxToolBar(wxWindow* parent, int id, wxPoint& pos, wxSize& size); 38 | 39 | wxNode_wxToolBar(wxWindow* parent, int id, wxPoint& pos); 40 | 41 | wxNode_wxToolBar(wxWindow* parent, int id); 42 | 43 | 44 | 45 | private: 46 | static v8::Handle _init(const v8::Arguments& args); 47 | 48 | static v8::Handle _AddTool(const v8::Arguments& args); 49 | static v8::Handle _AddCheckTool(const v8::Arguments& args); 50 | static v8::Handle _AddRadioTool(const v8::Arguments& args); 51 | static v8::Handle _InsertTool(const v8::Arguments& args); 52 | static v8::Handle _AddControl(const v8::Arguments& args); 53 | static v8::Handle _InsertControl(const v8::Arguments& args); 54 | static v8::Handle _FindControl(const v8::Arguments& args); 55 | static v8::Handle _AddSeparator(const v8::Arguments& args); 56 | static v8::Handle _InsertSeparator(const v8::Arguments& args); 57 | static v8::Handle _AddStretchableSpace(const v8::Arguments& args); 58 | static v8::Handle _InsertStretchableSpace(const v8::Arguments& args); 59 | static v8::Handle _RemoveTool(const v8::Arguments& args); 60 | static v8::Handle _DeleteToolByPos(const v8::Arguments& args); 61 | static v8::Handle _DeleteTool(const v8::Arguments& args); 62 | static v8::Handle _ClearTools(const v8::Arguments& args); 63 | static v8::Handle _Realize(const v8::Arguments& args); 64 | static v8::Handle _EnableTool(const v8::Arguments& args); 65 | static v8::Handle _ToggleTool(const v8::Arguments& args); 66 | static v8::Handle _SetToggle(const v8::Arguments& args); 67 | static v8::Handle _GetToolClientData(const v8::Arguments& args); 68 | static v8::Handle _SetToolClientData(const v8::Arguments& args); 69 | static v8::Handle _GetToolPos(const v8::Arguments& args); 70 | static v8::Handle _GetToolState(const v8::Arguments& args); 71 | static v8::Handle _GetToolEnabled(const v8::Arguments& args); 72 | static v8::Handle _SetToolShortHelp(const v8::Arguments& args); 73 | static v8::Handle _GetToolShortHelp(const v8::Arguments& args); 74 | static v8::Handle _SetToolLongHelp(const v8::Arguments& args); 75 | static v8::Handle _GetToolLongHelp(const v8::Arguments& args); 76 | static v8::Handle _SetToolNormalBitmap(const v8::Arguments& args); 77 | static v8::Handle _SetToolDisabledBitmap(const v8::Arguments& args); 78 | static v8::Handle _SetMargins(const v8::Arguments& args); 79 | static v8::Handle _SetToolPacking(const v8::Arguments& args); 80 | static v8::Handle _SetToolSeparation(const v8::Arguments& args); 81 | static v8::Handle _GetToolMargins(const v8::Arguments& args); 82 | static v8::Handle _GetToolPacking(const v8::Arguments& args); 83 | static v8::Handle _GetToolSeparation(const v8::Arguments& args); 84 | static v8::Handle _SetRows(const v8::Arguments& args); 85 | static v8::Handle _SetMaxRowsCols(const v8::Arguments& args); 86 | static v8::Handle _GetMaxRows(const v8::Arguments& args); 87 | static v8::Handle _GetMaxCols(const v8::Arguments& args); 88 | static v8::Handle _SetToolBitmapSize(const v8::Arguments& args); 89 | static v8::Handle _GetToolBitmapSize(const v8::Arguments& args); 90 | static v8::Handle _GetToolSize(const v8::Arguments& args); 91 | static v8::Handle _FindToolForPosition(const v8::Arguments& args); 92 | static v8::Handle _FindById(const v8::Arguments& args); 93 | static v8::Handle _IsVertical(const v8::Arguments& args); 94 | static v8::Handle _GetToolsCount(const v8::Arguments& args); 95 | static v8::Handle _GetToolByPos(const v8::Arguments& args); 96 | static v8::Handle _OnLeftClick(const v8::Arguments& args); 97 | static v8::Handle _OnRightClick(const v8::Arguments& args); 98 | static v8::Handle _OnMouseEnter(const v8::Arguments& args); 99 | static v8::Handle _GetMargins(const v8::Arguments& args); 100 | static v8::Handle _UpdateWindowUI(const v8::Arguments& args); 101 | static v8::Handle _AcceptsFocus(const v8::Arguments& args); 102 | static v8::Handle _SetDropdownMenu(const v8::Arguments& args); 103 | 104 | 105 | 106 | static v8::Persistent s_ct; 107 | }; 108 | 109 | #endif 110 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxToolBarBase.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxToolBarBase_h_ 3 | #define _wxNode_wxToolBarBase_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxBitmap; 10 | class wxNode_wxObject; 11 | class wxNode_wxToolBarTool; 12 | class wxNode_wxSize; 13 | class wxNode_wxMenu; 14 | 15 | 16 | class wxNode_wxToolBarBase : public wxToolBarBase, public wxNodeObject, public NodeExEvtHandlerImpl { 17 | public: 18 | static void Init(v8::Handle target); 19 | static void AddMethods(v8::Handle target); 20 | virtual v8::Handle self() { return m_self; } 21 | static bool AssignableFrom(const v8::Handle& className); 22 | static bool AssignableFrom(const char* className); 23 | static v8::Handle New(const wxToolBarBase* obj); 24 | static v8::Handle New(const wxNode_wxToolBarBase* obj); 25 | static v8::Handle NewCopy(const wxToolBarBase& obj); 26 | 27 | 28 | 29 | private: 30 | static v8::Handle _init(const v8::Arguments& args); 31 | 32 | static v8::Handle _AddTool(const v8::Arguments& args); 33 | static v8::Handle _AddCheckTool(const v8::Arguments& args); 34 | static v8::Handle _AddRadioTool(const v8::Arguments& args); 35 | static v8::Handle _InsertTool(const v8::Arguments& args); 36 | static v8::Handle _AddControl(const v8::Arguments& args); 37 | static v8::Handle _InsertControl(const v8::Arguments& args); 38 | static v8::Handle _FindControl(const v8::Arguments& args); 39 | static v8::Handle _AddSeparator(const v8::Arguments& args); 40 | static v8::Handle _InsertSeparator(const v8::Arguments& args); 41 | static v8::Handle _AddStretchableSpace(const v8::Arguments& args); 42 | static v8::Handle _InsertStretchableSpace(const v8::Arguments& args); 43 | static v8::Handle _RemoveTool(const v8::Arguments& args); 44 | static v8::Handle _DeleteToolByPos(const v8::Arguments& args); 45 | static v8::Handle _DeleteTool(const v8::Arguments& args); 46 | static v8::Handle _ClearTools(const v8::Arguments& args); 47 | static v8::Handle _Realize(const v8::Arguments& args); 48 | static v8::Handle _EnableTool(const v8::Arguments& args); 49 | static v8::Handle _ToggleTool(const v8::Arguments& args); 50 | static v8::Handle _SetToggle(const v8::Arguments& args); 51 | static v8::Handle _GetToolClientData(const v8::Arguments& args); 52 | static v8::Handle _SetToolClientData(const v8::Arguments& args); 53 | static v8::Handle _GetToolPos(const v8::Arguments& args); 54 | static v8::Handle _GetToolState(const v8::Arguments& args); 55 | static v8::Handle _GetToolEnabled(const v8::Arguments& args); 56 | static v8::Handle _SetToolShortHelp(const v8::Arguments& args); 57 | static v8::Handle _GetToolShortHelp(const v8::Arguments& args); 58 | static v8::Handle _SetToolLongHelp(const v8::Arguments& args); 59 | static v8::Handle _GetToolLongHelp(const v8::Arguments& args); 60 | static v8::Handle _SetToolNormalBitmap(const v8::Arguments& args); 61 | static v8::Handle _SetToolDisabledBitmap(const v8::Arguments& args); 62 | static v8::Handle _SetMargins(const v8::Arguments& args); 63 | static v8::Handle _SetToolPacking(const v8::Arguments& args); 64 | static v8::Handle _SetToolSeparation(const v8::Arguments& args); 65 | static v8::Handle _GetToolMargins(const v8::Arguments& args); 66 | static v8::Handle _GetToolPacking(const v8::Arguments& args); 67 | static v8::Handle _GetToolSeparation(const v8::Arguments& args); 68 | static v8::Handle _SetRows(const v8::Arguments& args); 69 | static v8::Handle _SetMaxRowsCols(const v8::Arguments& args); 70 | static v8::Handle _GetMaxRows(const v8::Arguments& args); 71 | static v8::Handle _GetMaxCols(const v8::Arguments& args); 72 | static v8::Handle _SetToolBitmapSize(const v8::Arguments& args); 73 | static v8::Handle _GetToolBitmapSize(const v8::Arguments& args); 74 | static v8::Handle _GetToolSize(const v8::Arguments& args); 75 | static v8::Handle _FindToolForPosition(const v8::Arguments& args); 76 | static v8::Handle _FindById(const v8::Arguments& args); 77 | static v8::Handle _IsVertical(const v8::Arguments& args); 78 | static v8::Handle _GetToolsCount(const v8::Arguments& args); 79 | static v8::Handle _GetToolByPos(const v8::Arguments& args); 80 | static v8::Handle _OnLeftClick(const v8::Arguments& args); 81 | static v8::Handle _OnRightClick(const v8::Arguments& args); 82 | static v8::Handle _OnMouseEnter(const v8::Arguments& args); 83 | static v8::Handle _GetMargins(const v8::Arguments& args); 84 | static v8::Handle _UpdateWindowUI(const v8::Arguments& args); 85 | static v8::Handle _AcceptsFocus(const v8::Arguments& args); 86 | static v8::Handle _SetDropdownMenu(const v8::Arguments& args); 87 | 88 | 89 | 90 | static v8::Persistent s_ct; 91 | }; 92 | 93 | #endif 94 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxToolBarToolBase.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxToolBarToolBase_h_ 3 | #define _wxNode_wxToolBarToolBase_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxObject; 9 | class wxNode_wxBitmap; 10 | class wxNode_wxToolBar; 11 | class wxNode_wxMenu; 12 | 13 | 14 | class wxNode_wxToolBarToolBase : public wxToolBarToolBase, public wxNodeObject, public NodeExEvtHandlerImpl { 15 | public: 16 | static void Init(v8::Handle target); 17 | static void AddMethods(v8::Handle target); 18 | virtual v8::Handle self() { return m_self; } 19 | static bool AssignableFrom(const v8::Handle& className); 20 | static bool AssignableFrom(const char* className); 21 | static v8::Handle New(const wxToolBarToolBase* obj); 22 | static v8::Handle New(const wxNode_wxToolBarToolBase* obj); 23 | static v8::Handle NewCopy(const wxToolBarToolBase& obj); 24 | 25 | 26 | 27 | private: 28 | static v8::Handle _init(const v8::Arguments& args); 29 | 30 | static v8::Handle _GetId(const v8::Arguments& args); 31 | static v8::Handle _GetControl(const v8::Arguments& args); 32 | static v8::Handle _GetToolBar(const v8::Arguments& args); 33 | static v8::Handle _IsStretchable(const v8::Arguments& args); 34 | static v8::Handle _IsButton(const v8::Arguments& args); 35 | static v8::Handle _IsControl(const v8::Arguments& args); 36 | static v8::Handle _IsSeparator(const v8::Arguments& args); 37 | static v8::Handle _IsStretchableSpace(const v8::Arguments& args); 38 | static v8::Handle _GetStyle(const v8::Arguments& args); 39 | static v8::Handle _GetKind(const v8::Arguments& args); 40 | static v8::Handle _MakeStretchable(const v8::Arguments& args); 41 | static v8::Handle _IsEnabled(const v8::Arguments& args); 42 | static v8::Handle _IsToggled(const v8::Arguments& args); 43 | static v8::Handle _CanBeToggled(const v8::Arguments& args); 44 | static v8::Handle _GetNormalBitmap(const v8::Arguments& args); 45 | static v8::Handle _GetDisabledBitmap(const v8::Arguments& args); 46 | static v8::Handle _GetBitmap(const v8::Arguments& args); 47 | static v8::Handle _GetLabel(const v8::Arguments& args); 48 | static v8::Handle _GetShortHelp(const v8::Arguments& args); 49 | static v8::Handle _GetLongHelp(const v8::Arguments& args); 50 | static v8::Handle _GetClientData(const v8::Arguments& args); 51 | static v8::Handle _Enable(const v8::Arguments& args); 52 | static v8::Handle _Toggle(const v8::Arguments& args); 53 | static v8::Handle _SetToggle(const v8::Arguments& args); 54 | static v8::Handle _SetShortHelp(const v8::Arguments& args); 55 | static v8::Handle _SetLongHelp(const v8::Arguments& args); 56 | static v8::Handle _SetNormalBitmap(const v8::Arguments& args); 57 | static v8::Handle _SetDisabledBitmap(const v8::Arguments& args); 58 | static v8::Handle _SetLabel(const v8::Arguments& args); 59 | static v8::Handle _SetClientData(const v8::Arguments& args); 60 | static v8::Handle _Detach(const v8::Arguments& args); 61 | static v8::Handle _Attach(const v8::Arguments& args); 62 | static v8::Handle _SetDropdownMenu(const v8::Arguments& args); 63 | static v8::Handle _GetDropdownMenu(const v8::Arguments& args); 64 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 65 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 66 | 67 | 68 | 69 | static v8::Persistent s_ct; 70 | }; 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxTopLevelWindow.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxTopLevelWindow_h_ 3 | #define _wxNode_wxTopLevelWindow_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxNavigationEnabled; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxIcon; 13 | class wxNode_wxIconBundle; 14 | class wxNode_wxUpdateUIEvent; 15 | 16 | 17 | class wxNode_wxTopLevelWindow : public wxTopLevelWindow, public wxNodeObject, public NodeExEvtHandlerImpl { 18 | public: 19 | static void Init(v8::Handle target); 20 | static void AddMethods(v8::Handle target); 21 | virtual v8::Handle self() { return m_self; } 22 | static bool AssignableFrom(const v8::Handle& className); 23 | static bool AssignableFrom(const char* className); 24 | static v8::Handle New(const wxTopLevelWindow* obj); 25 | static v8::Handle New(const wxNode_wxTopLevelWindow* obj); 26 | static v8::Handle NewCopy(const wxTopLevelWindow& obj); 27 | 28 | 29 | 30 | wxNode_wxTopLevelWindow(); 31 | 32 | wxNode_wxTopLevelWindow(wxWindow* parent, int winid, const wxString& title, wxPoint& pos, wxSize& size, long int style, const wxString& name); 33 | 34 | wxNode_wxTopLevelWindow(wxWindow* parent, int winid, const wxString& title, wxPoint& pos, wxSize& size, long int style); 35 | 36 | wxNode_wxTopLevelWindow(wxWindow* parent, int winid, const wxString& title, wxPoint& pos, wxSize& size); 37 | 38 | wxNode_wxTopLevelWindow(wxWindow* parent, int winid, const wxString& title, wxPoint& pos); 39 | 40 | wxNode_wxTopLevelWindow(wxWindow* parent, int winid, const wxString& title); 41 | 42 | 43 | 44 | private: 45 | static v8::Handle _init(const v8::Arguments& args); 46 | 47 | static v8::Handle _Maximize(const v8::Arguments& args); 48 | static v8::Handle _Restore(const v8::Arguments& args); 49 | static v8::Handle _Iconize(const v8::Arguments& args); 50 | static v8::Handle _IsMaximized(const v8::Arguments& args); 51 | static v8::Handle _IsAlwaysMaximized(const v8::Arguments& args); 52 | static v8::Handle _IsIconized(const v8::Arguments& args); 53 | static v8::Handle _GetIcon(const v8::Arguments& args); 54 | static v8::Handle _GetIcons(const v8::Arguments& args); 55 | static v8::Handle _SetIcon(const v8::Arguments& args); 56 | static v8::Handle _SetIcons(const v8::Arguments& args); 57 | static v8::Handle _ShowFullScreen(const v8::Arguments& args); 58 | static v8::Handle _ShowWithoutActivating(const v8::Arguments& args); 59 | static v8::Handle _IsFullScreen(const v8::Arguments& args); 60 | static v8::Handle _SetTitle(const v8::Arguments& args); 61 | static v8::Handle _GetTitle(const v8::Arguments& args); 62 | static v8::Handle _EnableCloseButton(const v8::Arguments& args); 63 | static v8::Handle _RequestUserAttention(const v8::Arguments& args); 64 | static v8::Handle _IsActive(const v8::Arguments& args); 65 | static v8::Handle _ShouldPreventAppExit(const v8::Arguments& args); 66 | static v8::Handle _CentreOnScreen(const v8::Arguments& args); 67 | static v8::Handle _CenterOnScreen(const v8::Arguments& args); 68 | static v8::Handle _GetDefaultSize(const v8::Arguments& args); 69 | static v8::Handle _GetDefaultItem(const v8::Arguments& args); 70 | static v8::Handle _SetDefaultItem(const v8::Arguments& args); 71 | static v8::Handle _GetTmpDefaultItem(const v8::Arguments& args); 72 | static v8::Handle _SetTmpDefaultItem(const v8::Arguments& args); 73 | static v8::Handle _Destroy(const v8::Arguments& args); 74 | static v8::Handle _IsTopLevel(const v8::Arguments& args); 75 | static v8::Handle _IsTopNavigationDomain(const v8::Arguments& args); 76 | static v8::Handle _IsVisible(const v8::Arguments& args); 77 | static v8::Handle _OnCloseWindow(const v8::Arguments& args); 78 | static v8::Handle _OnSize(const v8::Arguments& args); 79 | static v8::Handle _GetRectForTopLevelChildren(const v8::Arguments& args); 80 | static v8::Handle _OnActivate(const v8::Arguments& args); 81 | static v8::Handle _DoUpdateWindowUI(const v8::Arguments& args); 82 | static v8::Handle _SetMinSize(const v8::Arguments& args); 83 | static v8::Handle _SetMaxSize(const v8::Arguments& args); 84 | static v8::Handle _OSXSetModified(const v8::Arguments& args); 85 | static v8::Handle _OSXIsModified(const v8::Arguments& args); 86 | 87 | 88 | 89 | static v8::Persistent s_ct; 90 | }; 91 | 92 | #endif 93 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxWebView.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWebView_h_ 3 | #define _wxNode_wxWebView_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxControl; 9 | class wxNode_wxWindow; 10 | class wxNode_wxPoint; 11 | class wxNode_wxSize; 12 | class wxNode_wxWebViewHandler; 13 | class wxNode_wxInputStream; 14 | class wxNode_wxWebViewHistoryItem; 15 | 16 | 17 | class wxNode_wxWebView : public wxWebView, public wxNodeObject, public NodeExEvtHandlerImpl { 18 | public: 19 | static void Init(v8::Handle target); 20 | static void AddMethods(v8::Handle target); 21 | virtual v8::Handle self() { return m_self; } 22 | static bool AssignableFrom(const v8::Handle& className); 23 | static bool AssignableFrom(const char* className); 24 | static v8::Handle New(const wxWebView* obj); 25 | static v8::Handle New(const wxNode_wxWebView* obj); 26 | static v8::Handle NewCopy(const wxWebView& obj); 27 | 28 | 29 | 30 | private: 31 | static v8::Handle _init(const v8::Arguments& args); 32 | 33 | static v8::Handle _Create(const v8::Arguments& args); 34 | static v8::Handle _New(const v8::Arguments& args); 35 | static v8::Handle _GetCurrentTitle(const v8::Arguments& args); 36 | static v8::Handle _GetCurrentURL(const v8::Arguments& args); 37 | static v8::Handle _GetPageSource(const v8::Arguments& args); 38 | static v8::Handle _GetPageText(const v8::Arguments& args); 39 | static v8::Handle _IsBusy(const v8::Arguments& args); 40 | static v8::Handle _IsEditable(const v8::Arguments& args); 41 | static v8::Handle _LoadURL(const v8::Arguments& args); 42 | static v8::Handle _Print(const v8::Arguments& args); 43 | static v8::Handle _RegisterHandler(const v8::Arguments& args); 44 | static v8::Handle _Reload(const v8::Arguments& args); 45 | static v8::Handle _RunScript(const v8::Arguments& args); 46 | static v8::Handle _SetEditable(const v8::Arguments& args); 47 | static v8::Handle _SetPage(const v8::Arguments& args); 48 | static v8::Handle _Stop(const v8::Arguments& args); 49 | static v8::Handle _CanGoBack(const v8::Arguments& args); 50 | static v8::Handle _CanGoForward(const v8::Arguments& args); 51 | static v8::Handle _GoBack(const v8::Arguments& args); 52 | static v8::Handle _GoForward(const v8::Arguments& args); 53 | static v8::Handle _ClearHistory(const v8::Arguments& args); 54 | static v8::Handle _EnableHistory(const v8::Arguments& args); 55 | static v8::Handle _GetBackwardHistory(const v8::Arguments& args); 56 | static v8::Handle _GetForwardHistory(const v8::Arguments& args); 57 | static v8::Handle _LoadHistoryItem(const v8::Arguments& args); 58 | static v8::Handle _CanSetZoomType(const v8::Arguments& args); 59 | static v8::Handle _GetZoom(const v8::Arguments& args); 60 | static v8::Handle _GetZoomType(const v8::Arguments& args); 61 | static v8::Handle _SetZoom(const v8::Arguments& args); 62 | static v8::Handle _SetZoomType(const v8::Arguments& args); 63 | static v8::Handle _SelectAll(const v8::Arguments& args); 64 | static v8::Handle _HasSelection(const v8::Arguments& args); 65 | static v8::Handle _DeleteSelection(const v8::Arguments& args); 66 | static v8::Handle _GetSelectedText(const v8::Arguments& args); 67 | static v8::Handle _GetSelectedSource(const v8::Arguments& args); 68 | static v8::Handle _ClearSelection(const v8::Arguments& args); 69 | static v8::Handle _CanCut(const v8::Arguments& args); 70 | static v8::Handle _CanCopy(const v8::Arguments& args); 71 | static v8::Handle _CanPaste(const v8::Arguments& args); 72 | static v8::Handle _Cut(const v8::Arguments& args); 73 | static v8::Handle _Copy(const v8::Arguments& args); 74 | static v8::Handle _Paste(const v8::Arguments& args); 75 | static v8::Handle _CanUndo(const v8::Arguments& args); 76 | static v8::Handle _CanRedo(const v8::Arguments& args); 77 | static v8::Handle _Undo(const v8::Arguments& args); 78 | static v8::Handle _Redo(const v8::Arguments& args); 79 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 80 | 81 | 82 | 83 | static v8::Persistent s_ct; 84 | }; 85 | 86 | #endif 87 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxWebViewArchiveHandler.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWebViewArchiveHandler_h_ 3 | #define _wxNode_wxWebViewArchiveHandler_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxWebViewHandler; 9 | class wxNode_wxWebViewArchiveHandler; 10 | 11 | 12 | class wxNode_wxWebViewArchiveHandler : public wxWebViewArchiveHandler, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxWebViewArchiveHandler* obj); 20 | static v8::Handle New(const wxNode_wxWebViewArchiveHandler* obj); 21 | static v8::Handle NewCopy(const wxWebViewArchiveHandler& obj); 22 | 23 | 24 | 25 | wxNode_wxWebViewArchiveHandler(wxWebViewArchiveHandler& arg0); 26 | 27 | wxNode_wxWebViewArchiveHandler(const wxString& scheme); 28 | 29 | 30 | 31 | private: 32 | static v8::Handle _init(const v8::Arguments& args); 33 | 34 | static v8::Handle _GetFile(const v8::Arguments& args); 35 | 36 | 37 | 38 | static v8::Persistent s_ct; 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxWebViewEvent.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWebViewEvent_h_ 3 | #define _wxNode_wxWebViewEvent_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxEvtHandler; 8 | class wxNode_wxNotifyEvent; 9 | class wxNode_wxWebViewEvent; 10 | 11 | 12 | class wxNode_wxWebViewEvent : public wxWebViewEvent, public wxNodeObject, public NodeExEvtHandlerImpl { 13 | public: 14 | static void Init(v8::Handle target); 15 | static void AddMethods(v8::Handle target); 16 | virtual v8::Handle self() { return m_self; } 17 | static bool AssignableFrom(const v8::Handle& className); 18 | static bool AssignableFrom(const char* className); 19 | static v8::Handle New(const wxWebViewEvent* obj); 20 | static v8::Handle New(const wxNode_wxWebViewEvent* obj); 21 | static v8::Handle NewCopy(const wxWebViewEvent& obj); 22 | 23 | 24 | 25 | wxNode_wxWebViewEvent(wxWebViewEvent& arg0); 26 | 27 | wxNode_wxWebViewEvent(); 28 | 29 | wxNode_wxWebViewEvent(int type, int id, const wxString url, const wxString target); 30 | 31 | 32 | 33 | private: 34 | static v8::Handle _init(const v8::Arguments& args); 35 | 36 | static v8::Handle _GetURL(const v8::Arguments& args); 37 | static v8::Handle _GetTarget(const v8::Arguments& args); 38 | static v8::Handle _Clone(const v8::Arguments& args); 39 | static v8::Handle _GetClassInfo(const v8::Arguments& args); 40 | static v8::Handle _wxCreateObject(const v8::Arguments& args); 41 | 42 | 43 | 44 | static v8::Persistent s_ct; 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxWebViewHandler.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWebViewHandler_h_ 3 | #define _wxNode_wxWebViewHandler_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | 8 | 9 | class wxNode_wxWebViewHandler : public wxWebViewHandler, public wxNodeObject, public NodeExEvtHandlerImpl { 10 | public: 11 | static void Init(v8::Handle target); 12 | static void AddMethods(v8::Handle target); 13 | virtual v8::Handle self() { return m_self; } 14 | static bool AssignableFrom(const v8::Handle& className); 15 | static bool AssignableFrom(const char* className); 16 | static v8::Handle New(const wxWebViewHandler* obj); 17 | static v8::Handle New(const wxNode_wxWebViewHandler* obj); 18 | static v8::Handle NewCopy(const wxWebViewHandler& obj); 19 | 20 | 21 | 22 | private: 23 | static v8::Handle _init(const v8::Arguments& args); 24 | 25 | static v8::Handle _GetName(const v8::Arguments& args); 26 | static v8::Handle _GetFile(const v8::Arguments& args); 27 | 28 | 29 | 30 | static v8::Persistent s_ct; 31 | }; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /src-generated/wxNode_wxWebViewHistoryItem.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxWebViewHistoryItem_h_ 3 | #define _wxNode_wxWebViewHistoryItem_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | class wxNode_wxWebViewHistoryItem; 8 | 9 | 10 | class wxNode_wxWebViewHistoryItem : public wxWebViewHistoryItem, public wxNodeObject, public NodeExEvtHandlerImpl { 11 | public: 12 | static void Init(v8::Handle target); 13 | static void AddMethods(v8::Handle target); 14 | virtual v8::Handle self() { return m_self; } 15 | static bool AssignableFrom(const v8::Handle& className); 16 | static bool AssignableFrom(const char* className); 17 | static v8::Handle New(const wxWebViewHistoryItem* obj); 18 | static v8::Handle New(const wxNode_wxWebViewHistoryItem* obj); 19 | static v8::Handle NewCopy(const wxWebViewHistoryItem& obj); 20 | 21 | 22 | 23 | wxNode_wxWebViewHistoryItem(wxWebViewHistoryItem& arg0); 24 | 25 | wxNode_wxWebViewHistoryItem(const wxString& url, const wxString& title); 26 | 27 | 28 | 29 | private: 30 | static v8::Handle _init(const v8::Arguments& args); 31 | 32 | static v8::Handle _GetUrl(const v8::Arguments& args); 33 | static v8::Handle _GetTitle(const v8::Arguments& args); 34 | 35 | 36 | 37 | static v8::Persistent s_ct; 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src-templates/generic.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_{{name}}_h_ 3 | #define _wxNode_{{name}}_h_ 4 | 5 | #include "wxnode.h" 6 | #include "wxNode_wxEvtHandler.h" 7 | {{#classes}}class {{{.}}}; 8 | {{/classes}} 9 | 10 | class wxNode_{{name}} : public {{name}}, public wxNodeObject, public NodeExEvtHandlerImpl { 11 | public: 12 | static void Init(v8::Handle target); 13 | static void AddMethods(v8::Handle target); 14 | virtual v8::Handle self() { return m_self; } 15 | static bool AssignableFrom(const v8::Handle& className); 16 | static bool AssignableFrom(const char* className); 17 | static v8::Handle New(const {{name}}* obj); 18 | static v8::Handle New(const wxNode_{{name}}* obj); 19 | static v8::Handle NewCopy(const {{name}}& obj); 20 | 21 | {{#constructors}} 22 | {{#overloads}} 23 | wxNode_{{parent.parent.name}}({{{argDeclCode}}}); 24 | {{/overloads}} 25 | {{/constructors}} 26 | 27 | private: 28 | static v8::Handle _init(const v8::Arguments& args); 29 | 30 | {{#methods}}static v8::Handle _{{name}}(const v8::Arguments& args); 31 | {{/methods}} 32 | {{#fields}}static v8::Handle _{{name}}Get(v8::Local name, const v8::AccessorInfo& info); 33 | static void _{{name}}Set(v8::Local name, v8::Local val, const v8::AccessorInfo& info); 34 | {{/fields}} 35 | 36 | static v8::Persistent s_ct; 37 | }; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /src/app.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "app.h" 3 | #include "wxNode_wxFrame.h" 4 | #include 5 | #include 6 | 7 | /* static */ v8::Persistent NodeWxApp::s_ct; 8 | 9 | /*static*/ void NodeWxApp::Init(v8::Handle target) { 10 | v8::HandleScope scope; 11 | 12 | v8::Local t = v8::FunctionTemplate::New(wxNodeObject::NewFunc); 13 | s_ct = v8::Persistent::New(t); 14 | s_ct->InstanceTemplate()->SetInternalFieldCount(2); 15 | s_ct->SetClassName(v8::String::NewSymbol("App")); 16 | 17 | wxNodeObject::AddMethods(s_ct); 18 | NODE_SET_PROTOTYPE_METHOD(s_ct, "init", _init); 19 | NODE_SET_PROTOTYPE_METHOD(s_ct, "onInit", _onInit); 20 | NODE_SET_PROTOTYPE_METHOD(s_ct, "run", _run); 21 | NODE_SET_PROTOTYPE_METHOD(s_ct, "setTopWindow", _setTopWindow); 22 | 23 | target->Set(v8::String::NewSymbol("App"), s_ct->GetFunction()); 24 | 25 | if(!wxInitialize()) { 26 | printf("failed to wxInitialize\n"); // TODO: change to exception 27 | } 28 | wxInitAllImageHandlers(); 29 | wxEventLoop* loop = new wxEventLoop(); 30 | wxEventLoop::SetActive(loop); 31 | } 32 | 33 | /*static*/ v8::Handle NodeWxApp::_init(const v8::Arguments& args) { 34 | v8::HandleScope scope; 35 | NodeWxApp *self = new NodeWxApp(); 36 | self->wrap(args.This(), self, NULL); 37 | return args.This(); 38 | } 39 | 40 | 41 | bool NodeWxApp::OnInit() { 42 | v8::Handle result = call("onInit", 0, new v8::Local[0]); 43 | if(result.IsEmpty()) return false; 44 | return result->ToBoolean()->Value(); 45 | } 46 | 47 | /*static*/ v8::Handle NodeWxApp::_loop(const v8::Arguments& args) { 48 | wxEventLoopBase* evtLoop = wxEventLoop::GetActive(); 49 | if(evtLoop) { 50 | while(evtLoop->DispatchTimeout(1) != -1) { 51 | } 52 | } 53 | 54 | return v8::Undefined(); 55 | } 56 | 57 | /*static*/ v8::Handle NodeWxApp::_run(const v8::Arguments& args) { 58 | v8::HandleScope scope; 59 | 60 | wxTheApp->CallOnInit(); 61 | 62 | // setInterval the message loop 63 | v8::Local loopFnTemplate = v8::FunctionTemplate::New(_loop); 64 | 65 | v8::Function* setIntervalMethod = v8::Function::Cast(*v8::Context::GetCurrent()->Global()->Get(v8::String::New("setInterval"))); 66 | v8::Local setIntervalArgs[2]; 67 | setIntervalArgs[0] = loopFnTemplate->GetFunction(); 68 | setIntervalArgs[1] = v8::Integer::New(1); 69 | setIntervalMethod->Call(args.This(), 2, setIntervalArgs); 70 | 71 | return v8::Undefined(); 72 | } 73 | 74 | /*static*/ v8::Handle NodeWxApp::_onInit(const v8::Arguments& args) { 75 | return v8::Undefined(); 76 | } 77 | 78 | /*static*/ v8::Handle NodeWxApp::_setTopWindow(const v8::Arguments& args) { 79 | NodeWxApp *self = unwrap(args.This()); 80 | v8::Local windowObj = args[0]->ToObject(); 81 | wxFrame* wnd = wxNodeObject::unwrap(windowObj); 82 | self->SetTopWindow(wnd); 83 | return v8::Undefined(); 84 | } 85 | -------------------------------------------------------------------------------- /src/app.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxnode_app_h_ 3 | #define _wxnode_app_h_ 4 | 5 | #include "wxnode.h" 6 | 7 | class NodeWxApp : public wxApp, public wxNodeObject { 8 | public: 9 | static void Init(v8::Handle target); 10 | 11 | virtual bool OnInit(); 12 | 13 | private: 14 | static v8::Handle _loop(const v8::Arguments& args); 15 | static v8::Handle _init(const v8::Arguments& args); 16 | static v8::Handle _run(const v8::Arguments& args); 17 | static v8::Handle _onInit(const v8::Arguments& args); 18 | static v8::Handle _setTopWindow(const v8::Arguments& args); 19 | 20 | static v8::Persistent s_ct; 21 | }; 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/globalFunctions.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "globalFunctions.h" 3 | #include "wxNode_wxCursor.h" 4 | #include "wxNode_wxPoint.h" 5 | #include 6 | 7 | /*static*/ void GlobalFunctions::Init(v8::Handle target) { 8 | v8::Local setCursorTemplate = v8::FunctionTemplate::New(_setCursor); 9 | target->Set(v8::String::NewSymbol("setCursor"), setCursorTemplate->GetFunction()); 10 | 11 | v8::Local logMessageTemplate = v8::FunctionTemplate::New(_logMessage); 12 | target->Set(v8::String::NewSymbol("logMessage"), logMessageTemplate->GetFunction()); 13 | 14 | v8::Local getMousePositionTemplate = v8::FunctionTemplate::New(_getMousePosition); 15 | target->Set(v8::String::NewSymbol("getMousePosition"), getMousePositionTemplate->GetFunction()); 16 | } 17 | 18 | /*static*/ v8::Handle GlobalFunctions::_setCursor(const v8::Arguments& args) { 19 | if(args.Length() == 1 && args[0]->IsNumber()) { 20 | int32_t val = args[0]->ToNumber()->Value(); 21 | wxSetCursor(val); 22 | return v8::Undefined(); 23 | } 24 | 25 | if(args.Length() == 1 && args[0]->IsObject()) { 26 | wxNode_wxCursor* cursor = wxNodeObject::unwrap(args[0]->ToObject()); 27 | wxSetCursor(*cursor); 28 | return v8::Undefined(); 29 | } 30 | 31 | std::ostringstream errStr; 32 | errStr << "Could not find matching method for setCursor.\n"; 33 | errStr << " arg count: " << args.Length() << "\n"; 34 | for(int i = 0; i < args.Length(); i++) { 35 | v8::String::AsciiValue argStr(args[i]); 36 | errStr << " arg[" << i << "]: " << *argStr << "\n"; 37 | } 38 | return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str()))); 39 | } 40 | 41 | /*static*/ v8::Handle GlobalFunctions::_logMessage(const v8::Arguments& args) { 42 | if(args.Length() == 1 && args[0]->IsString()) { 43 | v8::String::AsciiValue str(args[0]->ToString()); 44 | wxLogMessage("%s", *str); 45 | return v8::Undefined(); 46 | } 47 | 48 | std::ostringstream errStr; 49 | errStr << "Could not find matching method for logMessage.\n"; 50 | errStr << " arg count: " << args.Length() << "\n"; 51 | for(int i = 0; i < args.Length(); i++) { 52 | v8::String::AsciiValue argStr(args[i]); 53 | errStr << " arg[" << i << "]: " << *argStr << "\n"; 54 | } 55 | return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str()))); 56 | } 57 | 58 | /*static*/ v8::Handle GlobalFunctions::_getMousePosition(const v8::Arguments& args) { 59 | if(args.Length() == 0) { 60 | wxPoint pt = wxGetMousePosition(); 61 | return wxNode_wxPoint::NewCopy(pt); 62 | } 63 | 64 | std::ostringstream errStr; 65 | errStr << "Could not find matching method for getMousePosition.\n"; 66 | errStr << " arg count: " << args.Length() << "\n"; 67 | for(int i = 0; i < args.Length(); i++) { 68 | v8::String::AsciiValue argStr(args[i]); 69 | errStr << " arg[" << i << "]: " << *argStr << "\n"; 70 | } 71 | return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str()))); 72 | } 73 | -------------------------------------------------------------------------------- /src/globalFunctions.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _global_functions_h_ 3 | #define _global_functions_h_ 4 | 5 | #include "wxnode.h" 6 | 7 | class GlobalFunctions : public wxNodeObject { 8 | public: 9 | static void Init(v8::Handle target); 10 | 11 | private: 12 | static v8::Handle _setCursor(const v8::Arguments& args); 13 | static v8::Handle _logMessage(const v8::Arguments& args); 14 | static v8::Handle _getMousePosition(const v8::Arguments& args); 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/messageBox.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "messageBox.h" 3 | 4 | /* static */ v8::Persistent NodeWxMessageBox::s_ct; 5 | 6 | /*static*/ void NodeWxMessageBox::Init(v8::Handle target) { 7 | v8::HandleScope scope; 8 | 9 | v8::Local t = v8::FunctionTemplate::New(wxNodeObject::NewFunc); 10 | s_ct = v8::Persistent::New(t); 11 | s_ct->InstanceTemplate()->SetInternalFieldCount(2); 12 | s_ct->SetClassName(v8::String::NewSymbol("MessageBox")); 13 | 14 | wxNodeObject::AddMethods(s_ct); 15 | NODE_SET_METHOD(s_ct, "show", _show); 16 | 17 | target->Set(v8::String::NewSymbol("MessageBox"), s_ct->GetFunction()); 18 | } 19 | 20 | /*static*/ v8::Handle NodeWxMessageBox::_show(const v8::Arguments& args) { 21 | 22 | v8::Local messageObj = args[0]->ToString(); 23 | v8::String::AsciiValue message(messageObj); 24 | 25 | v8::Local captionObj = args[1]->ToString(); 26 | v8::String::AsciiValue caption(captionObj); 27 | 28 | v8::Local styleObj = args[2]->ToInt32(); 29 | int32_t style = styleObj->Value(); 30 | 31 | v8::Local parentObj = args[3]->ToObject(); 32 | wxWindow* parent = wxNodeObject::unwrap(parentObj); 33 | 34 | int32_t x = -1; 35 | if(args.Length() > 4) { 36 | v8::Local xObj = args[4]->ToInt32(); 37 | x = xObj->Value(); 38 | } 39 | 40 | int32_t y = -1; 41 | if(args.Length() > 5) { 42 | v8::Local yObj = args[5]->ToInt32(); 43 | y = yObj->Value(); 44 | } 45 | 46 | wxMessageBox(*message, *caption, style, parent, x, y); 47 | 48 | return v8::Undefined(); 49 | } 50 | -------------------------------------------------------------------------------- /src/messageBox.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxmessagebox_h_ 3 | #define _wxmessagebox_h_ 4 | 5 | #include "wxnode.h" 6 | 7 | class NodeWxMessageBox : public wxNodeObject { 8 | public: 9 | static void Init(v8::Handle target); 10 | 11 | private: 12 | static v8::Handle _show(const v8::Arguments& args); 13 | 14 | static v8::Persistent s_ct; 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/wxLogStatus.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wxLogStatus.h" 3 | 4 | /* static */ v8::Persistent NodeWxLogStatus::s_ct; 5 | 6 | /*static*/ void NodeWxLogStatus::Init(v8::Handle target) { 7 | v8::HandleScope scope; 8 | 9 | v8::Local t = v8::FunctionTemplate::New(wxNodeObject::NewFunc); 10 | s_ct = v8::Persistent::New(t); 11 | s_ct->InstanceTemplate()->SetInternalFieldCount(2); 12 | s_ct->SetClassName(v8::String::NewSymbol("LogStatus")); 13 | 14 | wxNodeObject::AddMethods(s_ct); 15 | NODE_SET_METHOD(s_ct, "log", _log); 16 | 17 | target->Set(v8::String::NewSymbol("LogStatus"), s_ct->GetFunction()); 18 | } 19 | 20 | /*static*/ v8::Handle NodeWxLogStatus::_log(const v8::Arguments& args) { 21 | 22 | v8::Local parentObj = args[0]->ToObject(); 23 | wxWindow* parent = wxNodeObject::unwrap(parentObj); 24 | 25 | v8::Local messageObj = args[1]->ToString(); 26 | v8::String::AsciiValue message(messageObj); 27 | 28 | wxLogStatus(parent, *message); 29 | 30 | return v8::Undefined(); 31 | } 32 | -------------------------------------------------------------------------------- /src/wxLogStatus.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _NodeWxLogStatus_h_ 3 | #define _NodeWxLogStatus_h_ 4 | 5 | #include "wxnode.h" 6 | 7 | class NodeWxLogStatus : public wxNodeObject { 8 | public: 9 | static void Init(v8::Handle target); 10 | 11 | private: 12 | static v8::Handle _log(const v8::Arguments& args); 13 | 14 | static v8::Persistent s_ct; 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/wxNodeObject.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wxnode.h" 3 | #include "wxNodeObject.h" 4 | 5 | v8::Handle wxNodeObject::call(const char *fnName, int argc, v8::Handle args[]) { 6 | v8::HandleScope scope; 7 | if(m_self.IsEmpty() || m_self->IsNull() || m_self->IsUndefined()) { 8 | // TODO: change to v8 error 9 | printf("ERROR: invalid object state. m_self is null\n"); 10 | } 11 | v8::Local fnObj = m_self->Get(v8::String::New(fnName)); 12 | if(fnObj->IsNull() || fnObj->IsUndefined()) { 13 | // TODO: change to v8 error 14 | printf("ERROR: no method with name %s\n", fnName); 15 | } 16 | v8::Function *fn = v8::Function::Cast(*fnObj); 17 | return scope.Close(fn->Call(self(), argc, args)); 18 | } 19 | 20 | /*static*/ void wxNodeObject::AddMethods(v8::Handle& ct) { 21 | NODE_SET_METHOD(ct, "extend", extend); 22 | } 23 | 24 | /*static*/ v8::Handle wxNodeObject::extendCallHandler(const v8::Arguments& args) { 25 | v8::HandleScope scope; 26 | v8::Local result; 27 | 28 | v8::Local argsData = args.Data()->ToObject(); 29 | v8::Handle baseClass = argsData->Get(v8::String::New("baseClass"))->ToObject(); 30 | v8::Handle subClass = argsData->Get(v8::String::New("subClass"))->ToObject(); 31 | 32 | // create new object 33 | result = v8::Object::Cast(*baseClass->CallAsConstructor(0, new v8::Local[0])); 34 | 35 | v8::Function* superWrapMethod = v8::Function::Cast(*v8::Context::GetCurrent()->Global()->Get(v8::String::New("__superWrapMethod"))); 36 | 37 | // copy subClass methods 38 | v8::Local subClassPropNames = subClass->GetPropertyNames(); 39 | for(uint32_t i=0; iLength(); i++) { 40 | v8::Local propName = subClassPropNames->Get(i)->ToString(); 41 | v8::Local propVal = subClass->Get(propName); 42 | v8::Local basePropVal = result->Get(propName); 43 | 44 | if(propVal->IsFunction()) { 45 | v8::Local superWrapArgv[2]; 46 | superWrapArgv[0] = propVal; 47 | superWrapArgv[1] = basePropVal; 48 | propVal = superWrapMethod->Call(result, 2, superWrapArgv); 49 | result->Set(propName, propVal); 50 | } else { 51 | result->Set(propName, propVal); 52 | } 53 | } 54 | 55 | // call init 56 | int argc = args.Length(); 57 | v8::Handle* initArgs = new v8::Handle[argc]; 58 | for(int i=0; i initObj = result->Get(v8::String::New("init")); 62 | 63 | v8::Function *initFn = v8::Function::Cast(*initObj); 64 | 65 | v8::TryCatch tryCatch; 66 | initFn->Call(result, argc, initArgs); 67 | if(tryCatch.HasCaught()) { 68 | v8::String::AsciiValue errorStr(tryCatch.Exception()); 69 | printf("%s\n", *errorStr); 70 | return scope.Close(tryCatch.Exception()); // TODO: causes Seg fault 71 | } 72 | 73 | return scope.Close(result); 74 | } 75 | 76 | 77 | /*static*/ v8::Handle wxNodeObject::extend(const v8::Arguments& args) { 78 | v8::HandleScope scope; 79 | v8::Handle baseClass = args.This(); 80 | v8::Handle subClass = args[0]->ToObject(); 81 | 82 | v8::Handle data = v8::Object::New(); 83 | data->Set(v8::String::New("baseClass"), baseClass); 84 | data->Set(v8::String::New("subClass"), subClass); 85 | 86 | v8::Local t = v8::FunctionTemplate::New(); 87 | t->SetCallHandler(extendCallHandler, data); 88 | t->InstanceTemplate()->SetInternalFieldCount(2); 89 | v8::Local ctor = t->GetFunction(); 90 | 91 | v8::Local extend = v8::FunctionTemplate::New(wxNodeObject::extend); 92 | ctor->Set(v8::String::New("extend"), extend->GetFunction()); 93 | 94 | // copy static method 95 | v8::Local baseClassPropNames = baseClass->GetPropertyNames(); 96 | for(uint32_t i=0; iLength(); i++) { 97 | v8::Local propName = baseClassPropNames->Get(i)->ToString(); 98 | v8::String::AsciiValue propNameStr(propName); 99 | if(!strcmp(*propNameStr, "extend")) { 100 | continue; 101 | } 102 | v8::Local propVal = baseClass->Get(propName); 103 | ctor->Set(propName, propVal); 104 | } 105 | 106 | return scope.Close(ctor); 107 | } 108 | -------------------------------------------------------------------------------- /src/wxNodeObject.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxnode_object_h_ 3 | #define _wxnode_object_h_ 4 | 5 | #include 6 | #include 7 | 8 | class NodeExEvtHandlerImpl; 9 | 10 | class wxNodeObject { 11 | protected: 12 | inline void wrap(v8::Handle handle, void* self, NodeExEvtHandlerImpl* evtHandler) { 13 | m_self = v8::Persistent::New(handle); 14 | m_self->SetPointerInInternalField(0, self); 15 | m_self->SetPointerInInternalField(1, evtHandler); 16 | } 17 | 18 | template 19 | static inline T* unwrap(v8::Handle handle) { 20 | void *p = handle->GetPointerFromInternalField(0); 21 | return static_cast(p); 22 | } 23 | 24 | // This is required because of multiple inheritance issues and the "this" pointer. 25 | static inline NodeExEvtHandlerImpl* unwrapEvtHandler(v8::Handle handle) { 26 | return static_cast(handle->GetPointerFromInternalField(1)); 27 | } 28 | 29 | virtual v8::Handle self() { return m_self; } 30 | 31 | static v8::Handle NewFunc(const v8::Arguments& args) { 32 | return args.This(); 33 | } 34 | 35 | v8::Handle call(const char *fnName, int argc, v8::Handle args[]); 36 | 37 | static void AddMethods(v8::Handle& ct); 38 | 39 | protected: 40 | static v8::Handle extend(const v8::Arguments& args); 41 | static v8::Handle extendCallHandler(const v8::Arguments& args); 42 | 43 | v8::Persistent m_self; 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /src/wxNode_wxEvtHandler.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _NodeEvtHandler_h_ 3 | #define _NodeEvtHandler_h_ 4 | 5 | #include "wxnode.h" 6 | #include 7 | 8 | class wxNode_wxEvtHandler; 9 | 10 | typedef v8::Handle(fnNewEvent)(wxEvent& event); 11 | 12 | class ListenerData { 13 | public: 14 | ListenerData(int eventType, v8::Local fn, fnNewEvent* NewEvent); 15 | 16 | v8::Persistent m_fn; 17 | int m_eventType; 18 | fnNewEvent* NewEvent; 19 | }; 20 | 21 | class NodeExEvtHandlerImpl { 22 | public: 23 | friend class EventProxy; 24 | friend class wxNode_wxEvtHandler; 25 | 26 | NodeExEvtHandlerImpl(); 27 | virtual ~NodeExEvtHandlerImpl(); 28 | 29 | protected: 30 | virtual void fireEvent(v8::Handle self, uint32_t iListener, wxEvent& event); 31 | virtual void addEventListener(v8::Local self, wxEvtHandler* evtHandler, int eventType, v8::Local fn, fnNewEvent* NewEvent); 32 | virtual void addCommandRangeListener(v8::Local self, wxEvtHandler* evtHandler, int id, int lastId, int eventType, v8::Local fn, fnNewEvent* NewEvent); 33 | virtual void addCommandListener(v8::Local self, wxEvtHandler* evtHandler, int id, int eventType, v8::Local fn, fnNewEvent* NewEvent); 34 | virtual void connect(v8::Local self, wxEvtHandler* evtHandler, int id, int lastId, int eventType, v8::Local fn, fnNewEvent* NewEvent); 35 | virtual void connect(v8::Local self, wxEvtHandler* evtHandler, int eventType, v8::Local fn, fnNewEvent* NewEvent); 36 | virtual void connect(v8::Local self, wxEvtHandler* evtHandler, int id, int eventType, v8::Local fn, void* userData, wxEvtHandler* eventSink, fnNewEvent* NewEvent); 37 | 38 | virtual v8::Handle self() = 0; 39 | 40 | std::vector* m_listeners; 41 | }; 42 | 43 | class NodeExEvtHandlerImplWrap : public wxNodeObject, public NodeExEvtHandlerImpl { 44 | public: 45 | NodeExEvtHandlerImplWrap(v8::Handle& obj) { 46 | m_self = v8::Persistent::New(obj); 47 | } 48 | 49 | virtual v8::Handle self() { return m_self; } 50 | }; 51 | 52 | struct EventProxyData : public wxObject { 53 | NodeExEvtHandlerImpl* m_evtHandler; 54 | v8::Persistent m_self; 55 | uint32_t m_iListener; 56 | void* m_userData; 57 | }; 58 | 59 | class EventProxy : public wxEvtHandler 60 | { 61 | public: 62 | void forwardEvent(wxEvent& event); 63 | }; 64 | 65 | class wxNode_wxEvtHandler : public wxEvtHandler, public wxNodeObject { 66 | public: 67 | static void AddMethods(v8::Handle func); 68 | static bool AssignableFrom(const v8::Handle& className) { return false; } 69 | static bool AssignableFrom(const char* className) { return false; } 70 | static v8::Handle New(wxEvtHandler* obj) { return v8::Undefined(); } 71 | static v8::Handle NewCopy(wxEvtHandler& obj) { return v8::Undefined(); } 72 | 73 | protected: 74 | static v8::Handle _EVT_MENU(const v8::Arguments& args); 75 | static v8::Handle _EVT_IDLE(const v8::Arguments& args); 76 | static v8::Handle _EVT_CLOSE(const v8::Arguments& args); 77 | static v8::Handle _EVT_KEY_DOWN(const v8::Arguments& args); 78 | static v8::Handle _EVT_WEB_VIEW(const v8::Arguments& args); 79 | static v8::Handle _connect(const v8::Arguments& args); 80 | }; 81 | 82 | #endif 83 | -------------------------------------------------------------------------------- /src/wxNode_wxVector.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxNode_wxVector_ 3 | #define _wxNode_wxVector_ 4 | 5 | #include "wxnode.h" 6 | #include 7 | 8 | template 9 | class wxNode_wxVector : public wxVector, public wxNodeObject { 10 | public: 11 | static void AddMethods(v8::Handle target) { wxNodeObject::AddMethods(target); } 12 | static bool AssignableFrom(const v8::Handle& className) { return false; } 13 | static bool AssignableFrom(const char* className) { return false; } 14 | static v8::Handle New(wxVector* obj) { return v8::Undefined(); } 15 | static v8::Handle NewCopy(wxVector& obj) { 16 | v8::HandleScope scope; 17 | 18 | v8::Local result = v8::Array::New(); 19 | 20 | return scope.Close(result); 21 | } 22 | }; 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/wxNode_wxWindowWithItems_wxControl_wxItemContainer.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wxNode_wxWindowWithItems_wxControl_wxItemContainer.h" 3 | #include "wxNode_wxControl.h" 4 | #include "wxNode_wxItemContainer.h" 5 | 6 | /*static*/ void wxNode_wxWindowWithItems_wxControl_wxItemContainer::AddMethods(v8::Handle target) { 7 | wxNode_wxControl::AddMethods(target); 8 | wxNode_wxItemContainer::AddMethods(target); 9 | } 10 | -------------------------------------------------------------------------------- /src/wxnode.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _wxnode_h_ 3 | #define _wxnode_h_ 4 | 5 | #ifdef WIN32 6 | #include 7 | #endif 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include "wxNodeObject.h" 22 | #include "wxNode_wxWindowWithItems_wxControl_wxItemContainer.h" 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/wxnode_bindings.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include "app.h" 5 | #include "wxNode_wxFrame.h" 6 | #include "wxNode_wxMenuBar.h" 7 | #include "wxNode_wxMenu.h" 8 | #include "wxNode_wxPoint.h" 9 | #include "wxNode_wxSize.h" 10 | #include "wxNode_wxTextCtrl.h" 11 | #include "wxNode_wxPanel.h" 12 | #include "wxNode_wxListBox.h" 13 | #include "wxNode_wxWindow.h" 14 | #include "wxNode_wxNotebook.h" 15 | #include "wxNode_wxSizerFlags.h" 16 | #include "wxNode_wxBoxSizer.h" 17 | #include "wxNode_wxButton.h" 18 | #include "wxNode_wxStaticText.h" 19 | #include "wxNode_wxIcon.h" 20 | #include "wxNode_wxDialog.h" 21 | #include "wxNode_wxArtProvider.h" 22 | #include "wxNode_wxBitmap.h" 23 | #include "wxNode_wxInfoBar.h" 24 | #include "wxNode_wxLogWindow.h" 25 | #include "wxNode_wxWebView.h" 26 | #include "wxNode_wxCursor.h" 27 | #include "wxNode_wxWebViewArchiveHandler.h" 28 | #include "wxNode_wxWebViewHistoryItem.h" 29 | #include "wxNode_wxTextEntryDialog.h" 30 | #include "wxLogStatus.h" 31 | #include "messageBox.h" 32 | #include "globalFunctions.h" 33 | 34 | extern "C" { 35 | static void init(v8::Handle target) { 36 | NodeWxApp::Init(target); 37 | wxNode_wxFrame::Init(target); 38 | wxNode_wxMenu::Init(target); 39 | wxNode_wxMenuBar::Init(target); 40 | wxNode_wxPoint::Init(target); 41 | wxNode_wxSize::Init(target); 42 | wxNode_wxTextCtrl::Init(target); 43 | wxNode_wxPanel::Init(target); 44 | wxNode_wxListBox::Init(target); 45 | wxNode_wxSizerFlags::Init(target); 46 | wxNode_wxWindow::Init(target); 47 | wxNode_wxNotebook::Init(target); 48 | wxNode_wxBoxSizer::Init(target); 49 | wxNode_wxButton::Init(target); 50 | wxNode_wxStaticText::Init(target); 51 | wxNode_wxIcon::Init(target); 52 | wxNode_wxInfoBar::Init(target); 53 | wxNode_wxDialog::Init(target); 54 | wxNode_wxArtProvider::Init(target); 55 | wxNode_wxBitmap::Init(target); 56 | wxNode_wxLogWindow::Init(target); 57 | wxNode_wxWebView::Init(target); 58 | wxNode_wxWebViewArchiveHandler::Init(target); 59 | wxNode_wxWebViewHistoryItem::Init(target); 60 | wxNode_wxTextEntryDialog::Init(target); 61 | GlobalFunctions::Init(target); 62 | NodeWxMessageBox::Init(target); 63 | NodeWxLogStatus::Init(target); 64 | 65 | { 66 | v8::Function* newWxSize = v8::Function::Cast(*target->Get(v8::String::New("Size"))); 67 | v8::Handle s = newWxSize->CallAsConstructor(0, new v8::Local[0])->ToObject(); 68 | v8::Function *initFn = v8::Function::Cast(*s->Get(v8::String::New("init"))); 69 | v8::Local initArgv[2]; 70 | initArgv[0] = v8::Number::New(wxDefaultSize.GetWidth()); 71 | initArgv[1] = v8::Number::New(wxDefaultSize.GetHeight()); 72 | initFn->Call(s, 2, initArgv); 73 | target->Set(v8::String::NewSymbol("DefaultSize"), s); 74 | } 75 | 76 | { 77 | v8::Function* newWxPosition = v8::Function::Cast(*target->Get(v8::String::New("Point"))); 78 | v8::Handle s = newWxPosition->CallAsConstructor(0, new v8::Local[0])->ToObject(); 79 | v8::Function *initFn = v8::Function::Cast(*s->Get(v8::String::New("init"))); 80 | v8::Local initArgv[2]; 81 | initArgv[0] = v8::Number::New(wxDefaultSize.x); 82 | initArgv[1] = v8::Number::New(wxDefaultSize.y); 83 | initFn->Call(s, 2, initArgv); 84 | target->Set(v8::String::NewSymbol("DefaultPosition"), s); 85 | } 86 | 87 | target->Set(v8::String::NewSymbol("CURSOR_ARROWWAIT"), v8::Number::New(wxCURSOR_ARROWWAIT)); 88 | target->Set(v8::String::NewSymbol("NullCursor"), wxNode_wxCursor::New(&wxNullCursor)); 89 | } 90 | 91 | NODE_MODULE(wxnode_bindings, init); 92 | } 93 | 94 | //----------------------------------------------------------------------------- 95 | // Replacement code for IMPLEMENT_APP_NO_MAIN() 96 | 97 | #if wxCHECK_VERSION(2, 8, 0) 98 | DECLARE_APP(NodeWxApp) 99 | IMPLEMENT_APP(NodeWxApp) 100 | static NodeWxApp* _app = NULL; 101 | #else 102 | static NodeWxApp* _app = NULL; 103 | wxApp* wxCreateApp() { return _app; } 104 | wxAppInitializer wxTheAppInitializer((wxAppInitializerFunction)wxCreateApp); 105 | #endif 106 | -------------------------------------------------------------------------------- /strvararg.h.patch: -------------------------------------------------------------------------------- 1 | *** include/wx/strvararg.h.orig 2012-02-08 09:38:07.331874043 -0500 2 | --- include/wx/strvararg.h 2012-02-08 09:39:25.487874034 -0500 3 | *************** 4 | *** 22,37 **** 5 | #include "wx/buffer.h" 6 | #include "wx/unichar.h" 7 | 8 | - #if defined(HAVE_TYPE_TRAITS) 9 | - #include 10 | - #elif defined(HAVE_TR1_TYPE_TRAITS) 11 | - #ifdef __VISUALC__ 12 | - #include 13 | - #else 14 | - #include 15 | - #endif 16 | - #endif 17 | - 18 | class WXDLLIMPEXP_FWD_BASE wxCStrData; 19 | class WXDLLIMPEXP_FWD_BASE wxString; 20 | 21 | --- 22,27 ---- 22 | *************** 23 | *** 343,354 **** 24 | template 25 | struct wxFormatStringSpecifier 26 | { 27 | - #ifdef HAVE_TYPE_TRAITS 28 | - typedef std::is_enum is_enum; 29 | - #elif defined HAVE_TR1_TYPE_TRAITS 30 | - typedef std::tr1::is_enum is_enum; 31 | - #endif 32 | - enum { value = wxFormatStringSpecifierNonPodType::value }; 33 | }; 34 | 35 | #else // !HAVE_(TR1_)TYPE_TRAITS 36 | --- 333,338 ---- 37 | --------------------------------------------------------------------------------