Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11765
Modified Files: Lyrics.cpp Log Message: Fix some refresh issues on resize events. Index: Lyrics.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/Lyrics.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Lyrics.cpp 9 Jul 2009 21:14:28 -0000 1.3 +++ Lyrics.cpp 1 Aug 2009 01:03:56 -0000 1.4 @@ -89,6 +89,8 @@ mLyricsStyle = kBouncingBallLyrics; // default mKaraokeFontSize = this->GetDefaultFontSize(); // Call only after mLyricsStyle is set. + this->SetBackgroundColour(*wxWHITE); + mHighlightTextCtrl = new HighlightTextCtrl(this, -1, // wxWindow* parent, wxWindowID id, wxT(""), // const wxString& value = wxT(""), @@ -499,6 +501,8 @@ mHighlightTextCtrl->SetSize(mWidth, mKaraokeHeight); this->SetHighlightFont(); } + + this->Refresh(false); } //v Doesn't seem to be a way to capture a selection event in a read-only wxTextCtrl. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs