本文整理汇总了C++中wxbind函数的典型用法代码示例。如果您正苦于以下问题:C++ wxbind函数的具体用法?C++ wxbind怎么用?C++ wxbind使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了wxbind函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: bmx_wxarchivefshandler_new
wxArchiveFSHandler * bmx_wxarchivefshandler_new(BBObject * handle) {
wxArchiveFSHandler * handler = new wxArchiveFSHandler;
wxbind(handler, handle);
return handler;
}
示例2: bmx_wxwebview_create
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;
}
示例3: wxGLCanvas
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);
}
}
示例4: bmx_wxxmlresource_loadobject
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;
}
示例5: wxbind
void MaxGauge::MaxBind(BBObject * handle) {
wxbind(this, handle);
}
示例6: wxbind
void MaxGenericDirCtrl::MaxBind(BBObject * handle) {
wxbind(this, handle);
}
示例7: wxbind
void MaxButton::MaxBind(BBObject * handle) {
wxbind(this, handle);
}
示例8: wxbind
void MaxDataViewTreeCtrl::MaxBind(BBObject * handle) {
maxHandle = handle;
wxbind(this, handle);
}
示例9: wxbind
void MaxToolbook::MaxBind(BBObject * handle) {
wxbind(this, handle);
}
示例10: wxToolbook
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);
}
示例11: maxHandle
MaxFlexGridSizer::MaxFlexGridSizer(BBObject * handle, int rows, int cols, int vgap, int hgap)
: maxHandle(handle), wxFlexGridSizer(rows, cols, vgap, hgap)
{
wxbind(this, handle);
}
示例12: wxButton
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);
}
示例13: wxScrollBar
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);
}
示例14: wxAnimationCtrl
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);
}
示例15: wxDialog
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);
}