Page 1 of 1

应用程序句柄

Posted: Thu Jul 31, 2008 2:32 am
by liuqi5521
wxWidgets程序里如何获取程序实例句柄和主线程ID,
就像是MFC里面的:
AfxGetApp()->m_hInstance,AfxGetApp()->m_nThreadID

Posted: Fri Aug 01, 2008 4:22 am
by 00061205
wxApp::GetInstance()
wxThread::GetCurrentId()