MiniB3D and wxMax

BlitzMax Modules Forums/MiniB3D/MiniB3D and wxMax

You could always wrap it in a global variable test?
	Method Render()
		SetGraphics CanvasGraphics2D( Self )
		Global enabled:int
		If Not enabled Then
			enabled = True
			TGlobal.EnableStates()
		End If
		Draw()
		Flip
	End Method

I've not see EnableStates used before. Where/when would you normally call that?