Hi,
I'm using wxPerl 0.52 / wxWidgets 2.6.3.
It does not appear to be wrapped.
If you're compiling your own wxPerl, then adding
void
wxWindow::InvalidateBestSize()
to Window.xs should compile OK.
(apologies if this is obvious to you).
If you decide / have time to test this, I'd be interested to know if it
works as one would imagine.
e.g.
Change the content
call InvalidateBestSize
call 'Layout' on appropriate sizer.
Regards
Mark
Ed Heil wrote:
> I ran across this here --
>
> http://www.wxwidgets.org/manuals/2.6.3/wx_wxwindow.html#wxwindowinvalidatebestsize
>
> it looks like a very handy method for a control which changes its
> contents to use. I called it on a subclassed Wx::StaticText and it
> gave me "can't locate object method InvalidateBestSize via package
> 'DWx::DataLabel'"....
>
> Is it possible this hasn't been wrapped? Or has been wrapped but in
> newer versions than I'm using?
>
> I'm using WxPerl 0.26, wxWidgets 2.6.2.
>
> Thanks,
>
> Ed
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> wxperl-users mailing list
> wxp...@li...
> https://lists.sourceforge.net/lists/listinfo/wxperl-users
|