[rt.cpan.org #114552] Unescaped left brace in regex is illegal in regex

2017-05-20 Thread Mark Dootson via RT
Sat May 20 08:08:57 2017: Request 114552 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Unescaped left brace in regex is illegal in regex Broken in: 0.9928 Severity: (no value) Owner: Nobody Requestors: sre...@cpan.org Status:

[rt.cpan.org #115097] libwx-perl: Use of the encoding pragma is deprecated

2017-04-17 Thread Mark Dootson via RT
Mon Apr 17 07:47:43 2017: Request 115097 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: libwx-perl: Use of the encoding pragma is deprecated Broken in: 0.9928 Severity: (no value) Owner: Nobody Requestors: cho...@cpan.org,

[rt.cpan.org #119059]

2017-04-17 Thread Mark Dootson via RT
Mon Apr 17 07:45:44 2017: Request 119059 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: (No subject given) Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: prbre...@cpan.org Status: new Ticket

[rt.cpan.org #120657] Wx_Exp.pm incomplete due to race/missing dependency in Makefile

2017-04-17 Thread Mark Dootson via RT
Mon Apr 17 07:40:29 2017: Request 120657 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Wx_Exp.pm incomplete due to race/missing dependency in Makefile Broken in: (no value) Severity: (no value) Owner: Nobody Requestors:

[rt.cpan.org #120139] support wxScrolledWindow::ShowScrollbars for wxWidgets >= 2.9.0

2017-04-17 Thread Mark Dootson via RT
Mon Apr 17 06:55:27 2017: Request 120139 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: support wxScrolledWindow::ShowScrollbars for wxWidgets >= 2.9.0 Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: st...@stccg.at

[rt.cpan.org #120933] 0.9928: test hangs on t/14_eh_die.t on Strawberry Perl 5.24.1.1 (64bit) Windows 10

2017-04-17 Thread Mark Dootson via RT
Mon Apr 17 06:53:06 2017: Request 120933 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: 0.9928: test hangs on t/14_eh_die.t on Strawberry Perl 5.24.1.1 (64bit) Windows 10 Broken in: 0.9928 Severity: (no value) Owner: Nobody Requestors:

Maintaining Wx and Alien::wxWidgets

2017-04-05 Thread Mark Dootson
Hi, If there is anyone on the list who has perhaps contributed code patches or work in the past and is interested in taking on maintenance of the modules, please contact me. There are no other maintainers who contribute code at present. Regards Mark

Re: Wxperl.com, net and org domain names

2017-04-05 Thread Mark Dootson
All. It has been an interesting several years working on Wx. I hope a few of you gained benefit from my work. Johan has been for some time promoting the idea that Wx has been abandoned. I'm not sure why. But I'm somewhat tired of it. Therefore I now feel that it is time that someone else

Re: Wxperl.com, net and org domain names

2017-04-05 Thread Mark Dootson
I'll maintain wxperl.it as I'm currently maintaining Wx. On 05/04/2017 18:33, Johan Vromans wrote: On Tue, 17 Jan 2017 23:08:21 -0500, David Kaufman wrote: And I've set myself a calendar reminder to remember to not forget to send you the authcodes in March :-) I assume

Re: Compatible versions of wxWidgets

2017-03-25 Thread Mark Dootson
of the base classes (ints replaced by enums and such), which broke the Perl bindings. Vojtech On Fri, Feb 24, 2017 at 5:35 PM, Mark Dootson <mark.doot...@znix.com <mailto:mark.doot...@znix.com>> wrote: Hi, No, wiki is out of date. Current stable release of wxWi

Re: Compatible versions of wxWidgets

2017-02-24 Thread Mark Dootson
Hi, No, wiki is out of date. Current stable release of wxWidgets is 3.0.2. On 24/02/2017 14:31, Ron Grunwald via wxperl-users wrote: Hello all, The FAQ on the wxPerl wiki (http://wiki.wxperl.nl/index.php?title=FAQ) states that the current stable release of wxWidgets to use with wxPerl is

Re: wxPerl crashes on Windows when installed into a localized path

2017-02-16 Thread Mark Dootson
Hi, I think you can fix it for Wx at least by expanding the BEGIN block at the top of slicr3.pl to include the following. In the Wx case, the loading fails because you cannot add a wide character string to $ENV{PATH}. The snippet assumes you are actually using 'msw_3_0_2_uni_gcc_3_4' flavour

Re: NewFromPNGData

2016-03-24 Thread Mark Dootson
Not anywhere I can test this at the moment but as I recall: open my $fh, '<', \$buffer; my $bitmap = Wx::Bitmap->new( Wx::Image->new( $fh, wxBITMAP_TYPE_PNG) ); On 24/03/2016 10:44, James Lynes wrote: Hello All: It seems that Wx::Bitmap NewFromPNGData is not wrapped(didn't see any

Wx 0.9928 Released

2015-12-20 Thread Mark Dootson
Hi, Wx 0.9928 has been released to CPAN. This fixes a Wx::Timer memory leak. Regards Mark

Re: Wx::Perl seems to be leaking memory

2015-05-21 Thread Mark Dootson
Hi Steve, $app-Yield does not cause 'idle time' to happen - so 'Destroyed' objects are not cleaned up during that call. As you have seen, on multiple calls the total number of SVs does not increase so no memeroy leak there. However, in constructing an example to demonstrate this I think I

Re: Wx::Perl seems to be leaking memory

2015-05-11 Thread Mark Dootson
Hi, See http://docs.wxwidgets.org/3.0/classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc details for wxWindow::Destroy. As you have determined, top level windows you create need to be destroyed with $win-Destroy; The C++ structure for a Wx::Frame contains a reference to the associated

Re: Wx::Perl seems to be leaking memory

2015-05-11 Thread Mark Dootson
a tree of descendants. Or does it just mean the application main frame? And if a whole tree goes out of scope simultaneously, eg controls in sizers on panels within panels in a dialog, is it enough to Destroy the dialog? Thanks again, Regards, Steve. On 11/05/15 11:52, Mark Dootson wrote

[rt.cpan.org #103129] build failure with wx 2.8 on Ubuntu 14.04: wxComboBox has no member RemoveSelection

2015-03-26 Thread Mark Dootson via RT
Thu Mar 26 15:00:31 2015: Request 103129 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: build failure with wx 2.8 on Ubuntu 14.04: wxComboBox has no member RemoveSelection Broken in: 0.9926 Severity: Critical Owner: MDOOTSON

[rt.cpan.org #102269] Makefile.PL dies because of change in Getopt::Long: Option spec cannot be used with pass_through

2015-03-26 Thread Mark Dootson via RT
Thu Mar 26 15:05:19 2015: Request 102269 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Makefile.PL dies because of change in Getopt::Long: Option spec cannot be used with pass_through Broken in: (no value) Severity: (no value) Owner:

[rt.cpan.org #101449] Possible bug in Wx::

2015-03-26 Thread Mark Dootson via RT
Thu Mar 26 15:08:03 2015: Request 101449 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Possible bug in Wx:: Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: d...@optusnet.com.au Status: new Ticket URL:

[rt.cpan.org #78355] Build Issues

2015-03-26 Thread Mark Dootson via RT
Thu Mar 26 15:11:41 2015: Request 78355 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Build Issues Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: mmun...@gmail.com Status: stalled Ticket URL:

[rt.cpan.org #99325] DLLs not stripped under Windows

2015-03-26 Thread Mark Dootson via RT
Thu Mar 26 15:33:16 2015: Request 99325 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Alien-wxWidgets Subject: DLLs not stripped under Windows Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ralf.neuba...@wido.bv.aok.de

Re: Future of wxperl.it

2015-01-05 Thread mark . dootson
to me. /Alex On Mon, Jan 5, 2015 at 9:21 AM, Johan Vromans jvrom...@squirrel.nl wrote: Hi, On 2013-03-03, Mark Dootson allocated wxperl.it [1] to function as the starting point of all wxPerl related web information. He choose a .it domain in honour to Mattia Barbon, who is italian

[rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-27 Thread Mark Dootson via RT
Mon Oct 27 15:05:08 2014: Request 99607 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Issue using wxTextEntryBox Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: pwnbusiness2...@centurylink.net Status: open

Re: Wx::Event::EVT_AUINOTEBOOK_BEGIN_DRAG stopped workind

2014-09-16 Thread mark . dootson
Hi, A fix for this committed to SVN. Release probably at the weekend as I have a lot of other Wx things to catch up on. Regards Mark On 2014-09-13 12:56, herbert breunung wrote: thank you very much for your efforts i bookmark that link. please let me know when there will be some

Moving to wxWidgets 3.0 as the standard install.

2013-10-07 Thread Mark Dootson
Hi All, I'll be playing catch up over the next few weeks with all things Wx but I wanted to give the earliest possible notice of a change to the default version of wxWidgets that will be compiled under Alien::wxWidgets. The first release candidate for wxWidgets 3.0 is out today and I'd expect

Re: Bug in printing under Windows

2013-07-03 Thread Mark Dootson
Hi, The 'error' in the wxperl_demo is in the 'OnPrintPage' method. This should return a true value. For correct operation in Windows just return a true value from this method. GetPageInfo works fine on all platforms as far as I am aware. Regards Mark On 03/07/2013 08:01, Arpad Szasz

Re: how to useMemoryFileHandler ?

2013-06-28 Thread Mark Dootson
Hi Herbert, On 26/06/2013 18:11, herbert breunung wrote: greetings comrads I have seen the XRC custom example in Wx::Demo and did Wx::MemoryFSHandler::AddTextFile( 'file.xpm', 'EOB' ); my $ed = Wx::TextCtrl-new($frame, -1,'');

Re: Simple Line Graphs

2013-06-28 Thread Mark Dootson
Hi James, On 24/06/2013 20:23, James Lynes wrote: Should be easy to pull the generated file into a PaintDC if you don't want to launch an outboard file viewer. I may or may not get to that. I added a simple viewer to your code by: 1. changing your Graph method a little 2. adding display

Re: Finding the selected text in a ComboBox

2013-06-27 Thread Mark Dootson
Hi, wxComboBox::GetSelection isn't wrapped at all - you are just getting the result from the inherited method wxControlWithItems::GetSelection. I'm not sure why the wxWidgets 2.9.x docs have a wxPerl note saying this is wrapped. Wx 0.9923 with this fixed coming soon. (Code is in SVN but as

Re: Finding the selected text in a ComboBox

2013-06-27 Thread Mark Dootson
Hi, On 28/06/2013 05:34, Ian Macdonald wrote: Hi Mark, Thanks for the info. So in 2.8, there's no way of getting this for the moment? Ian Sorry, no. It isn't implemented for 2.8 or 2.9 and I don't see any other way of getting a selected range from the wxTextCtrl. Regards Mark

Re: Fw: Is Wx::DateTime fully implemented in WxPerl?

2013-06-22 Thread Mark Dootson
Hi, First and foremost, the date parsing methods are not implemented in the wxPerl for the 2.9.x branch of wxWidgets. This is because the API for these methods changed completely from the 2.8 branch to the 2.9 branch. When the 2.9 branch was first created, the code you quoted was added to

Re: Fwd: Wx::PlValidator: It seems it doesn't return GetWindow correctly

2013-06-19 Thread Mark Dootson
Hi, On 17/06/2013 08:22, Helen Craigman wrote: But, When I go, according to your suggestion: $panel2-InitDialog; It bumps with: Can't locate object method InitDialog via package Wx::Panel at ... etc. Should I add something? Indeed you are right. The InitDialog method is missing from wxPerl.

Re: Fwd: Wx::PlValidator: It seems it doesn't return GetWindow correctly

2013-06-16 Thread Mark Dootson
AM, Mark Dootson mark.doot...@znix.com mailto:mark.doot...@znix.com wrote: Hi, On 15/06/2013 22:23, Helen Craigman wrote: Dear esteemed WxPerl experts and users: I have been trying to incorprate a validator on a TextCtrl widget, using PlValidator (following

Re: Wx::Notebook drag and drop freezes tab in Linux.

2013-06-16 Thread Mark Dootson
Hi Steve, I can't repeat this. I've tested wxWidgets 2.9.4 and wxWidgets 2.8.12 on Fedora 17 32 bit. What is your Linux distro / wxWidgets version / Wx version? I am a bit surprised I can't repeat it as there are plenty of reports on the wxWidgets bug list for wxAUI concerning tab focus /

Re: Wx::PlValidator: It seems it doesn't return GetWindow correctly

2013-06-15 Thread Mark Dootson
Hi, On 15/06/2013 22:23, Helen Craigman wrote: Dear esteemed WxPerl experts and users: I have been trying to incorprate a validator on a TextCtrl widget, using PlValidator (following this: .. This gives the error: Can't call method SetValue on an undefined value at... etc. As far as my

Re: Threads

2013-05-31 Thread Mark Dootson
Hi Johan, Would it be possible to extract and post an example of code that core dumps? I'd like to check if this is a Wx problem that can be fixed. Regards Mark On 31/05/2013 09:14, Johan Vromans wrote: Hi, I'm trying to use threads from a Wx program. Unfortunately, the only results I get

Re: wx-perl and Mac OS X

2013-05-28 Thread Mark Dootson
Hi, You must build wxWidgets with Alien::wxWidgets. wxWidgets 2.9.4 is broken as far as wxPerl usage is concerned and must be patched. Regards Mark On 28/05/2013 19:11, Frank Schima wrote: Hello, I'm trying to get wx-perl working on Mac OS X via Macports. I have created ports for p5-wx

Re: Trying to trigger wxEVT_TREELIST_ITEM_CHECKED programmatically: not implemented?

2013-05-24 Thread Mark Dootson
Hi Helen, On 24/05/2013 04:43, Helen Craigman wrote: Hi wxPerl-users I am using wxPerl with wxWidgets 2.9.5. I am using TreeListCtrl, and need to implement triggering EVT_COMMAND_TREELIST_ITEM_CHECKED programmatically. In Wx we don't change state of anything by raising events. To change

Fwd: Re: Trying to trigger wxEVT_TREELIST_ITEM_CHECKED programmatically: not implemented?

2013-05-24 Thread Mark Dootson
Hi, On 24/05/2013 11:19, Helen Craigman wrote: Hi Mark In my code, I do use the CheckItem method, and that's working fine. The issue is, after I change the item check state, the event handler for EVT_TREELIST_ITEM_CHECKED does not get triggered, Yes, this particular event is only

Re: Strawberry Perl 5.16.3 with wxWidgets 2.9.4 and wxPerl latest

2013-05-12 Thread Mark Dootson
Hi, Building Wx for Strawberry is V simple. I've no idea why HelenCr is having problems. Anyhow, I have been through the process of building with Strawberry, found that it works perfectly ok - and posted to Perl Monks. Cheers Mark On 11/05/2013 22:42, James Lynes wrote: Thanks Johan. I

Re: wxString and UTF-8, utf8 etc etc etc again

2013-05-02 Thread Mark Dootson
Hi, On 02/05/2013 10:34, Johan Vromans wrote: The question is: do we consider wxWidgets to be 'external world'. That answer is most likely 'yes'. But more important: do we consider wxPerl to be 'external world'? I'd say 'no'. Therefore, what I'd expect to pass to a wxPerl routine is a string

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-05-01 Thread Mark Dootson
Hi, On 01/05/2013 07:34, Johan Vromans wrote: Mark Dootson mark.doot...@znix.com writes: On 30/04/2013 19:19, Johan Vromans wrote: We may assume that the Perl string is in Perl's internal encoding. No we may not. In that case you'll run into all kinds of encoding problems anyway

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-05-01 Thread Mark Dootson
.) The new test file is at: http://maestrodex.ro/static/test3.zip --Octavian - Original Message - From: Mark Dootson mark.doot...@znix.com To: Octavian Rasnita orasn...@gmail.com Cc: steveco.1...@gmail.com; wxperl-users@perl.org Sent: Tuesday, April 30, 2013 10:43 PM Subject: Re: Can we print

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-05-01 Thread Mark Dootson
Hi, On 01/05/2013 16:49, steveco.1...@gmail.com wrote: Well all this just serves to deepen my confusion. 1) What is the difference between: $line = decode( 'UTF-8', $orig ); and $line = decode( 'utf8', $orig ); Always use decode( 'UTF-8', $orig ); 'UTF-8' means what it says. In my

Re: Wx = 0.9918 build errors because of missing typemap

2013-05-01 Thread Mark Dootson
Hi, Indeed there are some missing specs in the typemap template. Strange that yours is the only report where this bug manifests itself ( that is, 'make' decides the typemap needs to be rebuilt. ) Anyhow, attached patch for 0.9921 fixes it. There are a few other things I wish to complete

wxString and UTF-8, utf8 etc etc etc again

2013-05-01 Thread Mark Dootson
Hi, perldoc for the module Encode says: - CAVEAT: When you run $string = decode(utf8, $octets) , then $string might not be equal to $octets. Though both contain the same data, the UTF8 flag for $string is on unless $octets

Re: wxString and UTF-8, utf8 etc etc etc again

2013-05-01 Thread Mark Dootson
Hi, On 02/05/2013 00:17, Steve Cookson wrote: Or just sub libDecode ($$){ return decode(@_); } At least all the things that might go wrong will all be here. You're unduly worried ( probably my fault ). my $string = decode($encoding, $binary); Is fine. Cheers Mark

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-05-01 Thread Mark Dootson
Hi, On 01/05/2013 20:14, Octavian Rasnita wrote: Yep, good to know. It would be nice if WxPerl would announce somehow that a font doesn't have the necessary glifs (maybe with a warning). Nice to have, but there is no reasonable and practical implementation I can think of. I am aware of how

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-04-30 Thread Mark Dootson
Hi, On 30/04/2013 15:38, Johan Vromans wrote: 2. This data is the current default format fro wxWidgets. Which I understand it may work if you're lucky. I am of the opinion that this bit ( WXSTRING_INPUT ) already works as well as it can do if given an SV and no other params. I certainly

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-04-30 Thread Mark Dootson
is added well in DB. --Octavian - Original Message - From: Mark Dootson mark.doot...@znix.com To: steveco.1...@gmail.com; wxperl-users@perl.org Sent: Monday, April 29, 2013 4:32 PM Subject: Re: Can we print UTF-8 chars in Wx::TextCtrl fields? Hi, A Perl scalar has a character buffer

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-04-29 Thread Mark Dootson
I would guess you are working on Windows? wxVSCROLL isn't in the list of styles available for wxTextCtrl. It isn't needed. Remove it and all works OK. It seems you can get away with it on Linux - but not on Windows. For the Wx::Font you can just do my $font = Wx::Font-new( $FontSize},

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-04-29 Thread Mark Dootson
Hi, If your Perl scalar contains UTF-8 encoded text and is marked as such, then you shouldn't need any decoding functions. (Well, that is how it is supposed to work. If it doesn't, it is a bug). So, yes - if your scalars contain UTF-8 encoded text and are marked as such, that's all you

Re: Can we print UTF-8 chars in Wx::TextCtrl fields?

2013-04-29 Thread Mark Dootson
Hi, On 29/04/2013 20:06, Johan Vromans wrote: I'd say this is the wrong approach. The solution is to adjust the WXSTRING_PUT macro to check for the utf8 flag and handle accordingly. -- Johan That's exactly what it does, unless I've misunderstood. Regards Mark

Re: ComboBox and utf8

2013-04-28 Thread Mark Dootson
Hi, Where a wxWidgets method expects a wxString, the translation from the Perl SV to a wxString uses the same code throughout the entire library. As part of the translation, wxPerl checks if the SV you pass has the utf8 flag set. The problem just might be that DBD::Pg is not returning what

Re: Alien::wxWidgets fails on 5.16.3 OSX 10.7

2013-04-24 Thread Mark Dootson
Hi, The WiKi instructions are for forcing a 32 bit carbon build of wxWidgets 2.8.12. They worked with XCode up to around 4.3 I think but some extras are required for latest XCode. So, assuming you want to stick with your 32 bit Perl and wxWidgets 2.8.12 you need to build Alien::wxWidgets

Re: [rt.cpan.org #84634] old version of wxWidgets

2013-04-16 Thread Mark Dootson via RT
Tue Apr 16 03:53:01 2013: Request 84634 was acted upon. Transaction: Correspondence added by mark.doot...@znix.com Queue: Alien-wxWidgets Subject: Re: [rt.cpan.org #84634] old version of wxWidgets Broken in: 0.64 Severity: Wishlist Owner: Nobody Requestors:

Re: [rt.cpan.org #84633] typo in message

2013-04-15 Thread Mark Dootson via RT
Mon Apr 15 20:16:26 2013: Request 84633 was acted upon. Transaction: Correspondence added by mark.doot...@znix.com Queue: Wx Subject: Re: [rt.cpan.org #84633] typo in message Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: cho...@cpan.org

Wx-0.9919 Released with IPC support

2013-04-14 Thread Mark Dootson
Hi, Wx-0.9919 has been uploaded to CPAN with the addition of support for the Inter Process Communication classes wxServer, wxClient and wxConnection. It is implemented using DDE on Windows and sockets on other platforms. You can use UNIX sockets or INET sockets on none Windows platforms -

Re: Wx test failures on OSX Lion [SOLVED]

2013-04-08 Thread Mark Dootson
Hi On 08/04/2013 04:57, Wallace Winfrey wrote: On Thu, Apr 4, 2013 at 2:07 PM, Mark Dootson mark.doot...@znix.com wrote: Google harder :-) Are you referring to this thread? http://www.nntp.perl.org/group/perl.wxperl.users/2012/02/msg8353.html If so, I should have mentioned I had read

Wx 0.9918 Released to CPAN

2013-04-04 Thread Mark Dootson
Hi, Wx 0.9918 has been released and all binary distributions updated. http://www.wxperl.it/2013/04/wx-09918-released.html Cheers Mark

[rt.cpan.org #84435] no matching function for call to wxFontEnumerator::GetEncodings

2013-04-04 Thread Mark Dootson via RT
Thu Apr 04 15:01:29 2013: Request 84435 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: no matching function for call to wxFontEnumerator::GetEncodings Broken in: 0.9918 Severity: Normal Owner: Nobody Requestors: cho...@cpan.org

Re: Wx test failures on OSX Lion

2013-04-04 Thread Mark Dootson
Hi, On 04/04/2013 20:43, Wallace Winfrey wrote: I am trying to build Wx 0.9918 with my perlbrew-managed 5.16.2 (w/threads) install, and I get the following failures during the test. Is there something I'm missing? The Google was unhelpful in assisting me in my search for resolution. Google

Re: use Wx 0.15 qw[:allclasses]; etc

2013-04-03 Thread Mark Dootson
Hi, On 03/04/2013 17:00, Steve Cookson wrote: Question 1: Does it really need two use stricts, clearly you can never have enough, but doesn't the first one have a greater scope than the second is not necessary. I imagine in is just template code for a package that gets you the extra strict.

Re: Wx::DatePickerCtrl display issue.

2013-04-02 Thread Mark Dootson
Hi, This is just an implementation detail. If you set the style flag wxDP_ALLOWNONE (as the wxperl_demo does ) then you will get the check box in Windows. There has to be a way for you to indicate 'no date' and using the native Windows control this would seem to be the only way. On Linux,

Re: Formatting the Column Headers of a ListCtrl

2013-03-28 Thread Mark Dootson
Hi, It isn't implemented in wxWidgets - probably because the library attempts to either use the native platform controls or mimic them as closely as possible. If you cannot do it with a native control, you most likely can't do it in wxWidgets. I doubt this is seen as a missing feature so

Update to wxPerl Web Site

2013-03-07 Thread Mark Dootson
All, I've updated the wxPerl web site links to a new site as explained here: http://www.wxperl.it/2013/03/wxperl-online-pages-update.html This makes it much simpler for me to update the site regularly. As noted in the post above, the old pages have not gone away and can be accessed at

Re: Update to wxPerl Web Site

2013-03-07 Thread Mark Dootson
Hi, On 07/03/2013 22:42, steveco.1...@gmail.com wrote: Is this now the wxPerl main homepage? Yes it is. Existing links should redirect there OK. I hope to post useful stuff regularly. wxPerl has also started tweeting notifications and updates as @wxPerl :-) Regards Mark

Re: Update to wxPerl Web Site

2013-03-07 Thread Mark Dootson
Hi, On 08/03/2013 07:32, Johan Vromans wrote: Mark Dootson mark.doot...@znix.com writes: wxPerl has also started tweeting notifications and updates as @wxPerl Is it possible (an irssi plugin?) to inject these tweets into the wxperl irc? -- Johan I have no idea but will investigate

Re: Getting information from EVT_LIST_ITEM_RIGHT_CLICK

2013-03-05 Thread Mark Dootson
Oops! Attached updated code uses ListCtrl-GetItemRect to determine correct offset when control is scrolled. Cheers Mark On 05/03/2013 20:14, Dave Hayes wrote: On 02/04/13 19:45, Mark Dootson wrote: Hi, A small update to previous code. On wxGTK EVT_LIST_ITEM_RIGHT_CLICK events

SVN Repository Change

2013-03-04 Thread Mark Dootson
All, Yesterday I upgraded the sourceforge tools to the current versions. An unexpected effect of this was that the URLs for the repository changed. The web site has been updated with the new URLs but for info the new command to checkout for example the wxPerl trunk to wxperl-trunk is svn

Re: CitrusPerl release 5.16.1

2013-02-28 Thread Mark Dootson
Hi, On 28/02/2013 09:36, Johan Vromans wrote: Mark Dootson mark.doot...@znix.com writes: Citrus Perl downloads are back with the release of Citrus Perl 5.16.1. Any plans for 5.16.2? I was waiting around for Perl 5.18 - but I suppose that may be a few months away. I'll look at re

Re: SetTextColor on Wx::MenuItem?

2013-02-27 Thread Mark Dootson
Hi, Are you on Windows? SetTextColour is only available on wxMSW. Assuming the code below is not a direct copy paste, are you sure you're using SetTextColour and not SetTextColor Regards Mark On 27/02/2013 23:15, Dave Hayes wrote: This is odd... $ perl use Wx qw(:everything);

Re: Wx Test Failures with 2.9.4 on Strawberry Perl

2013-02-26 Thread Mark Dootson
Hi, On 22/02/2013 12:32, Smylers wrote: If I compile Wx using Strawberry 5.14.3, should that module then work if deployed to something still on 5.14.2.1? I think you may encounter problems. I'm almost certain that the libgcc and libstdc++ that your Wx/wxWidgets will need to load cannot

Re: Wx Test Failures with 2.9.4 on Strawberry Perl

2013-02-21 Thread Mark Dootson
Hi, You need a more recent Strawberry. 5.14.2.1 (November 2011) as included with DWIM Perl contains a gcc tool chain that is not compatible with Wx / wxWidgets 2.9.x builds. 5.14.3 (October 2012) onwards or any 5.16 Strawberry release are compatible. I'm sure the issue is to do with C++

Re: Modality and new windows

2013-02-15 Thread Mark Dootson
Hi, I should just add regarding Wx::PlComboPopup usage, the C++ class wxComboPopup has the protected member m_combo that allows you to access the wxComboCtrl. In wxPerl that is available via: $cmbpopup-GetComboCtrl; I should add a line using that to the demo. Cheers Mark

Any views on locale handling and wxWidgets 2.9.0

2013-02-05 Thread Mark Dootson
Hi All, As raised in a recent Wx bug ticket, wxWidgets from version 2.9.0 automatically sets the locale to the users current locale. Formally in wxWidgets 2.8.x, the locale by default was 'C'. The problem arises because in addition to loading gettext translation files, the wxWidgets

Re: wxLC_VIRTUAL and EVT_LIST_ITEM_RIGHT_CLICK

2013-02-05 Thread Mark Dootson
Hi Jeff, On 05/02/2013 10:50, Jeff wrote: Thanks Mark. Yes, we are using virtual. Did I mention we get around that by sensing key EVT_KEY_UP and checking if GetKeyCode is 306. If it is we call our item selected callback. Interesting. I found I needed the code below in a virtual list ctrl

Re: Getting information from EVT_LIST_ITEM_RIGHT_CLICK

2013-02-04 Thread Mark Dootson
id$Id:$ # Copyright:Copyright (c) 2013 Mark Dootson # Licence: This program is free software; you can redistribute it # and/or modify it under the same terms as Perl itself

Re: Getting information from EVT_LIST_ITEM_RIGHT_CLICK

2013-02-04 Thread Mark Dootson
for these differences is that on wxMSW, wxListCtrl is a wrapper for a native MS Windows control. On wxGTK it is a generic wxWidgets implementation. Regards Mark On 05/02/2013 04:31, Mark Dootson wrote: For reference, in a wxListCtrl if you handle EVT_LEFT_DOWN, EVT_LEFT_UP, and EVT_LEFT_DCLICK and NONE

[rt.cpan.org #83110] Wx 2.9 manipulates locale

2013-02-04 Thread Mark Dootson via RT
Tue Feb 05 02:39:58 2013: Request 83110 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Wx 2.9 manipulates locale Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: taun...@cpan.org Status: new Ticket URL:

wxPerl and Raspberry Pi

2013-02-02 Thread Mark Dootson
In case anyone is interested in this sort of thing, I've published a distribution of Citrus Perl for the Raspberry Pi. http://raspberrypi.citrusperl.com/ wxPerl on a phone chip :-) Regards Mark

Re: wxPanel Question

2013-01-25 Thread Mark Dootson
Main Program # # Description: Demo for KWx::LinearMeter # Created Fri Jan 25 21:07:51 2013 # svn id$Id:$ # Copyright:Copyright (c) 2013 Mark Dootson # Licence: This work is free software

Re: Opening a Wx::Bitmap file across a Samba share

2013-01-23 Thread Mark Dootson
a little more closely and the correct syntax for mount options is a comma delimited list - so the following would also work - according to the manual. mount -t cifs -o user=User Name,password=mypassword //10.10.10.10/sharedfs /mnt/cifstest Cheers Mark Steve On 20 January 2013 at 03:12 Mark

Re: Opening a Wx::Bitmap file across a Samba share

2013-01-23 Thread Mark Dootson
On 23/01/2013 18:33, Johan Vromans wrote: You can also store the credentials in a file (readable by root only), e.g.: mount -t cifs -o credentials=/etc/local/cifs.credentials /etc/local/cifs.credentials contains: +--- |username=User Name |password=mypassword +--- The method of choice,

Re: Opening a Wx::Bitmap file across a Samba share

2013-01-19 Thread Mark Dootson
Hi, On 19/01/2013 15:41, stephen.cook...@sca-uk.com wrote: Do you have this working on your system? If so, I'd appreciate an example. The following works OK for me: mount -t cifs -o user=User Name -o password=mypassword //10.10.10.10/sharedfs /mnt/cifstest None obvious things were:

Re: Opening a Wx::Bitmap file across a Samba share

2013-01-18 Thread Mark Dootson
Steve, I'm almost certain that you can't access files on a share that way using standard file I/O I think you have to mount the remote share. https://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client Hope it helps. Mark On 18/01/2013 23:56, Steve Cookson wrote: Hi Guys,

[rt.cpan.org #81416] build broken on macosx - perl 5.14 - wx2.9.4

2013-01-18 Thread Mark Dootson via RT
Sat Jan 19 02:02:38 2013: Request 81416 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: build broken on macosx - perl 5.14 - wx2.9.4 Broken in: 0.9914 Severity: (no value) Owner: Nobody Requestors: aduit...@cpan.org Status: open

[rt.cpan.org #82804] test failed t/09_paper.t

2013-01-18 Thread Mark Dootson via RT
Sat Jan 19 02:05:05 2013: Request 82804 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: test failed t/09_paper.t Broken in: 0.9915 Severity: Normal Owner: Nobody Requestors: vic...@vsespb.ru Status: new Ticket URL:

[rt.cpan.org #81670] Wx::Frame weaken away when -Close()

2013-01-18 Thread Mark Dootson via RT
URL: https://rt.cpan.org/Ticket/Display.html?id=81670 I have closed the ticket, if that is OK, as this isn't really a bug. Many thanks On Thu Dec 06 17:26:09 2012, use...@zip.com.au wrote: Mark Dootson via RT bug...@rt.cpan.org writes: $frame-Close simply generates an EVT_CLOSE so it all

[rt.cpan.org #74652] Segfault on Wx::PlThreadEvent destruction

2013-01-18 Thread Mark Dootson via RT
Sat Jan 19 02:13:30 2013: Request 74652 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: Segfault on Wx::PlThreadEvent destruction Broken in: 0.9903 Severity: (no value) Owner: Nobody Requestors: ad...@cpan.org Status: open Ticket

[rt.cpan.org #73093]

2013-01-18 Thread Mark Dootson via RT
Sat Jan 19 02:18:08 2013: Request 73093 was acted upon. Transaction: Correspondence added by MDOOTSON Queue: Wx Subject: (No subject given) Broken in: 0.9903 Severity: Important Owner: Nobody Requestors: bo.johans...@lsn.se Status: new Ticket URL:

Re: wxPerl past, wxPerl present and wxPerl future.

2013-01-02 Thread Mark Dootson
Hi, On 31/12/2012 15:45, Steve Cookson wrote: Mark has done a heroic act of maintaining the system and I personally owe him a huge debt of gratitude. Our system would not be where it is today without his support. But we should have two or three administrators of Mark's ability and knowledge

Re: AUI events

2012-12-30 Thread Mark Dootson
Steve, There were a few other AUI events missing so I added them to Wx 0.9915 released to CPAN. Regards Mark On 29/12/2012 18:46, Steve Cookson wrote: Hi Mark, Assuming I can get all these events working, would you like a patch for the: On Mon, Dec 24, 2012 at 12:45 PM, Steve Cookson

wxWidgets 2.9.4

2012-12-30 Thread Mark Dootson
Hi, It has been noted on a couple of other threads but I though it worth posting again. There are problems with the plain wxWidgets 2.9.4 release and wxPerl. The Plugin handling in wxWidgets 2.9.4 is broken. It is fixed in wxWidgets trunk (2.9.5 to be). wxPerl uses the wxWidgets plugin

Re: install broken on Mac

2012-12-29 Thread Mark Dootson
Hi, My apologies. Wx 0.9915 released to CPAN should solve this problem. Regards Mark On 23/12/2012 22:59, herbert breunung wrote: excuse me for not having that much details, but on my shiny new powerbook i had to reach to .9911 to get wx installed curiously then I could update any ideas?

Re: AUI events

2012-12-22 Thread Mark Dootson
Hi Steve On 22/12/2012 19:52, Steve Cookson wrote: As suggested I tried EVT_AUINOTEBOOK_DRAG_DONE, but it needed to be wrapped. So I opened: ~/wxPerl/ext/aui/AUI.xs and copied one of the lines to create: EVT( EVT_AUINOTEBOOK_DRAG_DONE, 3, wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE ) make

Re: Compiling wxWidgets on Strawberry Perl

2012-11-30 Thread Mark Dootson
Hi, Determine success / failure by the return value of the script - which I'm fairly sure succeeded in both cases. On 30/11/2012 17:04, Smylers wrote: Hi there. I'm getting error messages using Alien::wxWidgets to compile wxWidgets on Strawberry Perl on Windows 7. The computer has DwimPerl

Re: wiki.wxperl.info down

2012-11-05 Thread Mark Dootson
On 02/11/2012 09:21, Johan Vromans wrote: Sorry to hear that. It seems to be a DNS problem so I've contacted the responsible organisation. As a quick and dirty workaround, you can add the following line to /etc/hosts: The Windows workaround is to temporarily add 81.173.110.10

Citrus Perl Updated

2012-10-10 Thread Mark Dootson
Hi, Citrus Perl, the binary distribution with Wx, has been updated with several new features. Full detail at http://www.citrusperl.com/citrus_perl/2012/10/citrus-perl-5161-updated-oct.html Current users need to read before upgrading. (Yes, there is an 'upgrade' of sorts available now - you

  1   2   3   4   >