Hello,
I found the problem. I was using wxGlade to create my Dialogs. It puts 2
'use Wx' lines. Like below.
use Wx 0.15 qw[:allclasses];
use strict;
package Wx::SelectRequestedTranslation;
use Wx qw[:everything];
use base qw(Wx::Dialog);
Removing the first line solved the problem.
On 2.3
On 3.1.2010 22:57, Steve Cookson wrote:
I don't know about th XML format, but here is how I get HTML from the
widget:
my $buffer = $richtext->GetBuffer;
open(my $fh, '>', \my $html) || die 'cannot open';
my $html_handler = Wx::RichTextHTMLHandler->new;
$html_handler->SaveFile($buffer
On 3.1.2010 21:03, Mattia Barbon wrote:
I can't see SetStyleRange documented anywhere. Is this a wxperl wrapper?
It is used internally. In theory you should be able to call ->SetStyle
with the same parameters and it should work.
...and theory will match practice in the next release.
:)
On 3.1.2010 20:32, Steve Cookson wrote:
Hi Guys,
Wow, it's already 2010 (for those of you who use the Gregorian
calendar). I hope you all had a great Christmas break and that this year
turns out well for you.
I'm trying to implement some WP functionality in wx. Really all I need
to do is to edi
Mattia Barbon napsal(a):
jira wrote:
Hi,
how can I get a atyle at caret position.
None of the GetStyle* methods seem to work under wxperl.
I get an error that the method doesn't exist.
The methods have been renamed for wxPerl, but I forgot to document
it; you can use
my $style = $r
Mattia Barbon napsal(a):
Jiri Pavlovsky wrote:
Mattia Barbon napsal(a):
jira wrote:
Hi,
how can I get a atyle at caret position.
None of the GetStyle* methods seem to work under wxperl.
I get an error that the method doesn't exist.
The methods have been renamed for wxPerl,
Mattia Barbon napsal(a):
jira wrote:
Hi,
how can I get a atyle at caret position.
None of the GetStyle* methods seem to work under wxperl.
I get an error that the method doesn't exist.
The methods have been renamed for wxPerl, but I forgot to document
it; you can use
my $style = $r
Mattia Barbon napsal(a):
jira wrote:
Hi,
how can I get a atyle at caret position.
None of the GetStyle* methods seem to work under wxperl.
I get an error that the method doesn't exist.
The methods have been renamed for wxPerl, but I forgot to document
it; you can use
my $style = $r
Ch Lamprecht napsal(a):
Hello,
is there a way to set a WxCheckBox readonly?
Something like $w->SetEditable( 0 );
( Which is not available for CheckBox )
$w->Enable(0) ?