Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: gd_on on June 23, 2011, 09:09:55 pm

Title: Problem with svn 7250
Post by: gd_on on June 23, 2011, 09:09:55 pm
While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :
Code
C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp||In member function 'void AStylePlugin::OnFormatProject(wxCommandEvent&)':|
C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp|135|error: 'class ProjectManager' has no member named 'GetTreeSelection'|
C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp|38|warning: '<unnamed>::idCodeFormatterFile' defined but not used|
||=== Génération terminée : 1 erreurs, 1 avertissements (0 minutes, 7 secondes) ===|
I use Windows XP, C::B svn 7244, compiled by myself, tdm-gcc 4.5.2

gd_on
Title: Re: Problem with svn 7250
Post by: MortenMacFly on June 23, 2011, 09:30:08 pm
While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :
I think that's my fault. Can you try if it works if you exchange the line:
wxTreeItemId treeItem = manager->GetTreeSelection();
...with:
wxTreeItemId treeItem = tree->GetSelection();
I have a patch pending that got partially included by accident here... :?
Title: Re: Problem with svn 7250
Post by: gd_on on June 24, 2011, 08:45:03 am
OK.
I have seen that you have already included the correction in svn 7252. 8)
Thanks.

gd_on