Re: Error when I try to install Wx

2025-08-04 Thread Johan Vromans
On Mon, 4 Aug 2025 12:35:55 -0400, Shawn H Corey wrote: > I keep getting an error when I try to install Wx. > > g++ -pthread   -c -I. -I.. > -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 Apparently you are using wxWidgets 3.0. wxPerl 3.x requires wxWidgets 3.2 or newer. I haven't t

Re: Announcing wxPerl 3.006

2025-08-04 Thread Johan Vromans
On Mon, 4 Aug 2025 10:40:38 -0500, Brett Estrade wrote: > I know just the person for this job, and he's interested in wxPerl. Not > me, but I can talk to him or maybe I can lean on him to guide me. That would be wonderful! Of course, you have my support.

Re: Announcing wxPerl 3.006

2025-08-04 Thread Johan Vromans
On Mon, 4 Aug 2025 10:13:48 -0500, Brett Estrade wrote: > What kind of help is needed? While I managed to get most of wxPerl functional again, the build tools for wxPerl were developed to deal with all sorts of compilers and systems and wx versions, which make them utterly complex and hard to mai

Re: Announcing wxPerl 3.006

2025-08-04 Thread Johan Vromans
On Mon, 28 Jul 2025 07:33:01 -0700, Jim Clark wrote: > I am very pleased the heart is still pumping on wxPerl! Thanks, but it won't be pumping long unless people step up to help.

Announcing wxPerl 3.006

2025-07-24 Thread Johan Vromans
Dear all, wxPerl version 3.006 has been released and is available on GitHub. Major change in 3.006 is a vast overhaul to eliminate depending on wxWidgets 2.8 and 3.0 compatibility hacks. The code is much cleaner now, and builds without problems with 3.2, 3.3.0 and 3.3.1 (at this time latest wxWid

Re: Doubleclick and @ARGV

2025-01-14 Thread Johan Vromans
On Tue, 14 Jan 2025 18:04:39 +0100, Johan Vromans wrote: > Sorry, there is no terminal involved. Well, Windows wouldn't be Windows if it hadn't got some suprises up in its sleeve. You can ask the PowerShell what code page is default. [System.Text.Encoding]::Default On my system,

Re: Doubleclick and @ARGV

2025-01-14 Thread Johan Vromans
On Tue, 14 Jan 2025 11:20:39 -0500, Shawn H Corey wrote: > The question mark comes from the terminal. Sorry, there is no terminal involved. The wxPerl app is built as a Windows GUI application and started via doubleclick on a filename in Windows Explorer. I use DDP to print the file names to a

Re: Doubleclick and @ARGV

2025-01-14 Thread Johan Vromans
On Mon, 13 Jan 2025 17:42:11 -0500, Shawn H Corey wrote: > I think you have to decode the file names. > >     use Encode qw(decode); >     my $file = decode($ARGV[0]); That's what I thought, but decoding is quite pointless if you get question marks instead of UNICODE characters to start with.

Doubleclick and @ARGV

2025-01-13 Thread Johan Vromans
A question for Windows experts. I have installed a wxPerl application and associated it with files with extension '.cho'. When I doubleclick in the Explorer on such a file, my program is started and gets the name of the file passed via @ARGV. Well, more or less... I have a folder (on an NTFS fil

Re: wxPerl on Strawberry Perl working ... follow up and questions

2025-01-06 Thread Johan Vromans
On Sat, 4 Jan 2025 14:21:47 -0600, Brett Estrade wrote: > I got going with the "quick start" cpanm commands. > Yes, they took a while to run, but necessarily so. Great to hear! > I figured out wxpar is available via Wx::Perl::Packager > , so I instal

Alien::wxWidgets for Strawberry

2024-12-30 Thread Johan Vromans
For your convenience, I've forked Alien::wxWidgets and 'released' an updated version that behaves satisfactory with Strawberry Perl. https://github.com/sciurius/perl-Alien-wxWidgets/releases Extensive instructions for Strawberry users in https://github.com/sciurius/perl-Alien-wxWidgets/blob/mast

Re: Ask our providers

2024-12-26 Thread Johan Vromans
On Wed, 25 Dec 2024 14:48:57 -0500, David Kaufman wrote: > Wouldn't the best solution be to get wxWidgets and wxPerl (and par and an > installer) working on Strawberry, and *contribute* it to Strawberry? :-) I, and some of the other respondents, offered help, some even funding. It is up to the S

Ask our providers

2024-12-22 Thread Johan Vromans
We can all spent a lot of effort to get wxWidgets and wxPerl on Strawberry, but the best solution is to make it a standard part of the Strawberry kit. I have opened a github issue https://github.com/StrawberryPerl/build-extlibs/issues/62 Please add a comment to this issue explaining why adding w

Re: Hello! What can I do with wxPerl+Windows right now?

2024-12-20 Thread Johan Vromans
On Fri, 20 Dec 2024 08:37:31 -0600, Brett Estrade wrote: > On Fri, Dec 20, 2024 at 7:46 AM Johan Vromans wrote: > > Since a number of people here on the list have expressed their needs for > > such a feature it must be possible to combine forces and turn one of the > > appro

Re: Hello! What can I do with wxPerl+Windows right now?

2024-12-20 Thread Johan Vromans
On Fri, 20 Dec 2024 13:01:25 +, Darren Harwood wrote: > both create a self-contained, no-dependencies executable containing the > perl engine, required libraries and your source code. with optional > storage of things like resources (images, config files, whatever). One of the reasons I stopp

Re: Hello! What can I do with wxPerl+Windows right now?

2024-11-23 Thread Johan Vromans
On Fri, 22 Nov 2024 10:46:39 -0500, Don Peddicord wrote: > The project I am > on created a wrapper for the Perl interpreter which limited its execution > to only the code we provide as part of our application. I have a similar approach for my ChordPro tool based on Oliver Betz' portable perl load

Re: wxPerl repo

2024-09-30 Thread Johan Vromans
On Tue, 1 Oct 2024 00:06:24 +0800, Ron Grunwald wrote: > I'm keen to build your version of wxPerl, but I'm not particularly > conversant with Github. You can click 'Releases' at the right and then download a tar.gz. > Would it be possible to outline the build procedure? Provided you have wxWid

wxPerl repo

2024-09-28 Thread Johan Vromans
I've set up a new, independent repo for wxPerl on GitHub: https://github.com/sciurius/wxPerl It has two branches: wx30 and master. Branch wx30 contains an updated version of 0.9932, fixed for modern Perl and wxWidgets 3.0. I have released it as Wx-0.9933. The master branch has been updated with

Re: Compatibility

2024-09-26 Thread Johan Vromans
On Thu, 26 Sep 2024 14:54:30 -0700, Jim Burwell wrote: > Hmmm… will have to search for it, it’s not in any of our current repos. You'll have to look at the Extra Packages for Enterprise Linux (EPEL). See e.g. https://www.redhat.com/en/blog/whats-epel-and-how-do-i-use-it .

Re: Compatibility

2024-09-26 Thread Johan Vromans
On Thu, 26 Sep 2024 13:58:21 -0700, Jim Burwell wrote: > Red Hat Enterprise Linux release 8.10 (Ootpa) > > > This is the WxWidgets package info: > > Version : 3.0.4 RedHat provides a patched version of wxPerl 0.9932 that works nicely with wxWidgets 3.0. However, this version of wxPerl supp

Compatibility

2024-09-26 Thread Johan Vromans
I am currently consolidating miscellaneous wxPerl versions and patches and hope to come to a new, clean release that is suitable for the future. Talking about the future, after this release I intend to drop support for older versions of wxWidgets. Minimum 3.0 (released 2013), probably even 3.2 (20

Re: wxPerl update

2024-09-23 Thread Johan Vromans
On Mon, 23 Sep 2024 11:03:37 -0700, Ralph Walden wrote: > If wxPerl was made compatible with wxWidgets 3.2, I'd add support for the > language to wxUiEditor I have wxPerl operational with wxWidgets 3.2 on Linux, Windows and Mac. It is compatible (i.e. existing apps run fine) but doesn't yet have

wxPerl revival

2024-09-20 Thread Johan Vromans
For several years now, development and support of wxPerl, the interface library between Perl and wxWidgets, has stalled. The latest release was based on Perl 5.16 and wxWidgets 2.9. Meanwhile some active users have made attempts to port wxPerl to newer versions of Perl and wxWidgets, with varying

Re: Wxperl.com, net and org domain names

2017-04-06 Thread Johan Vromans
On Wed, 5 Apr 2017 22:07:30 +0100, Mark Dootson wrote: > 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. I'm sorry to hear this. Actually, I can't believe I hear this. I've done my best to help keeping wxPerl alive a

Re: Wxperl.com, net and org domain names

2017-04-05 Thread Johan Vromans
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 transfer has taken place. What to do with wxperl.it and wxperl.nl? My personal opinion is that it would be best to move

Re: HtmlHelpController problem

2017-03-08 Thread Johan Vromans
On Wed, 8 Mar 2017 07:06:05 +0800, Ron Grunwald via wxperl-users wrote: > What an interesting widget. Just out of curiosity, do you use the "HTML > Help Workshop" software under Windows to create the html files? Its > mentioned in the wxWidgets write-up for this control. I produce the neccessary

Re: HtmlHelpController problem

2017-03-01 Thread Johan Vromans
On Wed, 1 Mar 2017 10:28:53 -0600, Keith Brown wrote: > What I do is edit the > html files and then zip them up into a help file. The program then uses > the zip file: AFAIK, the help file needs some special entries, like "docs.hhc", "docs.hhk" and "docs.hhp". Just zipping the html files in a

Re: Compatible versions of wxWidgets

2017-02-26 Thread Johan Vromans
On Sun, 26 Feb 2017 22:07:15 +0800, Ron Grunwald via wxperl-users wrote: > This is really useful information - thank you. Would it be possible to > update the FAQ on the wxPerl wiki? Wikis are user driven. Feel free to apply for an account and contribute. -- Johan

Re: Changing Icon for Standalone Executable

2017-01-21 Thread Johan Vromans
On Fri, 20 Jan 2017 20:02:33 +0100, "bubnikv ." wrote: > Frankly I don't like the 'niceness' of the PAR packer at all. Behind the > scenes it unpacks the content of the archive somewhere, where it is > cached. So if you install the application into a system install, then > there will be a copy cr

Re: Changing Icon for Standalone Executable

2017-01-20 Thread Johan Vromans
_path); > _makepath(script_path, drive, dir, "your_main_perl_script", "pl"); > command_line[0] = exe_path; > command_line[1] = script_path; > memcpy(command_line + 2, argv + 1, sizeof(char*) * (argc - 2)); > command_line[argc

Re: Changing Icon for Standalone Executable

2017-01-20 Thread Johan Vromans
On Fri, 20 Jan 2017 16:42:20 +0100, "bubnikv ." wrote: > The way I chose is to completely skip the PAR archive, collect the files > manually (maybe use the PAR packer just to discover the dependencies) and > then to compile an exe wrapper over perl.dll. Would you be so kind to explain this appro

Re: Wxperl.com, net and org domain names

2017-01-16 Thread Johan Vromans
On Sun, 15 Jan 2017 23:04:01 -0500, David Kaufman wrote: > If anyone is interested in any of the wxperl.com, .net and/or .org > domain names, I can transfer them to you before they are released (to > make sure they aren't snapped up by cyber-squatters). I would prefer TPF to take over these doma

Re: [rt.cpan.org #119022] DrawText of unicode string

2016-11-28 Thread Johan Vromans
On Mon, 28 Nov 2016 17:49:14 -0500, "Philip R Brenan via RT" wrote: > Mon Nov 28 17:49:13 2016: Request 119022 was acted upon. > Transaction: Correspondence added by PRBRENAN >Queue: Wx > Subject: DrawText of unicode string >Broken in: (no value) > Severity: (no value) >

Re: [rt.cpan.org #119022] DrawText of unicode string

2016-11-28 Thread Johan Vromans
On Mon, 28 Nov 2016 15:41:01 -0500, "Philip R Brenan via RT" wrote: > my $f = Wx::Font->new("Noto Mono 24"); > my $g = Wx::PaintDC->new($panel); > $g->SetFont($font); > $g->DrawText("Hello", 400, 400); > $g->DrawText("𝝰𝝱𝝲𝝱𝝰", 400, 450); You did 'use utf8', I assume? -- Joha

Fw: [wxGlade] Development preview and further development of wxGlade

2016-11-10 Thread Johan Vromans
message is to convince you that things are moving forward and to motivate some people to contribute ;-) Once a proper release is closer, I will also ask on the wxPython mailing list. Regards, Dietmar -- ------

PDF Viewer

2016-06-23 Thread Johan Vromans
Hi, I'm moderately desparately looking for a PDF viewer usable from wxPerl. Either a widget, or a widget controlling an external viewer (Atril, Evince, Acrobat, ...). It must be cross platform (Linux, Windows, OSX). Bonus points for 2.8 compatibility. Any suggestions?

Citrus and Cava

2016-04-11 Thread Johan Vromans
As many of you know, Mart Dootson created Citrus Perl, a perl distribution for Linux, Windows and Mac OSX, specially targetted at development of (commercial) applications. A.o., it includes wxPerl and database drivers. He also created Cava Packager, a sophisticated wxPerl tool to create packaged (

Re: Learning wxPerl - Program structure

2016-02-01 Thread Johan Vromans
On Mon, 1 Feb 2016 23:51:49 +0100 Johan Vromans wrote: > Keep up the good work, Oh, and swap the lines use base qw( Wx::Frame ); use Wx qw( :everything ); to avoid "Base class package "Wx::Frame" is empty.". -- Johan

Re: Learning wxPerl - Program structure

2016-02-01 Thread Johan Vromans
On Mon, 01 Feb 2016 22:37:47 +0800 Ron Grunwald wrote: > Let me know what you think. Good start! A quick couple of technical remarks. No need to use a big font size like 16. It causes excessive line breaks which make program segments very hard to understand. Please avoid hard path names, like

Re: Future of wiki.wxperl.nl

2016-02-01 Thread Johan Vromans
On Mon, 01 Feb 2016 17:09:43 + Steve Cookson - gmail wrote: > What is wxp...@gmail.com? > I should probably know this already. IIRC, it was established some years ago by Mark as a common mailbox for the wxPerl infra-structure team.

Re: Future of wiki.wxperl.nl

2016-02-01 Thread Johan Vromans
Hi, 27 days ago, the password for wxp...@gmail.com was changed. I no longer have access to this mailbox. No problem for me, but I hope someone else still has access... -- Johan On Fri, 15 Jan 2016 10:19:49 +0100 Johan Vromans wrote: > On Sat, 09 Jan 2016 12:57:52 + > Steve C

Re: Future of wiki.wxperl.nl

2016-01-15 Thread Johan Vromans
On Sat, 09 Jan 2016 12:57:52 + Steve Cookson - gmail wrote: > Hi Johan, > > I think it's up to you now. We have a group of volunteers, 5 in all, > and I think we should just start. > > They seem to be Me (Steve Cookson), James Lynes, Michael Roberts, Joseph > Karwisch and Erik Colson. I

Re: wxPerl Infrastructure Support Issues

2016-01-08 Thread Johan Vromans
On Thu, 7 Jan 2016 17:25:51 -0500 James Lynes wrote: > wxPerl Language Support > ... wxGlade -- Johan http://johan.vromans.org/seasons_greetings.html

Re: wxPerl Infrastructure Support Issues

2016-01-08 Thread Johan Vromans
On Thu, 7 Jan 2016 17:25:51 -0500 James Lynes wrote: > The List gets longer... > > wxPerl Issues - January 7,2016 > -- > (Thinking out loud in outline form) How about putting this list on the wiki, so we can all help keeping it updated? > What will i

Re: Future of wxperl.it

2016-01-08 Thread Johan Vromans
On Fri, 08 Jan 2016 12:46:03 + Steve Cookson - gmail wrote: > So we have a lot of Linux experience some windows, but no Mac? > Does no one have Mac? It's kind of essential. One of the reasons I loved (and now, deerly miss) the full blown easy install fully compatible wxPerl (and more) envir

Re: Future of wxperl.it

2016-01-04 Thread Johan Vromans
On Mon, 04 Jan 2016 08:28:37 +0100 Erik Colson wrote: > What do you mean by "take care" ? > I can think of these: > - pay for the domain name > - get a new host, and pay for it > - maintain the wiki database (whatever that includes) Exactly. There's www.wxPerl.org that redirects to wxPerl.it. w

Re: Future of wxperl.it

2016-01-03 Thread Johan Vromans
in the near future unless someone steps forward to take care. > > On Sat, Dec 26, 2015 at 9:57 AM, Johan Vromans > > http://jvrom...@squirrel.nl>> wrote: > > > > On Mon, 5 Jan 2015 14:54:35 -0500 > > James Lynes >

Re: Future of wxperl.it

2015-12-26 Thread Johan Vromans
On Mon, 5 Jan 2015 14:54:35 -0500 James Lynes wrote: > Great, but what needs to be done long term? I don't know. I'm about to stop caring for several reasons including age, health, personal circumstances, and the lack of support from others. If anyone wants to continue the wxPerl domains and th

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

2015-02-23 Thread Johan Vromans
On Sat, 21 Feb 2015 14:52:57 -0500 "Petr Pisar via RT" wrote: > Getopt-Long-2.43 made simultaneous use of pass_through and "<>" options > illegal. Unfortunately, build/Wx/build/Options.pm does so, and hence the > build dies Getopt-Long-2.45 reverts this change. However, it would be a good idea t

Re: Final Version

2015-02-03 Thread Johan Vromans
On Tue, 3 Feb 2015 11:45:13 -0500 James Lynes wrote: Allow me to rework the scary part: >my ($self, $event) = @_; > #print "\nOK Button\n"; > # Convert the pdf file to png using > # "convert" comman

Wx build error with Getopt::Long >= 2.43

2015-01-29 Thread Johan Vromans
Hi, Someone on IRC asked: Does anyone know why I get the following error when compiling Wx-0.9923 on windows or mac: Option spec <> cannot be used with pass_through This is a very recent change in Getopt::Long. The error is given when a erroneous combination of configuration ('pass_throu

Future of wxperl.it

2015-01-05 Thread Johan Vromans
Hi, On 2013-03-03, Mark Dootson allocated wxperl.it 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. 2015-03-03, two months from now, wxperl.it will expire. What shall we do with it? If we want to keep it,

Re: Post launch thanks

2014-11-30 Thread Johan Vromans
On Sun, 30 Nov 2014 14:25:01 + Steve Cookson wrote: > ... We got a very positive response. [...] So we are feeling good. > > I shall continue to contribute here and I shall continue to ask for your > support. > > In the meantime many thanks. That's big congrats to you and your team

Re: Wiki FAQ MIA

2014-11-19 Thread Johan Vromans
On Wed, 19 Nov 2014 13:59:36 -0500 Matthew Persico wrote: > i can't access the faq on the WX wiki page. The link keeps taking me to > the mediawiki faq. Can someone with edit powers rename the WX faq page > and/or change the link so there's no conflict? Thanks I have no idea what is going on her

Re: Install Script Feedback

2014-10-26 Thread Johan Vromans
On Sun, 26 Oct 2014 20:41:18 -0400 James Lynes wrote: > Also, uploaded this version to the Wiki. Thanks! -- Johan

Re: Native Language Dialogue boxes.

2014-10-17 Thread Johan Vromans
Steve Cookson writes: > Most of you must use wxPerl in some other language than English. I do... > My native language is English, but I'm developing in Portuguese. When > I switch the system language to Portuguese, some things switch (eg the > days of the week in date-picker). But others like

Re: New Wiki users.

2014-10-12 Thread Johan Vromans
James Lynes writes: > Johan: > > The request form worked this time. I did already honour your original request for 'James Lynes' - did you get the mail? Would you prefer the original name, or shall I accept the newer request? Sorry for the inconvenience, -- Johan

Re: New Wiki users.

2014-10-12 Thread Johan Vromans
James Lynes writes: > Tried this and it didn't work. > Said there was a pending request with the same email address. > >From an earlier request months ago??? Possibly. I activated it manually. Sorry for the inconvenience. -- Johan

Re: New Wiki users.

2014-10-11 Thread Johan Vromans
Steve Cookson - gmail writes: > Well, clearly the lesson here is don't trust PHP. Never would have > happened with CGI Perl! :) > Do we maintain this site? I've upgraded the wiki to MediaWiki 1.23.5 and everything seems to work fine again. James, please try again registering an account for t

Re: New Wiki users.

2014-10-10 Thread Johan Vromans
Steve Cookson writes: > If I log out of my account and request a new logon with this: > > http://wiki.wxperl.nl/Special:RequestAccount > > I get a blank page. (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error: Call to undefined method WebRequest::getFileSize() in /var/www/extensions/Confir

Re: New Wiki users.

2014-10-10 Thread Johan Vromans
Steve Cookson writes: > If I log out of my account and request a new logon with this: > > http://wiki.wxperl.nl/Special:RequestAccount > > I get a blank page. > > What should happen here? There should be a regular account registration form, of course... Apparently, something generates a 500 Int

Re: subversion

2014-10-07 Thread Johan Vromans
Steve Cookson - gmail writes: > I agree, I prefer github, especially because of the way it facilitates > correspondence about issues. For the sake of clarity: my question was about migrating the repo from SVN to GIT, which could be done on SourceForge. (Although I would prefer GitHub, but that'

Re: subversion

2014-10-07 Thread Johan Vromans
Steve Cookson writes: > Oh fantastic, I've just checked the svn repo and Mark has updated it > with the 3.0.1 wxWidgets release. Great news. I hope this means he will also resume the citrus/cava stuff. BTW: Would it be possible to migrate the svn to git, as this is nowadays the vcs of choice?

Re: Installation Cookbook

2014-10-02 Thread Johan Vromans
Steve Cookson - gmail writes: > Regarding Citrus, I don't use it myself, however I do believe it now > comes with wxWidgets 3.0.0, while the latest is wxWidgets 3.0.1. Maybe > Johan or Mark can give you a better Much to my disappointment, CitrusPerl (and Cava Packager) must be considered abandon

Re: wxdemo programs

2014-09-28 Thread Johan Vromans
Hi Herbert, > https://bitbucket.org/lichtkind/kephra/src/b3aac096d22f2d33ed0281e61b36661294740e1d/proto/function/bin/?at=cp I think many of these are valuable for studying and stealing. It would be nice to have them on the wiki, or at least a description plus pointer. Good work, Johan

Wiki updated to MediaWiki 1.23.0

2014-06-17 Thread Johan Vromans
Hi, wiki.wxperl.nl has been upgraded to MediaWiki 1.23.0. Please report any anomalities to me. -- Johan

Re: Installation scripts

2014-05-29 Thread Johan Vromans
Steve Cookson - gmail writes: > I guess it does, if the dependencies are not present, the standard > wxWidgets script does not even compile that module. Interesting. Remember, I just did a "cpanm Wx". Nothing fancy... > Does GStreamer com with Fedora? On the Ubuntu family, including > Kubuntu

Re: Installation scripts

2014-05-29 Thread Johan Vromans
Steve Cookson - gmail writes: > Nice. What about other dependencies? I guess you don't use > MediaCtrl, for instance. Not as far as I know. When I run Wx::Demo I can load a jpeg in its wxMediaCtrl demo. Does that qualify? -- Johan

Re: Installation scripts

2014-05-28 Thread Johan Vromans
Steve Cookson writes: > Can I ask you what platform you use and how you install (and what versions)? > I'd be very interested in seeing what you do. Fedora 20 with a fresly perlbrewed 5.20.0, system provided wxGTK. Basically, I installed the system wxGTK-devel package # yum install wxGTK-deve

Re: Installation scripts

2014-05-25 Thread Johan Vromans
Jon writes: > System packages work great if you're using system Perl. At work write > mostly a Perl shop and system Perl for RHEL 6 is 5.10... So we use > Perlbrew and anything > 5.16 (depends largely on the app team). It is quite trivial to create relocatable rpm's for anything, including newer

Re: Installation scripts

2014-05-25 Thread Johan Vromans
Jon writes: > To write a good chef recipe we need to know: "dependancies" or > prerequisites, what config files are we going to manage, and what > binaries and libraries are we going to install. Also well need to know > how to "install" everything on various platforms (dpkg -i vs rpm -i > etc).

Re: Installation scripts

2014-05-25 Thread Johan Vromans
Steve Cookson writes: > Can I ask you what platform you use and how you install (and what versions)? CitrusPerl. Always. -- Johan

Re: How to set tooltip for image buttons

2014-05-04 Thread Johan Vromans
ademmler writes: > # assign the tool tip > $frame->FindWindow($key)->SetTip($condition{$key}{'text'}); AFAIK, the method is called SetToolTip. -- Johan

Re: wxWidgets apps have no window decorations when run via NX

2014-04-10 Thread Johan Vromans
"Ian Macdonald" writes: > Experiments have shown this problem applies to all Wx applications we > can find, e.g. all our applications, the wxPerl demo app, Audacity, etc. > > See image illustrating problem at http://i.imgur.com/FTbH03g.jpg I'm not familar with nx, so I'm wild guessing... Is it

Re: wxPerl on the Mac

2014-01-10 Thread Johan Vromans
Bruce Ravel writes: > A colleague is working on developing installation packages for the Mac > using MacPorts. At the moment his rate-limiting step is making a > MacPorts package for wxperl. I'm not familiar with building wxPerl on Mac, but have you considered using CitrusPerl? It's a complete

Re: No success trying to use Cava Packager

2013-10-18 Thread Johan Vromans
Steve Cookson writes: > Is this true, Cava Packager doesn't work under Linux? > I'm not sure I believe this. Johan, are you using it under Linux? You bet. IIRC, Octavian is blind and uses screen reading tools that require a command line interface. He cannot use CP because it only has a GUI to

Re: $app->SetTopWindow($frame);

2013-09-04 Thread Johan Vromans
herbert breunung writes: > we all know that famous line, > but actuall when I start a script from the bash with 5.14 > it shows up behind the shell win. Strange... Doesn't happen here. > Any fix or explanation for this? Mapping windows is a task of the window manager. What system and what wm a

Re: Is "check item" method in Wx::CheckListBox wrapped/implemented?

2013-07-07 Thread Johan Vromans
Helen Craigman writes: > I am trying to use Wx::CheckListBox. In general, it works, but I need to > checkmark some boxes programatically. > In the wxWidgets documentation, it says this can be done using the Check > method: > (URL: > http://docs.wxwidgets.org/2.8/wx_wxchecklistbox.html#wxchecklist

Re: how to useMemoryFileHandler ?

2013-06-29 Thread Johan Vromans
herbert breunung writes: > Thats exactly what I looked for (shit I even knew this some years ago) Can you put a short instruction on the wiki? -- Johan

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

2013-06-17 Thread Johan Vromans
writes: > Hi Mark, > >> I've tested wxWidgets 2.9.4 and wxWidgets 2.8.12 on Fedora 17 32 bit. > > I'm Kubuntu 12.04.LTS, 2.8.11 > > Hmm... Can't see the wxPerl version number. How do I retrieve it? perl -MWx -e 'print $Wx::VERSION, $Wx::wxVERSION, "\n"' -- Johan

Re: Threads

2013-06-02 Thread Johan Vromans
Markus Gürtler writes: > I've run exactly in the same problem, but forgot about it. Here's how > I finally made my "UTF8-setup", which is thread safe: Thanks for you rsuggestion. Your basic change is to use ":utf8" instead of ":encoding(utf8)". I already mentioned that this works. It turns out

Re: Threads

2013-06-01 Thread Johan Vromans
Johan Vromans writes: > Mark Dootson writes: > >> 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. > > Found it! > > #! perl > use threads; > use thre

Re: Threads

2013-05-31 Thread Johan Vromans
Mark Dootson writes: > 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. Found it! #! perl use threads; use threads::shared; use Wx; #binmode( STDOUT, ':encoding(utf8)' ); my $worke

Re: Threads

2013-05-31 Thread Johan Vromans
Markus Gürtler writes: > one important thing is to 'use threads' before you 'use Wx'. Yes, I did. > Do you get the core dumps when creating the threads or when trying to > join them? On creating. It crashes even when the thread subroutine is empty. warn("Creating thread...\n");

Re: Threads

2013-05-31 Thread Johan Vromans
writes: > Are you using a debugger? I have this working and I'll try to get you a > small sample, but if you are running in a debugger it may be that the > debugger is crashing. No, no debugger is involved. -- Johan

Threads

2013-05-31 Thread Johan Vromans
Hi, I'm trying to use threads from a Wx program. Unfortunately, the only results I get so far are core dumps. Apparently I'm doing something wrong. To improve my understanding how this works, does anyone have a simple working example of a wxPerl program that uses threads? Thanks, -- Johan

Re: CitrusPerl and wxperl_demo.pl Segmentation fault.

2013-05-27 Thread Johan Vromans
Mark Dootson writes: > For the Wx::Demo and OpenGL alone you will require the > freeglut libraries on your system. Without freeglut, wxdemo runs but displays a startup error 11:03:35 PM: Warning: Skipping module 'Wx::DemoModules::wxGLCanvas' 11:03:35 PM: Warning: Can't load '/bulk/perlbrew/p

Re: CitrusPerl and wxperl_demo.pl Segmentation fault.

2013-05-27 Thread Johan Vromans
"Steve Cookson" writes: > $ cd ~/perl/vendor/bin > > $ ./wxperl_demo.pl > > Segmentation fault (core dumped). > > What's happened here? A library mix up. I get the same when I run the demo with a 32bit citrus 5.16.3 or 5.16.1. It tries to load a dll libORBit-2.so.0 and fails since the 32bit ver

Re: Deploying with CitrusPerl

2013-05-26 Thread Johan Vromans
"Octavian Rasnita" writes: > Do you know if Cava can be used in command line? In that case it would > be a really good alternative. You can use Cava on the command line, but the (initial) configuration needs a GUI to set up. After that you can run the command cavaconsole to perfom the scan, buil

Re: Deploying with CitrusPerl

2013-05-26 Thread Johan Vromans
"Octavian Rasnita" writes: > Thank you for suggestion. I tried a pretty long time ago to use Cava > but didn't find it easy and accessible to use. Yes, PAR seems easier but it is very tricky to get it right in complex situations. That's the problem you see. Cava is a bit more elaborate to get g

Re: Trying to trigger wxEVT_TREELIST_ITEM_CHECKED programmatically: not implemented?

2013-05-24 Thread Johan Vromans
"Helen Craigman" writes: > System: Windows XP SP3, Citrus Perl 5.16.4, wxWidgets 2.9.5 Interesting... The latest version I can find on the downloads site is Citrus Perl 5.16.3, with wxWidgets 2.9.4. > "wxEVT_TREELIST_ITEM_CHECKED" is not exported by the Wx module It seems that the TreeList con

Re: Strawberry Perl 5.16.3 with wxWidgets 2.9.4 and wxPerl latest

2013-05-11 Thread Johan Vromans
James Lynes writes: > Has anyone successfully built Strawberry Perl 5.16.3 with wxWidgets 2.9.4 > and wxPerl .9921? My *personal* advice is to not bother with Strawberry, but install Citrus Perl which gives you 5.16.3 and Wx 2.9.4 cpmplete out of the box. -- Johan

Problem with fg/bg windows

2013-05-02 Thread Johan Vromans
Hi, I have a fullscreen application, A, that runs on Windows. This application starts another fullscreen application, B. Sometimes, especially when starting B takes several seconds, application A is marked as "non responsive", which apparently raises its window. If in the mean time application B

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

2013-05-02 Thread Johan Vromans
Mark Dootson writes: > None of my machines can be ASCII or EBCDIC by whatever definition this > doc entry uses [...] What exactly is an ASCII machine? ASCII just means: non-EBCDIC. > Anyhow, I find that after > > $string = decode("utf8", $octets) > > $string always has the utf8 flag set, even i

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

2013-04-30 Thread Johan Vromans
Mark Dootson 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. See e.g. perlunitut. > I kind of l

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

2013-04-30 Thread Johan Vromans
Mark Dootson writes: > Only if the input actually is valid UTF-8. Something only the Perl > coder can know / ensure. It isn't a requirement of the wxWidgets > library. We may assume that the Perl string is in Perl's internal encoding. So I think it would be safe to encode the string in UTF-8 (th

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

2013-04-30 Thread Johan Vromans
Mark Dootson writes: I'm just trying very hard to understand... > So, when we are passing the content of a Perl SV we can check the utf8 > flag and depending on that we can tell the wxWidgets library either > > 1. This data is UTF-8 Which I understand is safe, it will always work. > 2. This da

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

2013-04-29 Thread Johan Vromans
Mark Dootson writes: > 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. > > That's exactly what it does, un

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

2013-04-29 Thread Johan Vromans
Mark Dootson writes: > #define WXSTRING_INPUT( var, type, arg ) \ > var = ( SvUTF8( arg ) ) ? \ >wxString( SvPVutf8_nolen( arg ), wxConvUTF8 ) \ > : wxString( SvPV_nolen( arg ), wxConvLibc ); > > So basically, if the scalar is marked as 'utf8' then it gets converted > into

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

2013-04-29 Thread Johan Vromans
writes: > As it is at the moment, I just use decode and I don't get any errors. > But I do need to use decode. Whenever you bring data from outside Perl into Perl, you should decode it. If the data is ASCII (actually: Latin-1) it doesn't matter much, but if the data is encoded in anything else y

  1   2   3   4   >