Bug #12700 2007-12-12 22:57

dje

Bad init in CodeBlocksLogEvent ctor

In sdk_events.cpp

CodeBlocksLogEvent::CodeBlocksLogEvent(wxEventType commandType, wxWindow* window, const wxString& title, wxBitmap *icon)

: wxEvent(wxID_ANY, commandType),

logger(0), logIndex(logIndex), icon(icon), title(title), window(window)

{

logger = Manager::Get()->GetLogManager()->Slot(logIndex).GetLogger();

}

Auto affectation gives in debug 98443884 for logIndex value.

my code:

CodeBlocksLogEvent evt(cbEVT_REMOVE_LOG_WINDOW, m_pThreadSearchView);

Manager::Get()->ProcessEvent(evt);

Category
 
Group
 
Status
Closed
Close date
2007-12-16 04:45
Assigned to
 
biplab 2007-12-16 04:45

This bug is now fixed in HEAD.

Thank you for reporting it.