Issue inheriting TGadget properties

BlitzMax Forums/BlitzMax GUI Programming/Issue inheriting TGadget properties

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I guess I should have included the whole code:)

I did already have this at the top

SuperStrict

Global GAME_WIDTH:Int=800
Global GAME_HEIGHT:Int=600

Local wx:Int=(GadgetWidth(Desktop())-GAME_WIDTH)/2
Local wy:Int=(GadgetHeight(Desktop())-GAME_HEIGHT)/2