cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
What event does a wxwidget program gene
What event does a wxwidget program generate when its run?
Apr 20, 2012 at 7:04pm UTC
HenryJ
(73)
Hi guys,I need a bit of help here, I'm using wxWidgets and I want a function to be executed when the program is run, what event is generated when a program is run?
Apr 21, 2012 at 12:08pm UTC
blackcoder41
(1426)
Isn't it that you have to override the OnInit member function of wxApp??
1
2
3
4
5
6
7
bool
MyApp::OnInit() {
// run some function
foo();
return
true
; }
Topic archived. No new replies allowed.