changeset 25285:b2f710272c75

Do not PostQuitMessage when destroying a child window.
author zuxy
date Thu, 06 Dec 2007 02:52:59 +0000
parents e60a367eb80e
children 4bf7af882d13
files gui/win32/dialogs.c gui/win32/preferences.c
diffstat 2 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/dialogs.c	Wed Dec 05 23:44:31 2007 +0000
+++ b/gui/win32/dialogs.c	Thu Dec 06 02:52:59 2007 +0000
@@ -350,7 +350,6 @@
         return 0;
         case WM_DESTROY:
         {
-            PostQuitMessage (0);
             addurl = 0;
             return 0;
         }
@@ -610,9 +609,6 @@
             updatetracklist(hwnd);
         }
             break;
-        case WM_DESTROY:
-            PostQuitMessage(0);
-            return 0;
     }
     return DefWindowProc(hwnd, iMsg, wParam, lParam);
 }
@@ -737,9 +733,6 @@
             }
         }
             return 0;
-        case WM_DESTROY:
-            PostQuitMessage(0);
-            return 0;
     }
     return DefWindowProc(hwnd, iMsg, wParam, lParam);
 }
@@ -872,9 +865,6 @@
             }
         }
         return 0;
-        case WM_DESTROY:
-            PostQuitMessage (0);
-            return 0;
     }
     return DefWindowProc(hwnd, iMsg, wParam, lParam);
 }
@@ -1090,9 +1080,6 @@
             }
         }
         return 0;
-        case WM_DESTROY:
-            PostQuitMessage (0);
-            return 0;
     }
     return DefWindowProc(hwnd, iMsg, wParam, lParam);
 }
--- a/gui/win32/preferences.c	Wed Dec 05 23:44:31 2007 +0000
+++ b/gui/win32/preferences.c	Thu Dec 06 02:52:59 2007 +0000
@@ -656,9 +656,6 @@
             }
             return 0;
         }
-        case WM_DESTROY:
-            PostQuitMessage (0);
-            return 0;
     }
     return DefWindowProc(hwnd, iMsg, wParam, lParam);
 }