]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed ProcessMessage() signature
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 May 2002 15:49:59 +0000 (15:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 May 2002 15:49:59 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/app.tex

index 94d63f9676755488e21faba7ad9287c364463b8b..f4e827c9608429ca7c18f6f49f39c5abd86128bf 100644 (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);