Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Parsing in wxWidgdets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

replay
Junior Member

21 Posts

Posted - Oct 27 2009 :  06:42:58 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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

Go to Top of Page

replay
Junior Member

21 Posts

Posted - Oct 27 2009 :  10:25:18 AM  Show Profile  Reply with Quote
Version 10.5.1738.0
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 27 2009 :  11:43:00 AM  Show Profile  Reply with Quote
Which version of wxWidgets are you using?

zen is the art of being at one with the two'ness
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Oct 27 2009 :  11:54:24 AM  Show Profile  Reply with Quote
I'm working with the current repository (not the released libraries)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 04 2009 :  3:18:10 PM  Show Profile  Reply with Quote
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
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Nov 05 2009 :  04:52:16 AM  Show Profile  Reply with Quote
Yes, it's exactly the same problem I got
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 05 2009 :  8:55:56 PM  Show Profile  Reply with Quote
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
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Nov 06 2009 :  05:15:45 AM  Show Profile  Reply with Quote
Great, it worked like a charm!! thank you!
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Dec 11 2009 :  11:39:38 AM  Show Profile  Reply with Quote
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
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Dec 14 2009 :  6:21:55 PM  Show Profile  Reply with Quote
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
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Dec 15 2009 :  05:17:19 AM  Show Profile  Reply with Quote
Thank you, it's working too now.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000