Remove these lines (bolded):
IrrlichtDevice* device = 0;
s32 counter = 0;
IGUIListBox* listBox = 0;
class MyEventReceiver : public IEventReceiver
......
switch(event.GUIEvent.EventType)
{
case EGET_BUTTON_CLICKED:
{
if(id == 101)
{
listBox->addItem(L"Window Created");
Search found 1 match
- Thu Jul 07, 2005 4:37 pm
- Forum: Beginners Help
- Topic: runtime Error related to GUI
- Replies: 2
- Views: 184