http://bugs.winehq.org/show_bug.cgi?id=6005
Summary: riched20 modify flag incorrectly set Product: Wine Version: CVS Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-richedit AssignedTo: wine-bugs@winehq.org ReportedBy: cjstimpson@afinternet.net
Using PAF 5.2.18, I open the notes editor, and hit cancel. I always get a dialog asking whether I want to save what I just did, but I didn't do anything.
By the time I hit cancel, editor->nModifyCount is up to 3 when it should still be zero. The first increment of the 3 was from setting the font.
msdn docs say for EM_GETMODIFY: Remarks The system automatically clears the modification flag to zero when the control is created. If the user changes the control's text, the system sets the flag to nonzero. You can send the EM_SETMODIFY message to the edit control to set or clear the flag.