def init_lang(self, app_attrs):
    tab = self.tabs(1)
    self.new_defaults = {'$parent': ('%s$parent = undef              unless defined $parent;\n' % tab), '$id': ('%s$id     = -1                 unless defined $id;\n' % tab), '$title': ('%s$title  = ""                 unless defined $title;\n' % tab), '$pos': ('%s$pos    = wxDefaultPosition  unless defined $pos;\n' % tab), '$size': ('%s$size   = wxDefaultSize      unless defined $size;\n' % tab), '$name': ('%s$name   = ""                 unless defined $name;\n\n' % tab)}
    self.header_lines = ['use Wx qw[:allclasses];\n', 'use strict;\n']
def init_lang(self, app_attrs):
    tab = self.tabs(1)
    self.new_defaults = {'$parent': ('%s$parent = undef              unless defined $parent;\n' % tab), '$id': ('%s$id     = -1                 unless defined $id;\n' % tab), '$title': ('%s$title  =                  unless defined $title;\n' % tab), '$pos': ('%s$pos    = wxDefaultPosition  unless defined $pos;\n' % tab), '$size': ('%s$size   = wxDefaultSize      unless defined $size;\n' % tab), '$name': ('%s$name   =                  unless defined $name;\n\n' % tab)}
    self.header_lines = ['use Wx qw[:allclasses];\n', 'use strict;\n']