Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

BrowseTracker plugin

<< < (7/22) > >>

MortenMacFly:

--- Quote from: eranif on July 23, 2007, 04:05:35 pm ---Try to add event.Skip() at the end of the OnNavigationKey() of wxFNB.

--- End quote ---
This is in trunk now, nice.

Unfortunately this doesn't really fix the issue here: It makes no sense if this key-combination is used for both: a) to switch to another notebook and after that b) to jump to another method. So still: What's the most convenient way to setup? IMHO one of both parties (CC or wxFNB) needs to change this key association. I personally vote for wxFNB as I believe due to Visual Studio users are more into jumping to the next/previous method. But that's just me and I could live with the other way round, too (I would change that on my personal copy then). What about the other devs? Any thoughts/preferences?
With regards, Morten.
Ps.: Maybe I should start a poll - never did that before... ;-)

Pecan:
BrowseTracker re-compiled for SVN 4332.

Fixes for CB installation of wxFlatNotebook 2.2

http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Pecan:
BrowseTracker re-compiled for Linux wxGTK2.8.4.

Version  0.1.10 2007/08/2
- fixes for editor tracking with wxFlatNotebook 2.2 on Linux
- fix for non-focused selection dialog in wxGTK284


http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

mariocup:
Hi,

I can not build BrowseTracker Plugin with the current svn version, as the function GetAppWindow()->GetMenuBar issues an compiler error. If I include wx/frame.h and change the line to GetAppFrame()->GetMenuBar I get different errors.
What modification do I need to make the plugin work with the current release?

Howard:
This worked for me.

For BrowseTracker.cpp OnAttach()
 
     // initialize version and logging
    ////m_pAppWin  = Manager::Get()->GetAppWindow();
    ////m_pMenuBar = Manager::Get()->GetAppWindow()->GetMenuBar();
    m_pAppWin  = wxTheApp->GetTopWindow();
    m_pMenuBar = ((wxFrame*)m_pAppWin)->GetMenuBar();

 
For OnUpdateUI(wxUpdateUIEvent& event)
 // ----------------------------------------------------------------------------
 {
    ////wxMenuBar* pbar = Manager::Get()->GetAppWindow()->GetMenuBar();
    ////wxUnusedVar(pbar);
     event.Skip();
 }

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version