Hi there,
just installed Wx 0.96 and realized some strange behaviour of STC.
If I work with multiple documents and try to change doc pointer nothing happens.

Creating the STC Control returns the following doc pointer:
49024440

Creating a new Document with:
$self->{Editor}->CreateDocument;
returns this doc pointer :
49220272

Seems ok, so far ... but
my $doc=$self->{Editor}->GetDocPointer;
always returns the first doc pointer (49024440). Should be 49220272 after
calling "CreateDocument" ...

Maybe there is an error in GetDocPointer, cause it always returns
the first doc pointer of the STC instance, so it's not possible to swap documents.

Has something changed since Wx 0.91 or is this a bug?
With Wx 0.91 everything works fine before.

WinXP SP3
ActiveStatePerl 5.10.0 (1004)

Thanx for help,
Greetz Carsten

--
--
mediaMinds - internet services
Hauptstrasse 1
21376 Salzhausen

Tel. :  04172-98 01 75
Fax  :  04172-66 10
Mobil:  0160 -98 46 19 13

http://www.mediaminds.de
[email protected]
--
Inhaber   : Carsten Zandecki
Steuer-Nr.: 050 / 150 / 03222

Reply via email to