Bug #14694 2008-10-17 13:12
maikoid
When open a new Dialog, in execution time.
following this tutorial: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Working_with_multiple_resources
When I do my main dialog, and put a button there and after I create a new dialog, and I call this new dialog with dialog.ShowModal(); My application closes.
with this error:
An assertion failed.
../src/gtk/window.cpp(3092): assert "(m_widget != __null)" failed in Show(): invalid window
ASSERT INFO:
../src/gtk/window.cpp(3092): assert "(m_widget != __null)" failed in Show(): invalid window
BACKTRACE:
[1] wxWindow::Show(bool)
[2] wxDialog::Show(bool)
[3] wxDialog::ShowModal()
[4] EdMkAgGUIFrame::OnbuttonAdicionarClick(wxCommandEvent&) /home/maiko/projetos/EdMkAgGUI/EdMkAgGUIMain.cpp:193
[5] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[6] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[7] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[8] wxEvtHandler::ProcessEvent(wxEvent&)
[9] wxWindowBase::TryParent(wxEvent&)
[10] wxEvtHandler::ProcessEvent(wxEvent&)
[11] wxWindowBase::TryParent(wxEvent&)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] g_cclosure_marshal_VOID__VOID()
[14] g_closure_invoke()
[15] g_signal_emit_valist()
[16] g_signal_emit()
[17] gtk_button_clicked()
[18] g_cclosure_marshal_VOID__VOID()
[19] g_closure_invoke()
[20] g_signal_emit_valist()
[21] g_signal_emit()
[22] gtk_button_released()
[23] _gtk_marshal_BOOLEAN__BOXED()
[24] g_closure_invoke()
[25] g_signal_emit_valist()
[26] g_signal_emit()
[27] gtk_propagate_event()
[28] gtk_main_do_event()
[29] g_main_context_dispatch()
[30] g_main_loop_run()
[31] gtk_main()
[32] wxEventLoop::Run()
[33] wxAppBase::MainLoop()
Cobe::Blocks SVN 5269, Ubuntu 7.1
- Category
- Application::Crash
- Group
- Status
- Closed
- Close date
- 2008-10-25 16:21
- Assigned to
- biplab
History
Is it a bug in C::B?? If not then this is not a bug. You may check your code / wxWidgets installation for the bug in *your application*. Thanks.