wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.09k stars 1.76k forks source link

wxTextCtrl::SetValue() changes the "modified" flag #19398

Closed wxtrac closed 2 years ago

wxtrac commented 24 years ago

Issue migrated from trac ticket # 33

component: wxGTK | priority: normal

2000-09-26 22:45:41: anonymous created the issue


Bug#: 93 Product: .wxWindows Version: 2.2.0 Platform: wxGTK OS/Version: Solaris Status: NEW
Resolution: Severity: normal Priority: P2 Component: wxGTK AssignedTo: ???
ReportedBy: wxwin@ncbi.nlm.nih.gov
URL: http://www.ncbi.nlm.nih.gov/IEB/ Cc: wxwin@ncbi.nlm.nih.gov Summary: GTK: wxTextCtrl::SetValue() changes the "modified" flag

GLIB/GTK 1.2.8.

wxTextCtrl::SetValue() changes the "modified" flag. As a result, the SetFont() and SetColor() methods make text "modified" -- because SetValue() is used to refresh control contents after the font/color has been changed.

wxtrac commented 23 years ago

2000-10-20 18:03:16: @vadz commented


SetValue() clears the modified flag