From 2d806e8ea92b2af518b8281420aef75b61273ed7 Mon Sep 17 00:00:00 2001 From: "law%netscape.com" Date: Fri, 4 Feb 2000 08:51:23 +0000 Subject: [PATCH] Removing some debugging crud from new file --- xpfe/bootstrap/nsNativeAppSupportWin.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/xpfe/bootstrap/nsNativeAppSupportWin.cpp b/xpfe/bootstrap/nsNativeAppSupportWin.cpp index dcf5a61128b..655de19dbb5 100644 --- a/xpfe/bootstrap/nsNativeAppSupportWin.cpp +++ b/xpfe/bootstrap/nsNativeAppSupportWin.cpp @@ -94,11 +94,7 @@ NS_IMETHODIMP nsSplashScreenWin::Show() { // Spawn new thread to display splash screen. DWORD threadID = 0; -#ifdef DEBUG_law - ThreadProc( this ); -#else CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)ThreadProc, this, 0, &threadID ); -#endif return NS_OK; } @@ -138,20 +134,11 @@ nsSplashScreenWin *nsSplashScreenWin::GetPointer( HWND dlg ) { } DWORD WINAPI nsSplashScreenWin::ThreadProc( LPVOID splashScreen ) { -#ifdef DEBUG_law - HWND dlg = CreateDialogParam( GetModuleHandle( 0 ), - MAKEINTRESOURCE( IDD_SPLASH ), - HWND_DESKTOP, - (DLGPROC)DialogProc, - (LPARAM)splashScreen ); - ShowWindow( dlg, SW_SHOW ); -#else DialogBoxParam( GetModuleHandle( 0 ), MAKEINTRESOURCE( IDD_SPLASH ), HWND_DESKTOP, (DLGPROC)DialogProc, (LPARAM)splashScreen ); -#endif return 0; }