Exemplo n.º 1
0
wxString wxHtmlListBox::OnGetItemMarkup(size_t n) const
{
    // we don't even need to wrap the value returned by OnGetItem() inside
    // "<html><body>" and "</body></html>" because wxHTML can parse it even
    // without these tags
    return OnGetItem(n);
}
Exemplo n.º 2
0
bool ChatInput::OnClickCell(GameItemBag* itembag, int iPage, int iCellIndex, Item* item, bool bFocused)
{		
	if (item)
	{
		char strIndex[5] = { 0x00 };
		sprintf(strIndex, "<b%02d", iCellIndex);	
		OnGetItem(strIndex);
		HideItems();
	}	
	return true;
	
}