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

Problem with svn 7250

(1/1)

gd_on:
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) ===|

--- End code ---
I use Windows XP, C::B svn 7244, compiled by myself, tdm-gcc 4.5.2

gd_on

MortenMacFly:

--- Quote from: gd_on on June 23, 2011, 09:09:55 pm ---While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :

--- End quote ---
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... :?

gd_on:
OK.
I have seen that you have already included the correction in svn 7252. 8)
Thanks.

gd_on

Navigation

[0] Message Index

Go to full version