You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GetStockObject is widely used in params that takes an HBRUSH. A better helper should be added to avoid things like HBRUSH(GetStockObject(WHITE_BRUSH).0).
The text was updated successfully, but these errors were encountered:
@kennykerr Now in Rust for windows we can only do like WS_TABSTOP | WS_VISIBLE | WS_CHILD | WINDOW_STYLE(BS_DEFPUSHBUTTON as u32). Is this example of the same reason?
Suggestion
GetStockObject
is widely used in params that takes anHBRUSH
. A better helper should be added to avoid things likeHBRUSH(GetStockObject(WHITE_BRUSH).0)
.The text was updated successfully, but these errors were encountered: