wxArchiveFSHandler * bmx_wxarchivefshandler_new(BBObject * handle) { wxArchiveFSHandler * handler = new wxArchiveFSHandler; wxbind(handler, handle); return handler; }
wxWebView * bmx_wxwebview_create(BBObject * maxHandle, wxWindow * parent, wxWindowID id, BBString * url, int x, int y, int w, int h, long style) { wxWebView * webView = wxWebView::New(parent, id, wxStringFromBBString(url), wxPoint(x, y), wxSize(w, h), wxWebViewBackendDefault, style); wxbind(webView, maxHandle); return webView; }
MaxGLCanvas::MaxGLCanvas(BBObject * handle, wxWindow* parent, wxWindowID id, int x, int y, int w, int h, long style, const wxString& name, int* attribList) : wxGLCanvas(parent, id, attribList, wxPoint(x, y), wxSize(w, h), style, name) { wxbind(this, handle); if (!sharedContext) { sharedContext = new wxGLContext(this); //context = sharedContext; } else { //context = new wxGLContext(this, sharedContext); //SetCurrent(*sharedContext); } }
wxObject * bmx_wxxmlresource_loadobject(wxXmlResource * res, BBObject * win, wxWindow * parent, BBString * name, BBString * classname) { wxObject * obj = res->LoadObject(parent, wxStringFromBBString(name), wxStringFromBBString(classname)); if (obj) { // unbind from automatic-newly created object wxunbind(obj); // bind to *our* newly created object wxbind(obj, win); } return obj; }
void MaxGauge::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxGenericDirCtrl::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxStaticBox::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxDialog::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxAnimationCtrl::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxButton::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxDataViewTreeCtrl::MaxBind(BBObject * handle) { maxHandle = handle; wxbind(this, handle); }
void MaxPanel::MaxBind(BBObject * handle) { wxbind(this, handle); }
void MaxToolbook::MaxBind(BBObject * handle) { wxbind(this, handle); }
MaxToolbook::MaxToolbook(BBObject * handle, wxWindow * parent, wxWindowID id, int x, int y, int w, int h, long style) : wxToolbook(parent, id, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
void MaxSearchCtrl::MaxBind(BBObject * handle) { wxbind(this, handle); }
MaxFlexGridSizer::MaxFlexGridSizer(BBObject * handle, int rows, int cols, int vgap, int hgap) : maxHandle(handle), wxFlexGridSizer(rows, cols, vgap, hgap) { wxbind(this, handle); }
MaxButton::MaxButton(BBObject * handle, wxWindow * parent, wxWindowID id, const wxString& label, int x, int y, int w, int h, long style) : wxButton(parent, id, label, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
MaxScrollBar::MaxScrollBar(BBObject * handle, wxWindow * parent, wxWindowID id, int x, int y, int w, int h, long style) : wxScrollBar(parent, id, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
MaxAnimationCtrl::MaxAnimationCtrl(BBObject * handle, wxWindow * parent, wxWindowID id, MaxAnimation * anim, int x, int y, int w, int h, long style) : wxAnimationCtrl(parent, id, (anim) ? anim->Animation() : wxNullAnimation, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
void MaxScrollBar::MaxBind(BBObject * handle) { wxbind(this, handle); }
MaxDialog::MaxDialog(BBObject * handle, wxWindow * parent, wxWindowID id, const wxString& title, int x, int y, int w, int h, long style) : wxDialog(parent, id, title, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
MaxHtmlHelpWindow::MaxHtmlHelpWindow(BBObject * handle, wxWindow * parent, int id, int x, int y, int w, int h, int style, int helpStyle) : wxHtmlHelpWindow(parent, id, wxPoint(x, y), wxSize(w, h), style, helpStyle) { wxbind(this, handle); }
MaxMultiChoiceDialog::MaxMultiChoiceDialog(BBObject * handle, wxWindow * parent, const wxString& message, const wxString& caption, const wxArrayString& choices, long style, int x, int y) : wxMultiChoiceDialog(parent, message, caption, choices, style, wxPoint(x, y)) { wxbind(this, handle); }
MaxGridBagSizer::MaxGridBagSizer(BBObject * handle, int vgap, int hgap) : maxHandle(handle), wxGridBagSizer(vgap, hgap) { wxbind(this, handle); }
MaxGenericDirCtrl::MaxGenericDirCtrl(BBObject * handle, wxWindow * parent, wxWindowID id, const wxString& dir, int x, int y, int w, int h, long style, const wxString& filter, int defaultFilter) : wxGenericDirCtrl(parent, id, dir, wxPoint(x, y), wxSize(w, h), style, filter, defaultFilter) { wxbind(this, handle); }
MaxWindow::MaxWindow(BBObject * handle, wxWindow * parent, wxWindowID id, int x, int y, int w, int h, long style) : maxHandle(handle), wxWindow(parent, id, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
MaxGauge::MaxGauge(BBObject * handle, wxWindow * parent, wxWindowID id, int range, int x, int y, int w, int h, long style) : wxGauge(parent, id, range, wxPoint(x, y), wxSize(w, h), style) { wxbind(this, handle); }
MaxBoxSizer::MaxBoxSizer(BBObject * handle, int orient) : maxHandle(handle), wxBoxSizer(orient) { wxbind(this, handle); }
MaxMacPageMarginsDialog::MaxMacPageMarginsDialog(BBObject * handle, wxFrame * parent, wxPageSetupDialogData* data) : wxMacPageMarginsDialog(parent, data) { wxbind(this, handle); }
void MaxGridSizer::MaxBind(BBObject * handle) { maxHandle = handle; wxbind(this, handle); }