7.You can freely analyze the code, and propose any changes
8.Parts of this code cannot be used to any other software creating without written permission of i2

July 2012, Krakow Poland
"""
import wx
import Aggregator as Agg_module


class Agg_GUI(Agg_module.MyDialog):
    def __init__(self, V):
        Agg_module.MyDialog.__init__(self, V)


stand_alone = True
try:
    Visum
    stand_alone = 0
except:
    Visum = Agg_module.Visum_Init("D:/agr.ver")

if __name__ == "__main__":
    if stand_alone:
        app = wx.PySimpleApp(0)
    wx.InitAllImageHandlers()
    APNR = Agg_GUI(Visum)
    app.SetTopWindow(APNR)
    APNR.Show()
    if stand_alone:
        app.MainLoop()