// ---------------------------------------------------------------------------- void ThreadSearchFrame::OnCodeSnippetsNewIndex(CodeSnippetsEvent& event) // ---------------------------------------------------------------------------- { #if defined(LOGGING) LOGIT( _T("ThreadSearchFrame::OnCodeSnippetsNewIndex id[%d]str[%s]"), event.GetSnippetID(), event.GetSnippetString().c_str()); #endif event.Skip(); return; }
// -- clone ------------------------------------------------------------------- CodeSnippetsEvent::CodeSnippetsEvent( const CodeSnippetsEvent& Event) // ---------------------------------------------------------------------------- :wxCommandEvent(Event) ,m_SnippetID(0) ,m_SnippetString(wxEmptyString) { // This is invoked by CodeSnippetsEvent::Clone() from AddPendingEvent etc m_SnippetID = Event.GetSnippetID(); m_SnippetString = Event.GetSnippetString(); m_EventTypeLabel = Event.GetEventTypeLabel(); }