From: Jacek Caban jacek@codeweavers.com
Signed-off-by: Jacek Caban jacek@codeweavers.com --- dlls/user32/nonclient.c | 20 -------------------- 1 file changed, 20 deletions(-)
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c index 3844d42adba..7a742e1a429 100644 --- a/dlls/user32/nonclient.c +++ b/dlls/user32/nonclient.c @@ -31,8 +31,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(nonclient);
-#define SC_ABOUTWINE (SC_SCREENSAVE+1) - /* Some useful macros */ #define HAS_DLGFRAME(style,exStyle) \ (((exStyle) & WS_EX_DLGMODALFRAME) || \ @@ -291,24 +289,6 @@ LRESULT NC_HandleSysCommand( HWND hwnd, WPARAM wParam, LPARAM lParam ) WinExec( "taskman.exe", SW_SHOWNORMAL ); break;
- case SC_SCREENSAVE: - if (wParam == SC_ABOUTWINE) - { - HMODULE hmodule = LoadLibraryA( "shell32.dll" ); - if (hmodule) - { - BOOL (WINAPI *aboutproc)(HWND, LPCSTR, LPCSTR, HICON); - extern const char * CDECL wine_get_version(void); - char app[256]; - - sprintf( app, "Wine %s", wine_get_version() ); - aboutproc = (void *)GetProcAddress( hmodule, "ShellAboutA" ); - if (aboutproc) aboutproc( hwnd, app, NULL, 0 ); - FreeLibrary( hmodule ); - } - } - break; - case SC_HOTKEY: case SC_ARRANGE: case SC_NEXTWINDOW: