summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-06 02:52:59 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-06 02:52:59 +0000
commit34704eb1dcbca0ab7d26673030716dfc245ec2ce (patch)
treeca392fb427afa5235302fe62218f9d9e10d2d05b /gui
parent56f0494615c29b696090c58be06f89797b7f4749 (diff)
downloadmpv-34704eb1dcbca0ab7d26673030716dfc245ec2ce.tar.bz2
mpv-34704eb1dcbca0ab7d26673030716dfc245ec2ce.tar.xz
Do not PostQuitMessage when destroying a child window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25313 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'gui')
-rw-r--r--gui/win32/dialogs.c13
-rw-r--r--gui/win32/preferences.c3
2 files changed, 0 insertions, 16 deletions
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);
}