应用程序句柄 Topic is solved

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
liuqi5521
Earned some good credits
Earned some good credits
Posts: 103
Joined: Thu Apr 03, 2008 5:35 am
Location: China
Contact:

应用程序句柄

Post by liuqi5521 »

wxWidgets程序里如何获取程序实例句柄和主线程ID,
就像是MFC里面的:
AfxGetApp()->m_hInstance,AfxGetApp()->m_nThreadID
00061205
Knows some wx things
Knows some wx things
Posts: 41
Joined: Mon Jun 16, 2008 3:43 am
Location: Beijing, China

Post by 00061205 »

wxApp::GetInstance()
wxThread::GetCurrentId()
Regards,

00061205
Post Reply