From 34704eb1dcbca0ab7d26673030716dfc245ec2ce Mon Sep 17 00:00:00 2001 From: zuxy Date: Thu, 6 Dec 2007 02:52:59 +0000 Subject: Do not PostQuitMessage when destroying a child window. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25313 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/win32/dialogs.c | 13 ------------- gui/win32/preferences.c | 3 --- 2 files changed, 16 deletions(-) (limited to 'gui/win32') diff --git a/gui/win32/dialogs.c b/gui/win32/dialogs.c index 85eee0b640..7793fc6894 100644 --- a/gui/win32/dialogs.c +++ b/gui/win32/dialogs.c @@ -350,7 +350,6 @@ static LRESULT CALLBACK OpenUrlWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPAR return 0; case WM_DESTROY: { - PostQuitMessage (0); addurl = 0; return 0; } @@ -610,9 +609,6 @@ static LRESULT CALLBACK PlayListWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA updatetracklist(hwnd); } break; - case WM_DESTROY: - PostQuitMessage(0); - return 0; } return DefWindowProc(hwnd, iMsg, wParam, lParam); } @@ -737,9 +733,6 @@ static LRESULT CALLBACK SkinBrowserWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, } } return 0; - case WM_DESTROY: - PostQuitMessage(0); - return 0; } return DefWindowProc(hwnd, iMsg, wParam, lParam); } @@ -872,9 +865,6 @@ static LRESULT CALLBACK TitleChapterWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, } } return 0; - case WM_DESTROY: - PostQuitMessage (0); - return 0; } return DefWindowProc(hwnd, iMsg, wParam, lParam); } @@ -1090,9 +1080,6 @@ static LRESULT CALLBACK EqWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lP } } return 0; - case WM_DESTROY: - PostQuitMessage (0); - return 0; } return DefWindowProc(hwnd, iMsg, wParam, lParam); } diff --git a/gui/win32/preferences.c b/gui/win32/preferences.c index 80c516b84e..08cabd00c1 100644 --- a/gui/win32/preferences.c +++ b/gui/win32/preferences.c @@ -656,9 +656,6 @@ static LRESULT CALLBACK PrefsWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM } return 0; } - case WM_DESTROY: - PostQuitMessage (0); - return 0; } return DefWindowProc(hwnd, iMsg, wParam, lParam); } -- cgit v1.2.3