X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9154d8cfff9f6a58ccec94bf242086e7e10ea91b..d30ff492f0ee23d067e996c0a5f769e4dafb0225:/docs/latex/wx/app.tex 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);