Alexandre Julliard : user: Allow creating windows of the desktop
class.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 6 12:54:52 CST 2006
Module: wine
Branch: refs/heads/master
Commit: f874d20f54607dca0113e899c61af0bdaee9adba
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f874d20f54607dca0113e899c61af0bdaee9adba
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 6 12:44:38 2006 +0100
user: Allow creating windows of the desktop class.
---
dlls/user/desktop.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user/desktop.c b/dlls/user/desktop.c
index 0252512..1943dbf 100644
--- a/dlls/user/desktop.c
+++ b/dlls/user/desktop.c
@@ -117,8 +117,8 @@ static HBITMAP DESKTOP_LoadBitmap( HDC h
*/
static LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam )
{
- /* all messages are ignored */
- return 0;
+ if (message == WM_NCCREATE) return TRUE;
+ return 0; /* all other messages are ignored */
}
/***********************************************************************
More information about the wine-cvs
mailing list