Fixed Exception dialog disapearing after a view second when exception occurs during app startup.
Problem was caused by splashscreen timeout, wx closing averything else if there is no more main frame.
Changes:
- no more timeout for splashscreen
- use wx.App OnInit method to give first operation to mainloop, object are then now created in mainloop
- main loop is then created _before_ showing splash screen
- no more wxyield or wx processevent tricks needed to display splash screen
- exception handler not blocking anymore on dialog (callafter)
- because of mainloop being there before everything, exit must be called explicitely if exception caught during startup -> exit parameter in handle_exception + try/except around startup calls
UNTESTED ON WINDOWS
IEC 61131-3
===========
IEC-61131 is a normative document provided by the standards organization IEC
(International Electrotechnical Commission) and describing a standard for
implementing programmable controllers.
The part 3 of this document (commonly named IEC 61131-3) specifies syntax and
semantics for programming language for programmable controllers. Beremiz
implements all the languages described in this document.
http://www.iec.eu
PLCopen TC6
===========
PLCopen is a vendor- and product-independent worldwide association defining
international standards for various topics related to control programming.
For this purpose, PLCopen has 6 technical committees.
The goal of the sixth committee (TC6) is to define a standard file format,
based on XML, for exchanging programmables controllers programmed using
IEC 61131-3 languages. Beremiz uses this file format for saving the PLC
programs of projects.
http://www.plcopen.org