[Wgui-cvs] wgui/tests TestView1.cpp,1.77,1.78
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2004-12-12 19:45:17
|
Update of /cvsroot/wgui/wgui/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27283/tests Modified Files: TestView1.cpp Log Message: Commented out some code in TestView1.cpp so that it wouldn't segfault. This is a temporary measure that needs to be fixed properly. Index: TestView1.cpp =================================================================== RCS file: /cvsroot/wgui/wgui/tests/TestView1.cpp,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** TestView1.cpp 12 Dec 2004 09:08:19 -0000 1.77 --- TestView1.cpp 12 Dec 2004 19:45:06 -0000 1.78 *************** *** 160,163 **** --- 160,168 ---- m_pContextMenu->InsertMenuItem(wGui::SMenuItem("Menu Item 1")); m_pContextMenu->InsertMenuItem(wGui::SMenuItem("Menu Item 2")); + + // For some reason including this block of code causes it to Segfault on Fedora Linux + // So it's being commented out for the purposes of getting 0.4.0 released + // There's probably something wrong with the CMenu class, but I haven't figured it out yet + /* pContextSubmenu = new wGui::CPopupMenu(wGui::CRect(0, 0, 80, 50), m_pContextMenu); pContextSubmenu->InsertMenuItem(wGui::SMenuItem("Clear", CLEAR_EDIT_BOX_1)); *************** *** 176,179 **** --- 181,185 ---- wGui::CPopupMenu* pContextSubmenu4 = new wGui::CPopupMenu(wGui::CRect(0, 0, 140, 50), pContextSubmenu3); pContextSubmenu3->InsertMenuItem(wGui::SMenuItem("Empty submenu 3", 0, pContextSubmenu4)); + */ m_pDropDown = new wGui::CDropDown(wGui::CRect(10, 55, 205, 73), m_pGroupBox); |