diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-06-29 10:05:25 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-06-29 10:05:25 +0000 |
commit | 1707cd4bec499d33300a973b7d742c15dd0b155c (patch) | |
tree | a1c6d3ee3a949b242420ceb2cda27365d34af451 /dtrans | |
parent | eca25027c515397618911c9f51d8d350621b7822 (diff) |
#88446# Handle all relevant system messages because DefWindowProcW does not work on Win9x
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/mtaole/MtaOleClipb.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dtrans/source/win32/mtaole/MtaOleClipb.cxx b/dtrans/source/win32/mtaole/MtaOleClipb.cxx index aebe0ba68c63..69ed884f7e8b 100644 --- a/dtrans/source/win32/mtaole/MtaOleClipb.cxx +++ b/dtrans/source/win32/mtaole/MtaOleClipb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: MtaOleClipb.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: tra $ $Date: 2001-04-05 10:47:46 $ + * last change: $Author: hro $ $Date: 2001-06-29 11:05:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -641,6 +641,12 @@ LRESULT CALLBACK CMtaOleClipboard::mtaOleReqWndProc( HWND hWnd, UINT uMsg, WPARA PostQuitMessage( 0 ); break; + // FIX ME: DefWindowProcW always return 0 on Win9x fopr any message + + case WM_QUERYENDSESSION: + lResult = TRUE; // Allow Win9x to shutdown ;-) + break; + default: lResult = DefWindowProc( hWnd, uMsg, wParam, lParam ); break; |