fixed ProcessMessage() signature

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-22 15:49:59 +00:00
parent e9f3277455
commit da25d3ab73

View File

@@ -441,7 +441,7 @@ Under Windows, OnQueryEndSession is called in response to the WM\_QUERYENDSESSIO
\membersection{wxApp::ProcessMessage}\label{wxappprocessmessage}
\func{bool}{ProcessMessage}{\param{MSG *}{msg}}
\func{bool}{ProcessMessage}{\param{WXMSG *}{msg}}
Windows-only function for processing a message. This function
is called from the main message loop, checking for windows that
@@ -456,7 +456,7 @@ the PreTranslateMessage function:
// Provide wxWindows message loop compatibility
BOOL CTheApp::PreTranslateMessage(MSG *msg)
{
if (wxTheApp && wxTheApp->ProcessMessage(msg))
if (wxTheApp && wxTheApp->ProcessMessage((WXMSW *)msg))
return TRUE;
else
return CWinApp::PreTranslateMessage(msg);