Identifier 'TGadget' not found ---MaxGui

BlitzMax Forums/BlitzMax Beginners Area/Identifier 'TGadget' not found ---MaxGui

Galdy(Posted 2012) [#1]
I'm starting the maxgui beginners tutorial series and pasted the code below from tutoral 1 and got a "Identifier 'TGadget' not found." I'm currently using the demo version of bmax. Am I missing something or does the demo not have the maxgui module?


MyFirstWindow:TGadget=CreateWindow("My Window Title is Hello World", 200,200,320,240)

Repeat
WaitEvent()
Until EventID()=EVENT_WINDOWCLOSE

End


jsp(Posted 2012) [#2]
Put
Import MaxGui.Drivers
on top of the code.
The examples are a bit older and there were some changes...