Replace lazy window message ids with a slimmer version (#2598)
This commit is contained in:
parent
69d6076310
commit
5ba6bdef49
3 changed files with 101 additions and 40 deletions
|
|
@ -841,7 +841,7 @@ impl Drop for Window {
|
|||
unsafe {
|
||||
// The window must be destroyed from the same thread that created it, so we send a
|
||||
// custom message to be handled by our callback to do the actual work.
|
||||
PostMessageW(self.hwnd(), *DESTROY_MSG_ID, 0, 0);
|
||||
PostMessageW(self.hwnd(), DESTROY_MSG_ID.get(), 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue