Page 1 of 1

wxCollapsiblePane pane reference issue

Posted: Sat Jan 25, 2014 6:09 pm
by Michal
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 :)

Re: wxCollapsiblePane pane reference issue

Posted: Sat Jan 25, 2014 6:18 pm
by eranif
Can you please upload this minimal example?
It seems to be working here...

Eran

Re: wxCollapsiblePane pane reference issue

Posted: Sat Jan 25, 2014 6:22 pm
by eranif
Hmm, if I do it _exactly_ as your layout - I get the same error here :P
Eran

Re: wxCollapsiblePane pane reference issue

Posted: Sat Jan 25, 2014 6:28 pm
by eranif
Thanks for reporting this. This is now fixed

PM if you need an installer for the fix

Eran

Re: wxCollapsiblePane pane reference issue

Posted: Sun Jan 26, 2014 4:25 pm
by Michal
Thank you for fixing the problem within hours.