From: Peter G. <pe...@pg...> - 2006-10-26 13:58:47
|
I am using Fedora 5 with wxWdigets 2.6.3 and Wx-0.57 I have enclosed a program with an xrc file. Points 3 and 4 are the most important. 1. Why do I need "use Wx::XRC" if I have "use Wx qw(:everything)" 2. There is a often a double free in libc when debugging. It doesn't always happen. $ENV{MALLOC_CHECK_} = 0 stops the complaint. 3. In the program supplied: a) Using Menu/Load, it takes 5 seconds to load 5000 lines into a text control. Is there anything that I can do to speed this up? Is there a control that can do this faster? I often need to load files having tens of thousands of lines. b) Using Menu/Test List Ctrl: The line $list->SetColumnWidth(1,-1) ; causes the error below. The documentation says that the -1 will force the header column to be the size of the data Is there a workaround or a fix? [Debug] 03:11:44 PM: Empty addr2line output? addr2line: errors.pl: File format not recognized [Debug] 03:11:44 PM: Empty addr2line output? addr2line: errors.pl: File format not recognized [Debug] 03:11:44 PM: Empty addr2line output? addr2line: errors.pl: File format not recognized [Debug] 03:11:44 PM: Empty addr2line output? addr2line: errors.pl: File format not recognized [Debug] 03:11:45 PM: Empty addr2line output? [Debug] 03:11:45 PM: ./src/generic/listctrl.cpp(3565): assert "wxAssertFailure" failed: invalid column index Call stack: [05] wxStackWalker::Walk(unsigned int) [06] 0x00619f1a [07] 0x0061a126 [08] wxAppConsole::OnAssert(char const*, int, char const*, char const*) [09] wxApp::OnAssert(char const*, int, char const*, char const*) [10] wxOnAssert(char const*, int, char const*, char const*) [11] wxAssert(int, char const*, int, char const*, char const*) [12] wxListMainWindow::SetColumnWidth(int, int) [13] wxGenericListCtrl::SetColumnWidth(int, int) [14] XS_Wx__ListCtrl_SetColumnWidth(interpreter*, cv*) [15] Perl_pp_entersub [16] Perl_runops_standard [17] 0x038cbcbe [18] Perl_call_sv [19] wxPliEventCallback::Handler(wxEvent&) [20] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const [21] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) [22] wxEvtHandler::SearchDynamicEventTable(wxEvent&) [23] wxEvtHandler::ProcessEvent(wxEvent&) [24] 0x00ea9959 [25] g_cclosure_marshal_VOID__VOID |