From 165650d89bee6b0af52066ae149eb173133c95d3 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 31 Dec 2008 00:59:05 +0100 Subject: [PATCH] winemine: Remove AboutDlgProc() as it is unused. --- programs/winemine/dialog.c | 18 ------------------ programs/winemine/main.h | 1 - 2 files changed, 19 deletions(-) diff --git a/programs/winemine/dialog.c b/programs/winemine/dialog.c index fb7efb22a95..dc4ab349fd6 100644 --- a/programs/winemine/dialog.c +++ b/programs/winemine/dialog.c @@ -114,21 +114,3 @@ INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara } return FALSE; } - -INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) -{ - switch( uMsg ) { - case WM_INITDIALOG: - return TRUE; - - case WM_COMMAND: - switch( LOWORD( wParam ) ) { - case IDOK: - case IDCANCEL: - EndDialog( hDlg, 0 ); - return TRUE; - } - break; - } - return FALSE; -} diff --git a/programs/winemine/main.h b/programs/winemine/main.h index a813c95f04a..e9febfc6c4a 100644 --- a/programs/winemine/main.h +++ b/programs/winemine/main.h @@ -178,6 +178,5 @@ INT_PTR CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lP INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); -INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); /* end of header */