wx pdf samples not working?

BlitzMax Modules Forums/Brucey's Modules/wx pdf samples not working?

The Forum Archive 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.

You can also do something like :
'
' Example application stub generated by wxCodeGen v1.08 : 13 Aug 2008 06:13:21
'
SuperStrict

Framework wx.wxApp

Import "generatedstuff.bmx"

New MyApp.run()

Type MyApp Extends wxApp

	Method OnInit:Int()

		' Add frame creation code here
		Local frame:MyFrame1 = MyFrame1 (New MyFrame.Create())

		Return True
	End Method

End Type



Type MyFrame1 Extends MyFrame1Base

	Method OnInit()
		Super.OnInit()

		' Add own initialisation code here

	End Method

End Type

Note, that you can Import the generated code. This has the advantage of you being able to re-generate the code any time without you losing any of your own hand-coded stuff.

Also, you may want to extend the generated Base type in order to implement/override the generated Event handler stubs, etc.