Need to use the same instance handles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-09 02:17:23 +00:00
parent ed666328da
commit 9470921fbb

View File

@@ -297,7 +297,7 @@ bool wxTaskBarIcon::RegisterWindowClass()
WXHWND wxTaskBarIcon::CreateTaskBarWindow()
{
HINSTANCE hInstance = GetModuleHandle(NULL);
HINSTANCE hInstance = wxGetInstance();
HWND hWnd = CreateWindowEx (0, wxTaskBarWindowClass,
wxT("wxTaskBarWindow"),