From: John L. <jr...@us...> - 2006-05-19 05:32:00
|
Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27971/wxLua/apps/wxluaedit/src Modified Files: wxluaedit.cpp Log Message: update wxLuaEdit to use wxTreeCtrl for selecting files, update for wxStEdit cleanup docs to create links only to classnames, not when the classname is part of a longer name Index: wxluaedit.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/wxluaedit.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** wxluaedit.cpp 19 Apr 2006 04:27:20 -0000 1.16 --- wxluaedit.cpp 19 May 2006 05:31:51 -0000 1.17 *************** *** 201,204 **** --- 201,205 ---- } + frame->UpdateFileTreeCtrl(); frame->Show(true); *************** *** 236,242 **** m_sideSplitter->SetMinimumPaneSize(10); m_sideNotebook = new wxNotebook(m_sideSplitter, wxID_ANY); ! m_fileListBox = new wxListBox(m_sideNotebook, ID_STF_FILELISTBOX, ! wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_SINGLE ); ! m_sideNotebook->AddPage(m_fileListBox, wxT("Files")); m_sideSplitterWin1 = m_sideNotebook; --- 237,246 ---- m_sideSplitter->SetMinimumPaneSize(10); m_sideNotebook = new wxNotebook(m_sideSplitter, wxID_ANY); ! m_fileTreeCtrl = new wxTreeCtrl(m_sideNotebook, ID_STF_FILETREECTRL, ! wxDefaultPosition, wxDefaultSize, wxTR_SINGLE|wxTR_HAS_BUTTONS|wxTR_HIDE_ROOT ); ! m_fileTreeCtrl->SetIndent(5); ! m_fileTreeCtrl->AddRoot(wxT("Files")); ! ! m_sideNotebook->AddPage(m_fileTreeCtrl, wxT("Files")); m_sideSplitterWin1 = m_sideNotebook; |