From: Markus R. <rol...@us...> - 2007-06-23 07:28:11
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv15194 Modified Files: Tag: RSGEDIT_SCINTILLA mainframe.cpp sparkedit.cpp Log Message: - use window label to request tab tooltips (otherwise they were also visible in the client area of the tab) Index: sparkedit.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/sparkedit.cpp,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -C2 -d -r1.1.2.6 -r1.1.2.7 *** sparkedit.cpp 21 Jun 2007 19:32:06 -0000 1.1.2.6 --- sparkedit.cpp 23 Jun 2007 07:28:04 -0000 1.1.2.7 *************** *** 135,139 **** } ! edit->SetToolTip(entry.fname); wxString ext(fn.GetExt().Lower()); --- 135,139 ---- } ! edit->SetLabel(entry.fname); wxString ext(fn.GetExt().Lower()); Index: mainframe.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/mainframe.cpp,v retrieving revision 1.21.2.5 retrieving revision 1.21.2.6 diff -C2 -d -r1.21.2.5 -r1.21.2.6 *** mainframe.cpp 21 Jun 2007 19:27:27 -0000 1.21.2.5 --- mainframe.cpp 23 Jun 2007 07:28:04 -0000 1.21.2.6 *************** *** 186,190 **** mCtrNotebook->RemovePage(0); mCanvas = new SparkGLCanvas(mCtrNotebook, wxID_ANY); ! mCanvas->SetToolTip("simulation window"); mCtrNotebook->AddPage(mCanvas, wxT("Canvas")); --- 186,190 ---- mCtrNotebook->RemovePage(0); mCanvas = new SparkGLCanvas(mCtrNotebook, wxID_ANY); ! mCanvas->SetLabel("simulation window"); mCtrNotebook->AddPage(mCanvas, wxT("Canvas")); |