Windows: Fix editor icons and other potential breakage related to HINSTACE

I even wrote the function for this but forgot to use it. Probably due to
hope that someone would replace that stuff with GetModuleHandle(0).
Günther Brammer 2010-10-12 00:44:22 +02:00
parent 5a774c543d
commit ecb46bb188
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ int WINAPI WinMain (HINSTANCE hInst,
LocalFree(wargv);
// Init application
Application.SetInstance(hInst);
if (!Application.Init(argv.size(), &argv[0]))
{
Application.Clear();