compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1387,7 +1387,7 @@ bool WXDLLIMPEXP_BASE wxGuiOwnedByMainThread()
|
|||||||
void WXDLLIMPEXP_BASE wxWakeUpMainThread()
|
void WXDLLIMPEXP_BASE wxWakeUpMainThread()
|
||||||
{
|
{
|
||||||
// sending any message would do - hopefully WM_NULL is harmless enough
|
// 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
|
// should never happen
|
||||||
wxLogLastError(wxT("PostThreadMessage(WM_NULL)"));
|
wxLogLastError(wxT("PostThreadMessage(WM_NULL)"));
|
||||||
|
Reference in New Issue
Block a user