compilation fixes to DoYield() after latest changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-04 20:36:20 +00:00
parent 74d60f66ee
commit 365b9f162a

View File

@@ -1081,8 +1081,7 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
case WM_NCMBUTTONUP:
case WM_NCMBUTTONDBLCLK:
case WM_KEYFIRST:
//case WM_KEYDOWN:
case WM_KEYDOWN:
case WM_KEYUP:
case WM_CHAR:
case WM_DEADCHAR:
@@ -1090,12 +1089,12 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
case WM_SYSKEYUP:
case WM_SYSCHAR:
case WM_SYSDEADCHAR:
case WM_KEYLAST:
case WM_UNICHAR:
case WM_HOTKEY:
case WM_IME_STARTCOMPOSITION:
case WM_IME_ENDCOMPOSITION:
case WM_IME_COMPOSITION:
//case WM_IME_KEYLAST:
case WM_IME_KEYLAST:
case WM_COMMAND:
case WM_SYSCOMMAND:
@@ -1109,7 +1108,9 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
case WM_IME_KEYUP:
case WM_MOUSEHOVER:
#ifdef WM_NCMOUSELEAVE
case WM_NCMOUSELEAVE:
#endif
case WM_MOUSELEAVE:
case WM_CUT:
@@ -1118,8 +1119,7 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
case WM_CLEAR:
case WM_UNDO:
case WM_MOUSEFIRST:
//case WM_MOUSEMOVE:
case WM_MOUSEMOVE:
case WM_LBUTTONDOWN:
case WM_LBUTTONUP:
case WM_LBUTTONDBLCLK:
@@ -1129,7 +1129,6 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
case WM_MBUTTONDOWN:
case WM_MBUTTONUP:
case WM_MBUTTONDBLCLK:
case WM_MOUSELAST:
case WM_MOUSEWHEEL:
cat = wxEVT_CATEGORY_USER_INPUT;
break;
@@ -1141,9 +1140,11 @@ bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
default:
if (msg.message < WM_USER)
{
// 0;WM_USER-1 is the range of message IDs reserved for use by the system.
// 0;WM_USER-1 is the range of message IDs reserved for use
// by the system.
// there are too many of these types of messages to handle them in this switch
// there are too many of these types of messages to handle
// them in this switch
cat = wxEVT_CATEGORY_UI;
}
else