fix app window icon not applied in XP 2600.

This commit is contained in:
Chris Danford
2005-11-23 19:25:19 +00:00
parent a42177e5df
commit 11333f8d32
@@ -266,7 +266,7 @@ void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p )
/* Update the window icon. */
if( g_hIcon != NULL )
{
SetClassLong( g_hWndMain, GCL_HICON, (LONG) NULL );
SetClassLong( g_hWndMain, GCL_HICON, (LONG) LoadIcon(NULL,IDI_APPLICATION) );
DestroyIcon( g_hIcon );
g_hIcon = NULL;
}