git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61407
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void WXDLLIMPEXP_BASE wxWakeUpMainThread()
{
// sending any message would do - hopefully WM_NULL is harmless enough
void WXDLLIMPEXP_BASE wxWakeUpMainThread()
{
// sending any message would do - hopefully WM_NULL is harmless enough
- if ( !::PostThreadMessage(ms_idMainThread, WM_NULL, 0, 0) )
+ if ( !::PostThreadMessage(wxThread::GetMainId(), WM_NULL, 0, 0) )
{
// should never happen
wxLogLastError(wxT("PostThreadMessage(WM_NULL)"));
{
// should never happen
wxLogLastError(wxT("PostThreadMessage(WM_NULL)"));