On Friday 23 November 2007, George Danchev wrote: > On Friday 23 November 2007, Erick Mattos wrote: > > Dear mentors, > > > > I am looking for a sponsor for my package "codeblocks". > > Hi, > > Thanks for packaging codeblocks! I can't spponsor, but you can count me as > a thankful user of that package ;-) > > Compilation yields the following error: > > infopane.cpp: In member function ‘void > InfoPane::ContextMenu(wxContextMenuEvent&)’: > infopane.cpp:178: error: ‘class wxMenu’ has no member named ‘AppendSubMenu’ > > Strange..., it seems like this code has been written without > code-completion feature ;-) or this feature is still work in progress, > since the official doc of wx 2.6 [1] does not mention such a member of > wxMenu class. > > I'd recommend packaging of the latest svn trunk, after talking to upstream > for fixing that out since it is not fixed yet as of rev4666. > > [1] http://www.wxwidgets.org/manuals/2.6/wx_wxmenu.html
Oh, there is also a blatant memleak in the very same method: infopane.cpp:void InfoPane::ContextMenu(wxContextMenuEvent& event) the pointer `view' is conditionally initialized with `new' and never `delete'd. -- pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu> fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB

