Enabling the Pop Menu fix to peek at all the command messages. Required adding a secondary DoMessage to wxApp. Some textctrl work as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -787,15 +787,24 @@ bool wxApp::DoMessage()
|
||||
}
|
||||
#endif // wxUSE_THREADS
|
||||
|
||||
//
|
||||
// Process the message
|
||||
if (!ProcessMessage((WXMSG *)&svCurrentMsg))
|
||||
{
|
||||
::WinDispatchMsg(vHabmain, (PQMSG)&svCurrentMsg);
|
||||
}
|
||||
//
|
||||
DoMessage((WXMSG *)&svCurrentMsg);
|
||||
}
|
||||
return TRUE;
|
||||
} // end of wxApp::DoMessage
|
||||
|
||||
void wxApp::DoMessage(
|
||||
WXMSG* pMsg
|
||||
)
|
||||
{
|
||||
if (!ProcessMessage((WXMSG *)&svCurrentMsg))
|
||||
{
|
||||
::WinDispatchMsg(vHabmain, (PQMSG)&svCurrentMsg);
|
||||
}
|
||||
} // end of wxApp::DoMessage
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Keep trying to process messages until WM_QUIT
|
||||
|
Reference in New Issue
Block a user