Closed rousseldenis closed 3 months ago
@oleg68 During my tests implementation, I saw in logs that GOTimer is tried to be initialized during GOOrganController initilaization.
But, as GOTimer derived from wxTimer, that one requires wxApp to be initialized before (which is not wanted if we want to respect MVC principles).
See:
https://github.com/rousseldenis/grandorgue/actions/runs/10218507851/job/28274772479#step:6:26
I've read that wxTimer in that case should be static.
Do you have an idea or an example in which manner I could solve that ?
Many thanks
(which is not wanted if we want to respect MVC principles).
In fact, this is more about being able to launch the controller without having to launch the application object.
@oleg68 During my tests implementation, I saw in logs that GOTimer is tried to be initialized during GOOrganController initilaization.
But, as GOTimer derived from wxTimer, that one requires wxApp to be initialized before (which is not wanted if we want to respect MVC principles).
See:
https://github.com/rousseldenis/grandorgue/actions/runs/10218507851/job/28274772479#step:6:26
I've read that wxTimer in that case should be static.
Do you have an idea or an example in which manner I could solve that ?
Many thanks