Wine does support subclassing, however, subclassing is tricky because it depends on the control behaving in a specific way, and this can depend on the version of the control, the version of Windows, and so on. Under Wine, this becomes more difficult the more heavily subclassed a control is because Wine's implementation of, say, an editbox, may not exactly reproduce standard behaviour. I am going to disable the eye under Wine for now but have added it to my to-do list.

Update: I found a way to make it work under Wine. The Wine implementation of the editbox seems to differ from standard behaviour in how WM_GETMINMAXINFO affects the subsequent use of GetDC() vs GetWindowDC(). Thankfully, it looks like this was the only issue and the eye is now visible under Wine. This change will be in the next beta.

Last edited by Khaled; 04/02/22 09:04 PM.