1. wxStaticBitmap now uses mask even for bitmaps (and not only icons)

2. we now catch WM_SYSKEYDOWN/UP events as well as normal ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-02 00:52:06 +00:00
parent e00a018306
commit 4004f41e3c
4 changed files with 47 additions and 15 deletions

View File

@@ -1956,6 +1956,7 @@ long wxWindow::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
//else: get the dlg code from the DefWindowProc()
break;
case WM_SYSKEYDOWN:
case WM_KEYDOWN:
// If this has been processed by an event handler,
// return 0 now (we've handled it).
@@ -2024,6 +2025,7 @@ long wxWindow::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
}
break;
case WM_SYSKEYUP:
case WM_KEYUP:
processed = HandleKeyUp((WORD) wParam, lParam);
break;