On Feb 16, 2011, at 12:31 PM, herbert breunung wrote:

> Am 16.02.2011 01:18, schrieb Stephen Brickles:
>> I am using a fresh copy of Perl 5.12.3 on x86_64 Redhat 4.
>> I've installed Alien-WxWidgets from the subversion repository using wx 
>> widgets version 2.9.1
>> and the Wx perl module from the subversion repository 
>> wxperl.svn.sourceforge.net.
>> 
>> The latest version of Wx (2.9.1) is supposed to have the capability to add 
>> both
>> an image and text to the button however, this does not seem to be installed 
>> into the Perl version.
>> 
>> If I try and add an image to the button using SetBitmapPosition, I get the 
>> following error:
>> 
>> Can't locate object method "SetBitmapPosition" via package "Wx::Button"
>> 
>> If I check the functions installed in Wx.so, this confirms that this method 
>> is not present - yet I see that
>> the 2.9.1 library was used in the compilation of Alien and Wx.
>> 
>> Was the latest functionality of the Wx::Button not implemented yet in WxPerl 
>> ?
>> 
>> Many thanks,
>> Stephen
>> 
> 
> neither Wx::Button nor Wx::BitmapButton (what you maybe search for) have an
> method SetBitmapPosition, so i wonder where you got that information?
> 
> best
> herbert
> 

http://docs.wxwidgets.org/2.9.1/classwx_button.html#b47229c3e8819d975a1eb3cd3d12d8d8

Cheers,
Huub

Reply via email to