fix app window icon not applied in XP 2600.
This commit is contained in:
@@ -266,7 +266,7 @@ void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p )
|
|||||||
/* Update the window icon. */
|
/* Update the window icon. */
|
||||||
if( g_hIcon != NULL )
|
if( g_hIcon != NULL )
|
||||||
{
|
{
|
||||||
SetClassLong( g_hWndMain, GCL_HICON, (LONG) NULL );
|
SetClassLong( g_hWndMain, GCL_HICON, (LONG) LoadIcon(NULL,IDI_APPLICATION) );
|
||||||
DestroyIcon( g_hIcon );
|
DestroyIcon( g_hIcon );
|
||||||
g_hIcon = NULL;
|
g_hIcon = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user