how can I retrieve the handle of my application's instance in my wxWidgets program? and threadID.
just like this in MFC:
AfxGetApp()->m_hInstance
AfxGetApp()->m_nThreadID
About handle of Instance and threadID Topic is solved
Re: About handle of Instance and threadID
MSW specific:
::wxGetInstance()
you need to include "wx\msw\private.h"
wxThread::GetCurrentId()
http://docs.wxwidgets.org/stable/wx_wxt ... tcurrentid
::wxGetInstance()
you need to include "wx\msw\private.h"
wxThread::GetCurrentId()
http://docs.wxwidgets.org/stable/wx_wxt ... tcurrentid
Use the source, Luke!