wxFoldPanelBar - single fold feature needed

cai public.cai at gmail.com
Wed Jan 3 02:11:42 PST 2007


Hi list,

happy new year to you all! :-)

First of all, thank you Jorgen for writing the wxFoldPanelBar class. 
I just started using it recently, it looks great!

I discovered that a style I need (wxFPB_SINGLE_FOLD) is just at the 
level of intention so I plan to implement it in our application.

To do this I tried hooking EVT_CAPTIONBAR in a custom wxFoldPanelItem 
but the handler for it is never reached.

I would have overridden
void wxFoldPanelItem::OnPressCaption(wxCaptionBarEvent &event)
but it is not protected nor virtual.

I can only think of modifying the wxFoldPanelBar sources and rebuild 
the library. Is there other better way to achieve my goal?

Thank you,

Cristina.





More information about the wx-users mailing list