Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
ThreadSearch layout modification
ironhead:
Thank you again for the patch!
--- Quote from: yesno on September 20, 2009, 10:23:36 am ---The second issue can half be solved easily:
Insert after the line 740 in ThreadSearchView.cpp (rev. 5813):
--- Code: ---m_pToolBar->Update();
--- End code ---
The contents of the other toolbars reappear, the dots on the left side don't.
--- End quote ---
It's odd that dots and the bevel don't reappear, but at least I don't loose the other toolbar's icons.
Cheers!
ironhead:
I've updated to svn 5815, which I believe contains a modified version of yesno's patch. I've discovered another issue, in that if I hit the stop button to stop the search, C::B silently crashes. There isn't any .RPT file generated.
yesno:
Hello,
I have found the reason for the crash: it's a stack overflow from an endless recursion of ThreadSearch::OnBtnSearchClick(wxCommandEvent), same problem as ThreadSearch::OnBtnOptionsClick(wxCommandEvent) described in post #12.
The patch would be:
--- Code: ---In ThreadSearch.cpp in line 646 (rev. 5815)
replace
m_pThreadSearchView->ProcessEvent(event);
by
m_pThreadSearchView->OnBtnSearchClick(event);
--- End code ---
Hope that helps
With kind regards
ironhead:
--- Quote from: yesno on September 21, 2009, 08:07:31 pm ---Hello,
I have found the reason for the crash: it's a stack overflow from an endless recursion of ThreadSearch::OnBtnSearchClick(wxCommandEvent), same problem as ThreadSearch::OnBtnOptionsClick(wxCommandEvent) described in post #12.
The patch would be:
--- Code: ---In ThreadSearch.cpp in line 646 (rev. 5815)
replace
m_pThreadSearchView->ProcessEvent(event);
by
m_pThreadSearchView->OnBtnSearchClick(event);
--- End code ---
Hope that helps
--- End quote ---
Thank you once again, this works nicely!
Chris
ironhead:
I've run the last nightly (5731) and noticed that it doesn't exhibit the same behaviour (being the fact that the toolbar blanks out any adjoining 'gripper' dots and the options icon doesn't do the 'reverse video' effect). Is there anyway this behaviour can be restored in the latest revision?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version