setAs('wxObject', 'wxWindow', function(from) { .Call('R_wxWindow_cast', from) })
setAs('wxObject', 'wxButton', function(from) { .Call('R_wxButton_cast', from) })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.