A really rooky question here but I'm still trying to understand something.
If I'm using WXWidgets I assume the purpose of the GUI is to provide a trigger point from where I can process event s via the event loop. I basically create the gui as I want it and open it.
When building an applicaiton, where does the 'MAIN' function come into this. Is MAIN processed as part of an even. For example if I click on button1 (just an example of a control on the GUI), it processes an even and directs the event to carry out instructions as per a function defined somewhere else. This seems straight forward, but where does 'MAIN' come into this and how do I call 'MAIN'? .... I told you this is a rooky question.
I'm having a dilemma with the very basics here. Just wondering how this would work.
I have a long time to work this out so my relative inexperience won't matter in the long run.
Thanks so much.