def _create_control(self, parent):
        classpath = traits.util.resource.get_path( self )
        path = os.path.join( classpath, self.xrc_file )

        self.resource = wx.xrc.XmlResource( path )
        return self.resource.LoadDialog(parent, self.id)
Creates the dialog and loads it in from the resource file.
dataset/ETHPy150Open enthought/pyface/pyface/xrc_dialog.py/XrcDialog._create_control