open "class.i" for input as #1
open "tmp.i" for output as #2

while not eof(1)
	line input #1, text
	if instr(text, "%num wxEVT_") <> 1 then
		print #2, text
	end if
wend
close

print "done"
