Author |
Topic |
|
replay
Junior Member
21 Posts |
Posted - Oct 27 2009 : 06:42:58 AM
|
I'm using a lot wxWidgets for my applications, and there is a structure visual assist is not able to parse properly (wxAuiPaneInfo). It knows where to find it, but it's only going to its declaration(class wxAuiPaneInfo;) and not the class complete definition few lines later. So there is no member available. |
|
rhummer
Tomato Guru
USA
527 Posts |
Posted - Oct 27 2009 : 10:19:45 AM
|
I happen to be using wxWidgets also, and I'm not seeing the issue. What version of VA X are you using by chance? |
Tools Engineer - Raven Software VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64
|
|
|
replay
Junior Member
21 Posts |
Posted - Oct 27 2009 : 10:25:18 AM
|
Version 10.5.1738.0 |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Oct 27 2009 : 11:43:00 AM
|
Which version of wxWidgets are you using? |
zen is the art of being at one with the two'ness |
|
|
replay
Junior Member
21 Posts |
Posted - Oct 27 2009 : 11:54:24 AM
|
I'm working with the current repository (not the released libraries) |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Nov 04 2009 : 3:18:10 PM
|
Apologies for the delay in getting back to you about this. I am seeing a problem with version 2.9.0 of wxWidgets and this class. In the file:
C:\\wxWidgets-2.9.0\\include\\wx\\aui\\framemanager.h
this class is defined, but when I use alt-g on the class name I am being taken to the line:
class wxAuiPaneInfo;
When I show VA View and then hover the mouse over the class name wxAuiPaneInfo I am only being shown the single forward declare line in the HCB. How close is this to what you are seeing?
I am wondering if I have reproduced your problem, or if there is just a problem with my test configuration. |
zen is the art of being at one with the two'ness |
|
|
replay
Junior Member
21 Posts |
Posted - Nov 05 2009 : 04:52:16 AM
|
Yes, it's exactly the same problem I got |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Nov 05 2009 : 8:55:56 PM
|
Can you please try this. Edit VA's "StdAfx.h" file as explained in this FAQ entry:
http://docs.wholetomato.com?W302
and add the entry:
#define WX_DEFINE_USER_EXPORTED_ARRAY_PTR
at the bottom. This file is used to help VA's parser with difficult code, and can be used to work around odd effects. After modifying this file you need to rebuild the VA symbol database for the changes to take effect:
VA Options -> Performance -> General -> Rebuild symbol databases |
zen is the art of being at one with the two'ness |
|
|
replay
Junior Member
21 Posts |
Posted - Nov 06 2009 : 05:15:45 AM
|
Great, it worked like a charm!! thank you! |
|
|
replay
Junior Member
21 Posts |
Posted - Dec 11 2009 : 11:39:38 AM
|
Me again... found new problems with wxWidgets and other class. Visual assist is not able to parse properly the dataview.h and some classes are not visible such as wxDataViewEvent |
Edited by - replay on Dec 11 2009 11:40:02 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Dec 14 2009 : 6:21:55 PM
|
I think I have found the problem. Can you try adding this line to your VA StdAfx.h file:
#define WX_DEFINE_ARRAY(testParam1, testParam2);
and rebuild your symbol database. This has fixed the problem for me. |
zen is the art of being at one with the two'ness |
|
|
replay
Junior Member
21 Posts |
Posted - Dec 15 2009 : 05:17:19 AM
|
Thank you, it's working too now. |
|
|
|
Topic |
|