当前位置: 首页>>代码示例>>C++>>正文


C++ wxStringFromBBString函数代码示例

本文整理汇总了C++中wxStringFromBBString函数的典型用法代码示例。如果您正苦于以下问题:C++ wxStringFromBBString函数的具体用法?C++ wxStringFromBBString怎么用?C++ wxStringFromBBString使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了wxStringFromBBString函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: bmx_wxbitmapcombobox_append

int bmx_wxbitmapcombobox_append(wxBitmapComboBox * combobox, BBString * item, MaxBitmap * bitmap, void * clientData) {
	if (bitmap) {
		return combobox->Append(wxStringFromBBString(item), bitmap->Bitmap(), clientData);
	} else {
		return combobox->Append(wxStringFromBBString(item), wxNullBitmap, clientData);
	}
}
开发者ID:BlitzMaxModules,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例2: bmx_wxaboutdialoginfo_setwebsite

void bmx_wxaboutdialoginfo_setwebsite(wxAboutDialogInfo * info, BBString * url, BBString * desc) {
	if (desc == &bbEmptyString) {
		info->SetWebSite(wxStringFromBBString(url));
	} else {
		info->SetWebSite(wxStringFromBBString(url), wxStringFromBBString(desc));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例3: bmx_wxsearchctrl_create

MaxSearchCtrl * bmx_wxsearchctrl_create(BBObject * maxHandle, wxWindow * parent, wxWindowID id, BBString * value, int x, int y, int w, int h, long style, wxValidator * validator) {
	if (validator) {
		return new MaxSearchCtrl(maxHandle, parent, id, wxStringFromBBString(value), x, y, w, h, style, *validator);
	} else {
		return new MaxSearchCtrl(maxHandle, parent, id, wxStringFromBBString(value), x, y, w, h, style, wxDefaultValidator);
	}
}
开发者ID:BlitzMaxModules,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例4: bmx_wxexecute

int bmx_wxexecute(BBString * command, int sync, wxProcess * callback) {
	if (callback) {
		return wxExecute(wxStringFromBBString(command), sync, callback);
	} else {
		return wxExecute(wxStringFromBBString(command), sync);
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例5: bmx_wxwindow_findwindowbyname

wxWindow * bmx_wxwindow_findwindowbyname(BBString * name, wxWindow * parent) {
	if (parent) {
		return wxWindow::FindWindowByName(wxStringFromBBString(name), parent);
	} else {
		return wxWindow::FindWindowByName(wxStringFromBBString(name));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例6: bmx_wxsfdiagrammanager_addshape

BBObject * bmx_wxsfdiagrammanager_addshape(wxSFDiagramManager * manager, BBString * shapeInfo, int xPos, int yPos, int saveState) {
	if (xPos >= 0 || yPos >= 0) {
		return newObjectForShape(manager->AddShape(wxClassInfo::FindClass(wxStringFromBBString(shapeInfo).c_str()), wxPoint(xPos, yPos), static_cast<bool>(saveState)));
	} else {
		return newObjectForShape(manager->AddShape(wxClassInfo::FindClass(wxStringFromBBString(shapeInfo).c_str()), static_cast<bool>(saveState)));
	}
}
开发者ID:maxmods,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例7: bmx_wxwindow_findwindowbylabel

wxWindow * bmx_wxwindow_findwindowbylabel(BBString * label, wxWindow * parent) {
	if (parent) {
		return wxWindow::FindWindowByLabel(wxStringFromBBString(label), parent);
	} else {
		return wxWindow::FindWindowByLabel(wxStringFromBBString(label));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例8: bmx_wxprogressdialog_create

wxProgressDialog * bmx_wxprogressdialog_create(BBObject * handle, BBString * title, BBString * message, int maximum, wxWindow * parent, int style) {
	if (parent) {
		return new MaxProgressDialog(handle, wxStringFromBBString(title), wxStringFromBBString(message), maximum, parent, style);
	} else {
		return new MaxProgressDialog(handle, wxStringFromBBString(title), wxStringFromBBString(message), maximum, NULL, style);
	}
}
开发者ID:BlitzMaxModules,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例9: bmx_wxbitmapcombobox_insert

int bmx_wxbitmapcombobox_insert(wxBitmapComboBox * combobox, unsigned int pos, BBString * item, MaxBitmap * bitmap, void * clientData) {
	if (bitmap) {
		return combobox->Insert(wxStringFromBBString(item), bitmap->Bitmap(), pos, clientData);
	} else {
		return combobox->Insert(wxStringFromBBString(item), wxNullBitmap, pos, clientData);
	}
}
开发者ID:BlitzMaxModules,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例10: bmx_wxlogstatus

void bmx_wxlogstatus(BBString * message, wxFrame * frame) {
	if (frame) {
		wxLogStatus(frame, _("%s"), wxStringFromBBString(message).c_str());
	} else {
		wxLogStatus(_("%s"), wxStringFromBBString(message).c_str());
	}
}
开发者ID:BlitzMaxModules,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例11: bmx_wxbitmap_savefile

int bmx_wxbitmap_savefile(MaxBitmap * bitmap, BBString * name, int kind, MaxPalette * palette) {
	if (palette) {
		return bitmap->Bitmap().SaveFile(wxStringFromBBString(name), static_cast<wxBitmapType>(kind), &palette->Palette());
	} else {
		return bitmap->Bitmap().SaveFile(wxStringFromBBString(name), static_cast<wxBitmapType>(kind));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:7,代码来源:glue.cpp

示例12: bmx_wxtreelistctrl_insertitembefore

MaxTreeItem * bmx_wxtreelistctrl_insertitembefore(wxTreeListCtrl * tree, MaxTreeItem * parent, int before, BBString * text, int image, int selImage, BBObject * data) {
	if (data != &bbNullObject) {
		MaxTreeItemData * itemdata = new MaxTreeItemData(data);
		return new MaxTreeItem(tree->InsertItem(parent->Item(), before, wxStringFromBBString(text), image, selImage, itemdata));
	} else {
		return new MaxTreeItem(tree->InsertItem(parent->Item(), before, wxStringFromBBString(text), image, selImage));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:8,代码来源:glue.cpp

示例13: bmx_wxtreectrl_prependitem

MaxTreeItem * bmx_wxtreectrl_prependitem(wxTreeCtrl * tree, MaxTreeItem * parent, BBString * text, int image, int selImage, BBObject * data) {
	if (data != &bbNullObject) {
		MaxTreeItemData * itemdata = new MaxTreeItemData(data);
		return new MaxTreeItem(tree->PrependItem(parent->Item(), wxStringFromBBString(text), image, selImage, itemdata));
	} else {
		return new MaxTreeItem(tree->PrependItem(parent->Item(), wxStringFromBBString(text), image, selImage));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:8,代码来源:glue.cpp

示例14: bmx_wxtreectrl_addroot

MaxTreeItem * bmx_wxtreectrl_addroot(wxTreeCtrl * tree, BBString * text, int image, int selImage, BBObject * data) {
	if (data != &bbNullObject) {
		MaxTreeItemData * itemdata = new MaxTreeItemData(data);
		return new MaxTreeItem(tree->AddRoot(wxStringFromBBString(text), image, selImage, itemdata));
	} else {
		return new MaxTreeItem(tree->AddRoot(wxStringFromBBString(text), image, selImage));
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:8,代码来源:glue.cpp

示例15: bmx_wxwindow_gettextextent

void bmx_wxwindow_gettextextent(wxWindow * window, BBString * text, int * x, int * y, int * descent,
		int * externalLeading, MaxFont * font, int use16) {
	if (font) {
		window->GetTextExtent(wxStringFromBBString(text), x, y, descent, externalLeading, &font->Font());//, use16);
	} else {
		window->GetTextExtent(wxStringFromBBString(text), x, y, descent, externalLeading, NULL);//, use16);
	}
}
开发者ID:GWRon,项目名称:wx.mod,代码行数:8,代码来源:glue.cpp


注:本文中的wxStringFromBBString函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。