wxCollapsiblePane pane reference issue

Post here wxCrafter related issues / features / bugs
Michal
CodeLite Curious
Posts: 5
Joined: Sat Jan 25, 2014 5:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

wxCollapsiblePane pane reference issue

Post by Michal » Sat Jan 25, 2014 6:09 pm

Hi,
I've just found an issue with reference to wxCollapsiblePane's member pane. Here's the minimal working example to reproduce it:
2014-01-25_144450.jpg
In this case "wxcrafter.cpp" will not compile because "m_collpaneWin21" is referenced but never declared nor defined.
2014-01-25_150110.jpg
Taking a look at wxCollapsiblePane documentation, one finds that the problem can be resolved with following single line of code:
2014-01-25_150424.jpg
Howerver manual fixing every time the code is re-generated is quite troublesome.
Used configuration is: CodeLite 5.4, wxCrafter plugin v1.4, Win7
Thanks in advance for fixing the issue :)
You do not have the required permissions to view the files attached to this post.

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxCollapsiblePane pane reference issue

Post by eranif » Sat Jan 25, 2014 6:18 pm

Can you please upload this minimal example?
It seems to be working here...

Eran
Make sure you have read the HOW TO POST thread

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxCollapsiblePane pane reference issue

Post by eranif » Sat Jan 25, 2014 6:22 pm

Hmm, if I do it _exactly_ as your layout - I get the same error here :P
Eran
Make sure you have read the HOW TO POST thread

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxCollapsiblePane pane reference issue

Post by eranif » Sat Jan 25, 2014 6:28 pm

Thanks for reporting this. This is now fixed

PM if you need an installer for the fix

Eran
Make sure you have read the HOW TO POST thread

Michal
CodeLite Curious
Posts: 5
Joined: Sat Jan 25, 2014 5:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: wxCollapsiblePane pane reference issue

Post by Michal » Sun Jan 26, 2014 4:25 pm

Thank you for fixing the problem within hours.

Post Reply