From: Vadim Zeitlin Date: Wed, 22 May 2002 15:49:59 +0000 (+0000) Subject: fixed ProcessMessage() signature X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/da25d3ab7306400eaa4665ab0c6555a0e2678718 fixed ProcessMessage() signature git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/app.tex b/docs/latex/wx/app.tex index 94d63f9676..f4e827c960 100644 --- a/docs/latex/wx/app.tex +++ b/docs/latex/wx/app.tex @@ -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);