Permalink
Browse files

added fields

  • Loading branch information...
1 parent be55ba8 commit c3304d56f32c3fea83e1889abafabaedc49bd044 @joeferner committed Feb 13, 2012
Showing with 573 additions and 22 deletions.
  1. +3 −3 examples/webview.js
  2. +2 −0 lib/index.js
  3. +27 −0 render-templates.js
  4. +0 −15 src-dummy/wxNode_wxWebViewHistoryItem.h
  5. +3 −0 src-generated/wxNode_wxAnyButton.cpp
  6. +1 −0 src-generated/wxNode_wxAnyButton.h
  7. +3 −0 src-generated/wxNode_wxArtProvider.cpp
  8. +1 −0 src-generated/wxNode_wxArtProvider.h
  9. +3 −0 src-generated/wxNode_wxBitmap.cpp
  10. +1 −0 src-generated/wxNode_wxBitmap.h
  11. +3 −0 src-generated/wxNode_wxBookCtrlBase.cpp
  12. +1 −0 src-generated/wxNode_wxBookCtrlBase.h
  13. +3 −0 src-generated/wxNode_wxBoxSizer.cpp
  14. +1 −0 src-generated/wxNode_wxBoxSizer.h
  15. +3 −0 src-generated/wxNode_wxButton.cpp
  16. +1 −0 src-generated/wxNode_wxButton.h
  17. +3 −0 src-generated/wxNode_wxCommandEvent.cpp
  18. +1 −0 src-generated/wxNode_wxCommandEvent.h
  19. +3 −0 src-generated/wxNode_wxControl.cpp
  20. +1 −0 src-generated/wxNode_wxControl.h
  21. +3 −0 src-generated/wxNode_wxControlWithItems.cpp
  22. +1 −0 src-generated/wxNode_wxControlWithItems.h
  23. +3 −0 src-generated/wxNode_wxCursor.cpp
  24. +1 −0 src-generated/wxNode_wxCursor.h
  25. +3 −0 src-generated/wxNode_wxDialog.cpp
  26. +1 −0 src-generated/wxNode_wxDialog.h
  27. +3 −0 src-generated/wxNode_wxEvent.cpp
  28. +1 −0 src-generated/wxNode_wxEvent.h
  29. +3 −0 src-generated/wxNode_wxFrame.cpp
  30. +1 −0 src-generated/wxNode_wxFrame.h
  31. +3 −0 src-generated/wxNode_wxIcon.cpp
  32. +1 −0 src-generated/wxNode_wxIcon.h
  33. +3 −0 src-generated/wxNode_wxInfoBar.cpp
  34. +1 −0 src-generated/wxNode_wxInfoBar.h
  35. +3 −0 src-generated/wxNode_wxItemContainer.cpp
  36. +1 −0 src-generated/wxNode_wxItemContainer.h
  37. +3 −0 src-generated/wxNode_wxItemContainerImmutable.cpp
  38. +1 −0 src-generated/wxNode_wxItemContainerImmutable.h
  39. +3 −0 src-generated/wxNode_wxKeyEvent.cpp
  40. +1 −0 src-generated/wxNode_wxKeyEvent.h
  41. +3 −0 src-generated/wxNode_wxListBox.cpp
  42. +1 −0 src-generated/wxNode_wxListBox.h
  43. +3 −0 src-generated/wxNode_wxLogWindow.cpp
  44. +1 −0 src-generated/wxNode_wxLogWindow.h
  45. +3 −0 src-generated/wxNode_wxMenu.cpp
  46. +1 −0 src-generated/wxNode_wxMenu.h
  47. +3 −0 src-generated/wxNode_wxMenuBar.cpp
  48. +1 −0 src-generated/wxNode_wxMenuBar.h
  49. +3 −0 src-generated/wxNode_wxMenuItem.cpp
  50. +1 −0 src-generated/wxNode_wxMenuItem.h
  51. +3 −0 src-generated/wxNode_wxNonOwnedWindow.cpp
  52. +1 −0 src-generated/wxNode_wxNonOwnedWindow.h
  53. +3 −0 src-generated/wxNode_wxNotebook.cpp
  54. +1 −0 src-generated/wxNode_wxNotebook.h
  55. +3 −0 src-generated/wxNode_wxNotifyEvent.cpp
  56. +1 −0 src-generated/wxNode_wxNotifyEvent.h
  57. +3 −0 src-generated/wxNode_wxPanel.cpp
  58. +1 −0 src-generated/wxNode_wxPanel.h
  59. +33 −0 src-generated/wxNode_wxPoint.cpp
  60. +5 −0 src-generated/wxNode_wxPoint.h
  61. +33 −0 src-generated/wxNode_wxSize.cpp
  62. +5 −0 src-generated/wxNode_wxSize.h
  63. +3 −0 src-generated/wxNode_wxSizer.cpp
  64. +1 −0 src-generated/wxNode_wxSizer.h
  65. +3 −0 src-generated/wxNode_wxSizerFlags.cpp
  66. +1 −0 src-generated/wxNode_wxSizerFlags.h
  67. +3 −0 src-generated/wxNode_wxStaticText.cpp
  68. +1 −0 src-generated/wxNode_wxStaticText.h
  69. +3 −0 src-generated/wxNode_wxTextCtrl.cpp
  70. +1 −0 src-generated/wxNode_wxTextCtrl.h
  71. +3 −0 src-generated/wxNode_wxToolBar.cpp
  72. +1 −0 src-generated/wxNode_wxToolBar.h
  73. +3 −0 src-generated/wxNode_wxToolBarBase.cpp
  74. +1 −0 src-generated/wxNode_wxToolBarBase.h
  75. +3 −0 src-generated/wxNode_wxToolBarToolBase.cpp
  76. +1 −0 src-generated/wxNode_wxToolBarToolBase.h
  77. +3 −0 src-generated/wxNode_wxTopLevelWindow.cpp
  78. +1 −0 src-generated/wxNode_wxTopLevelWindow.h
  79. +4 −0 src-generated/wxNode_wxWebView.cpp
  80. +1 −0 src-generated/wxNode_wxWebView.h
  81. +3 −0 src-generated/wxNode_wxWebViewArchiveHandler.cpp
  82. +1 −0 src-generated/wxNode_wxWebViewArchiveHandler.h
  83. +3 −0 src-generated/wxNode_wxWebViewEvent.cpp
  84. +1 −0 src-generated/wxNode_wxWebViewEvent.h
  85. +3 −0 src-generated/wxNode_wxWebViewHandler.cpp
  86. +1 −0 src-generated/wxNode_wxWebViewHandler.h
  87. +208 −0 src-generated/wxNode_wxWebViewHistoryItem.cpp
  88. +40 −0 src-generated/wxNode_wxWebViewHistoryItem.h
  89. +3 −0 src-generated/wxNode_wxWindow.cpp
  90. +1 −0 src-generated/wxNode_wxWindow.h
  91. +18 −0 src-templates/generic.cpp
  92. +3 −0 src-templates/generic.h
  93. +21 −1 src/globalFunctions.cpp
  94. +1 −0 src/globalFunctions.h
  95. +3 −0 src/wxNode_wxEvtHandler.cpp
  96. +8 −2 src/wxNode_wxVector.h
  97. +0 −1 src/wxnode.h
  98. +2 −0 src/wxnode_bindings.cpp
View
@@ -470,7 +470,7 @@ var WebFrame = wx.Frame.extend({
var item;
var i;
- for(i = 0; i < back.size(); i++)
+ for(i = 0; i < back.length; i++)
{
item = this.m_tools_history_menu.appendRadioItem(wx.ID_ANY, back[i].getTitle());
this.m_histMenuItems[item.getId()] = back[i];
@@ -484,15 +484,15 @@ var WebFrame = wx.Frame.extend({
//No need to connect the current item
this.m_histMenuItems[item.getId()] = new wx.WebViewHistoryItem(this.m_browser.getCurrentURL(), this.m_browser.getCurrentTitle());
- for(i = 0; i < forward.size(); i++)
+ for(i = 0; i < forward.length; i++)
{
item = this.m_tools_history_menu.appendRadioItem(wx.ID_ANY, forward[i].getTitle());
this.m_histMenuItems[item.getId()] = forward[i];
this.connect(item.getId(), wx.EVT_COMMAND_TOOL_CLICKED,
this.onHistory, null, this );
}
- var position = this.screenToClient( wx.GetMousePosition() );
+ var position = this.screenToClient( wx.getMousePosition() );
this.popupMenu(this.m_tools_menu, position.x, position.y);
},
View
@@ -24,10 +24,12 @@ exports.InfoBar = bindings.InfoBar.extend({});
exports.LogWindow = bindings.LogWindow.extend({});
exports.WebView = bindings.WebView.extend({});
exports.WebViewArchiveHandler = bindings.WebViewArchiveHandler.extend({});
+exports.WebViewHistoryItem = bindings.WebViewHistoryItem.extend({});
exports.MessageBox = bindings.MessageBox.show;
exports.LogStatus = bindings.LogStatus.log;
exports.setCursor = bindings.setCursor;
exports.logMessage = bindings.logMessage;
+exports.getMousePosition = bindings.getMousePosition;
exports.DefaultPosition = bindings.DefaultPosition;
exports.DefaultSize = bindings.DefaultSize;
View
@@ -39,6 +39,7 @@ var files = [
{ className: 'wxWebView', allowNew: false, allowStaticNew: true },
{ className: 'wxWebViewArchiveHandler', allowNew: true, noNewCopy: true },
{ className: 'wxWebViewHandler', allowNew: false },
+ { className: 'wxWebViewHistoryItem', allowNew: true, noNewCopy: true },
{ className: 'wxItemContainer', allowNew: false },
{ className: 'wxItemContainerImmutable', allowNew: false },
{ className: 'wxSizer', allowNew: false },
@@ -421,6 +422,10 @@ function methodJsonToCtx(parent, rawJson, methodJson) {
+ 'sprintf(returnValTemp, "%lc", returnVal);\n'
+ "return scope.Close(v8::String::New(returnValTemp));";
} else if(ctx.returnTypeName && ctx.returnTypeName.match(/^wx.*/)) {
+ if(ctx.returnTypeName.indexOf('Vector') > 0) {
+ ctx.includes = concatUnique(ctx.includes, ["wxNode_wxVector.h"]);
+ }
+
if(returnType.refs == '&' || (returnType.refs == '' && returnType.pointers == '')) {
ctx.returnEq = ctx.returnTypeName + " returnVal = ";
ctx.returnStmt = "return scope.Close(wxNode_" + ctx.returnTypeName + "::NewCopy(returnVal));";
@@ -477,6 +482,26 @@ function toJsName(str) {
}
}
+function addField(rawJson, ctx, member, fields) {
+ if(member['access'] != 'public') {
+ return;
+ }
+ if(member['attributes'] && member['attributes'].match(/deprecated/)) {
+ return;
+ }
+ if(member.name.match(/^m_/)) {
+ return;
+ }
+
+ var field = {
+ parent: ctx,
+ name: member.name,
+ addFieldStmt: "target->PrototypeTemplate()->SetAccessor(v8::String::New(\"" + member.name + "\"), _" + member.name + "Get, _" + member.name + "Set);"
+ };
+
+ fields.push(field);
+}
+
function addMethod(rawJson, ctx, member, dest) {
if(member['access'] != 'public') {
return;
@@ -570,6 +595,7 @@ function rawJsonToCtx(rawJson, file) {
name: file.className,
outputFilename: "wxNode" + "_" + file.className + "." + file.outputFileType,
methods: [],
+ fields: [],
constructors: [],
includes: [],
classes: [],
@@ -670,6 +696,7 @@ function rawJsonToCtx(rawJson, file) {
}
if(member.elementName == "Field") {
+ addField(rawJson, ctx, member, ctx.fields);
continue;
}
@@ -1,15 +0,0 @@
-
-#ifndef _wxNode_wxWebViewHistoryItem_
-#define _wxNode_wxWebViewHistoryItem_
-
-class wxNode_wxWebViewHistoryItem : public wxWebViewHistoryItem, public wxNodeObject {
- public:
- static void AddMethods(v8::Handle<v8::FunctionTemplate> target) { wxNodeObject::AddMethods(target); }
- static bool AssignableFrom(const v8::Handle<v8::String>& className) { return false; }
- static bool AssignableFrom(const char* className) { return false; }
- static v8::Handle<v8::Value> New(wxWebViewHistoryItem* obj) { return v8::Undefined(); }
- static v8::Handle<v8::Value> NewCopy(wxWebViewHistoryItem& obj) { return v8::Undefined(); }
-
-};
-
-#endif
@@ -61,6 +61,7 @@ wxNode_wxAnyButton::wxNode_wxAnyButton()
NODE_SET_PROTOTYPE_METHOD(target, "dontShowLabel", _DontShowLabel);
NODE_SET_PROTOTYPE_METHOD(target, "showsLabel", _ShowsLabel);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxAnyButton::New(const wxNode_wxAnyButton* obj) {
@@ -877,3 +878,5 @@ wxNode_wxAnyButton::wxNode_wxAnyButton()
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -55,6 +55,7 @@ class wxNode_wxAnyButton : public wxAnyButton, public wxNodeObject, public NodeE
static v8::Handle<v8::Value> _DontShowLabel(const v8::Arguments& args);
static v8::Handle<v8::Value> _ShowsLabel(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -60,6 +60,7 @@ wxNode_wxArtProvider::wxNode_wxArtProvider()
NODE_SET_METHOD(target, "getSizeHint", _GetSizeHint);
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxArtProvider::New(const wxNode_wxArtProvider* obj) {
@@ -639,3 +640,5 @@ wxNode_wxArtProvider::wxNode_wxArtProvider()
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -47,6 +47,7 @@ class wxNode_wxArtProvider : public wxArtProvider, public wxNodeObject, public N
static v8::Handle<v8::Value> _GetSizeHint(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -143,6 +143,7 @@ wxNode_wxBitmap::wxNode_wxBitmap(wxImage& image)
NODE_SET_PROTOTYPE_METHOD(target, "quantizeColour", _QuantizeColour);
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxBitmap::New(const wxNode_wxBitmap* obj) {
@@ -1221,3 +1222,5 @@ wxNode_wxBitmap::wxNode_wxBitmap(wxImage& image)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -88,6 +88,7 @@ class wxNode_wxBitmap : public wxBitmap, public wxNodeObject, public NodeExEvtHa
static v8::Handle<v8::Value> _QuantizeColour(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -65,6 +65,7 @@
NODE_SET_PROTOTYPE_METHOD(target, "canApplyThemeBorder", _CanApplyThemeBorder);
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxBookCtrlBase::New(const wxNode_wxBookCtrlBase* obj) {
@@ -1219,3 +1220,5 @@
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -61,6 +61,7 @@ class wxNode_wxBookCtrlBase : public wxBookCtrlBase, public wxNodeObject, public
static v8::Handle<v8::Value> _CanApplyThemeBorder(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -51,6 +51,7 @@ wxNode_wxBoxSizer::wxNode_wxBoxSizer(int orient)
NODE_SET_PROTOTYPE_METHOD(target, "recalcSizes", _RecalcSizes);
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxBoxSizer::New(const wxNode_wxBoxSizer* obj) {
@@ -356,3 +357,5 @@ wxNode_wxBoxSizer::wxNode_wxBoxSizer(int orient)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -39,6 +39,7 @@ class wxNode_wxBoxSizer : public wxBoxSizer, public wxNodeObject, public NodeExE
static v8::Handle<v8::Value> _RecalcSizes(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -85,6 +85,7 @@ wxNode_wxButton::wxNode_wxButton(wxWindow* parent, int id)
NODE_SET_PROTOTYPE_METHOD(target, "setDefault", _SetDefault);
NODE_SET_METHOD(target, "getDefaultSize", _GetDefaultSize);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxButton::New(const wxNode_wxButton* obj) {
@@ -444,3 +445,5 @@ wxNode_wxButton::wxNode_wxButton(wxWindow* parent, int id)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -51,6 +51,7 @@ class wxNode_wxButton : public wxButton, public wxNodeObject, public NodeExEvtHa
static v8::Handle<v8::Value> _SetDefault(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetDefaultSize(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -68,6 +68,7 @@ wxNode_wxCommandEvent::wxNode_wxCommandEvent(wxCommandEvent& event)
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
NODE_SET_METHOD(target, "wxCreateObject", _wxCreateObject);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxCommandEvent::New(const wxNode_wxCommandEvent* obj) {
@@ -565,3 +566,5 @@ wxNode_wxCommandEvent::wxNode_wxCommandEvent(wxCommandEvent& event)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -49,6 +49,7 @@ class wxNode_wxCommandEvent : public wxCommandEvent, public wxNodeObject, public
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
static v8::Handle<v8::Value> _wxCreateObject(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -95,6 +95,7 @@ wxNode_wxControl::wxNode_wxControl(wxWindow* parent, int id)
NODE_SET_METHOD(target, "findAccelIndex", _FindAccelIndex);
NODE_SET_METHOD(target, "getCompositeControlsDefaultAttributes", _GetCompositeControlsDefaultAttributes);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxControl::New(const wxNode_wxControl* obj) {
@@ -1069,3 +1070,5 @@ wxNode_wxControl::wxNode_wxControl(wxWindow* parent, int id)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -64,6 +64,7 @@ class wxNode_wxControl : public wxControl, public wxNodeObject, public NodeExEvt
static v8::Handle<v8::Value> _FindAccelIndex(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetCompositeControlsDefaultAttributes(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -28,6 +28,7 @@
wxNode_wxWindowWithItems_wxControl_wxItemContainer::AddMethods(target);
NODE_SET_PROTOTYPE_METHOD(target, "shouldInheritColours", _ShouldInheritColours);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxControlWithItems::New(const wxNode_wxControlWithItems* obj) {
@@ -153,3 +154,5 @@
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -26,6 +26,7 @@ class wxNode_wxControlWithItems : public wxControlWithItems, public wxNodeObject
static v8::Handle<v8::Value> _ShouldInheritColours(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -126,6 +126,7 @@ wxNode_wxCursor::wxNode_wxCursor(const char* bits, int width, int height)
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
NODE_SET_METHOD(target, "wxCreateObject", _wxCreateObject);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxCursor::New(const wxNode_wxCursor* obj) {
@@ -508,3 +509,5 @@ wxNode_wxCursor::wxNode_wxCursor(const char* bits, int width, int height)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -63,6 +63,7 @@ class wxNode_wxCursor : public wxCursor, public wxNodeObject, public NodeExEvtHa
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
static v8::Handle<v8::Value> _wxCreateObject(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -107,6 +107,7 @@ wxNode_wxDialog::wxNode_wxDialog(wxWindow* parent, int id, const wxString& title
NODE_SET_METHOD(target, "enableLayoutAdaptation", _EnableLayoutAdaptation);
NODE_SET_PROTOTYPE_METHOD(target, "getModality", _GetModality);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxDialog::New(const wxNode_wxDialog* obj) {
@@ -1300,3 +1301,5 @@ wxNode_wxDialog::wxNode_wxDialog(wxWindow* parent, int id, const wxString& title
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -79,6 +79,7 @@ class wxNode_wxDialog : public wxDialog, public wxNodeObject, public NodeExEvtHa
static v8::Handle<v8::Value> _EnableLayoutAdaptation(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetModality(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -48,6 +48,7 @@
NODE_SET_PROTOTYPE_METHOD(target, "didntHonourProcessOnlyIn", _DidntHonourProcessOnlyIn);
NODE_SET_PROTOTYPE_METHOD(target, "getClassInfo", _GetClassInfo);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxEvent::New(const wxNode_wxEvent* obj) {
@@ -782,3 +783,5 @@
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
@@ -45,6 +45,7 @@ class wxNode_wxEvent : public wxEvent, public wxNodeObject, public NodeExEvtHand
static v8::Handle<v8::Value> _DidntHonourProcessOnlyIn(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
+
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
@@ -100,6 +100,7 @@ wxNode_wxFrame::wxNode_wxFrame(wxWindow* parent, int id, const wxString& title)
NODE_SET_PROTOTYPE_METHOD(target, "doGiveHelp", _DoGiveHelp);
NODE_SET_PROTOTYPE_METHOD(target, "isClientAreaChild", _IsClientAreaChild);
+
}
/*static*/ v8::Handle<v8::Value> wxNode_wxFrame::New(const wxNode_wxFrame* obj) {
@@ -1157,3 +1158,5 @@ wxNode_wxFrame::wxNode_wxFrame(wxWindow* parent, int id, const wxString& title)
return v8::ThrowException(v8::Exception::TypeError(v8::String::New(errStr.str().c_str())));
}
+
+
Oops, something went wrong.

0 comments on commit c3304d5

Please sign in to comment.