never set it to true!

This commit is contained in:
Adam D. Ruppe 2018-11-14 09:37:38 -05:00
parent 18cf3f4367
commit 8ae959b7ce
1 changed files with 1 additions and 0 deletions

View File

@ -3449,6 +3449,7 @@ class NotificationAreaIcon : CapableOfHandlingNativeEvent {
wc.lpszClassName = "arsd_simpledisplay_notification_icon"w.ptr;
if(!RegisterClassExW(&wc))
throw new Exception("RegisterClass ");// ~ to!string(GetLastError()));
registered = true;
}
this.hwnd = CreateWindowW("arsd_simpledisplay_notification_icon"w.ptr, "test"w.ptr /* name */, 0 /* dwStyle */, 0, 0, 0, 0, HWND_MESSAGE, null, hInstance, null);