I need to set the date inside a newly opened Dialog.
I see the OnInit code section on the base frame in the xxxxApp.cpp file and that works fine on launch, but when I use use wxSmith to create a new Dialog or Frame, there is no OnInit to be found in the new xxxx.cpp or xxxx.h files. I can manually add it in the new "class", but it never gets called.
Can somebody point me in the right direction. Everything else in the new Dialog works as it should. I even thought of using the Timer for this but that is certainly a waste of resources. There must be a simpler way.
Fred V.