let the DefWindowProc() process messages sent to RAS window, otherwise the system can't shutdown properly while it exists

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-07-14 20:02:30 +00:00
parent 109c7768eb
commit cd6af1cb31

View File

@ -1250,16 +1250,25 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data)
static LRESULT APIENTRY wxRasStatusWindowProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam)
{
if ( message == wxWM_RAS_STATUS_CHANGED )
switch ( message )
{
wxRasThreadData *data = (wxRasThreadData *)lParam;
data->dialUpManager->OnConnectStatusChange();
}
else if ( message == wxWM_RAS_DIALING_PROGRESS )
{
wxDialUpManagerMSW *dialUpManager = wxDialUpManagerMSW::GetDialer();
case wxWM_RAS_STATUS_CHANGED:
{
wxRasThreadData *data = (wxRasThreadData *)lParam;
data->dialUpManager->OnConnectStatusChange();
}
break;
dialUpManager->OnDialProgress((RASCONNSTATE)wParam, lParam);
case wxWM_RAS_DIALING_PROGRESS:
{
wxDialUpManagerMSW *dialMan = wxDialUpManagerMSW::GetDialer();
dialMan->OnDialProgress((RASCONNSTATE)wParam, lParam);
}
break;
default:
return ::DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;