关于wxapp的oninit()

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
scriptkit
In need of some credit
In need of some credit
Posts: 2
Joined: Tue Nov 01, 2011 8:37 am

关于wxapp的oninit()

Post by scriptkit » Tue Nov 01, 2011 8:40 am

新手求教

要强制调用wxapp的CallOnInit()方法吗?

为毛CallOnInit在文档中连个说明都找不到。。

sishui
Earned some good credits
Earned some good credits
Posts: 121
Joined: Mon Mar 10, 2008 6:13 am
Location: 中國

Re: 关于wxapp的oninit()

Post by sishui » Thu Nov 03, 2011 2:04 pm

你为嘛要强制调用CallOninit()?

你的平台是mac?
work work!!!

kipade
Earned some good credits
Earned some good credits
Posts: 118
Joined: Fri Nov 11, 2011 2:45 am
Location: China

Re: 关于wxapp的oninit()

Post by kipade » Fri Nov 11, 2011 4:30 am

据我所知CallOnInit是wx自动调用的,在这个里面会调用到全局App对象的OnInit函数。

Post Reply