Patches item #1526140, was opened at 2006-07-20 16:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462818&aid=1526140&group_id=51305
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Bentler (jimbentler) Assigned to: Nobody/Anonymous (nobody) Summary: make wxFont& font arg const for wxScintilla::StyleSetFont Initial Comment: diff -ruN wxscintilla_1.69.2/include/wx/wxscintilla.h wxscintilla_1.69.2-new/include/wx/wxscintilla.h --- wxscintilla_1.69.2/include/wx/wxscintilla.h 2006-06-24 02:38:07.000000000 -0500 +++ wxscintilla_1.69.2-new/include/wx/wxscintilla.h 2006-07-20 15:54:25.591046920 -0500 @@ -3213,7 +3213,7 @@ // Set style size, face, bold, italic, and underline attributes from // a wxFont's attributes. - void StyleSetFont (int styleNum, wxFont& font); + void StyleSetFont (int styleNum, const wxFont& font); // Set all font style attributes at once. void StyleSetFontAttr (int styleNum, int size,const wxString& faceName, Files wxscintilla_1.69.2/lib/libwxscintilla.so and wxscintilla_1.69.2-new/lib/libwxscintilla.so differ diff -ruN wxscintilla_1.69.2/src/wxscintilla.cpp wxscintilla_1.69.2-new/src/wxscintilla.cpp --- wxscintilla_1.69.2/src/wxscintilla.cpp 2006-06-24 02:37:29.000000000 -0500 +++ wxscintilla_1.69.2-new/src/wxscintilla.cpp 2006-07-20 15:50:52.996366224 -0500 @@ -2646,7 +2646,7 @@ // Set style size, face, bold, italic, and underline attributes from // a wxFont's attributes. -void wxScintilla::StyleSetFont (int styleNum, wxFont& font) { +void wxScintilla::StyleSetFont (int styleNum, const wxFont& font) { #ifdef __WXGTK__ // Ensure that the native font is initialized int x, y; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462818&aid=1526140&group_id=51305 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users