Bug#: 90
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 port: cannot set font for empty text field
wxTextCtrl won't install a new font (with SetFont) unless it has
non-empty contents. That is, if wxTextCtrl is empty, then
SetFont has no effect. To workaround, I had to put a dummy
text like "text" to the control, change font with SetFont,
and then call Clear to erase the dummy text.
Issue migrated from trac ticket # 31
component: wxGTK | priority: normal
2000-09-26 22:43:48: anonymous created the issue
Bug#: 90 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 port: cannot set font for empty text field
wxTextCtrl won't install a new font (with SetFont) unless it has non-empty contents. That is, if wxTextCtrl is empty, then SetFont has no effect. To workaround, I had to put a dummy text like "text" to the control, change font with SetFont, and then call Clear to erase the dummy text.