Re: WxAboutBox

2007-07-25 Thread Mark Dootson
Hi, It is wrapped. usage: my $about = Wx::AboutDialogInfo-new(); $about-SetName('My App Name'); $about-SetLicense('USE IT AND WEEP'); $about-AboutBox; Regards Mark Ed W wrote: Am I right in thinking that this is not wrapped right now? Is it easy to add? Ed W

Re: Send EVT_CLOSE to self?

2007-07-30 Thread Mark Dootson
Hi Ed, I would not pay too much heed to my example at www.gigi.co.uk as it was really just my way of getting around some problems I had at that time with closures. You only need Wx::PostEvent for sending events between threads - and Thread.pod that you have is best reference for that. You

Re: Wx::ActiveX future

2007-08-30 Thread Mark Dootson
Hi, Octavian Rasnita wrote: Can the ActiveX WX widget be used for creating an Internet Explorer browser object? Yes it can. See Wx::ActiveX::IE Regards Mark

Re: Wx::DatePicker

2007-09-23 Thread Mark Dootson
Hi, use Wx qw( :everything); use Wx::Calendar; $this-{releaseDate} = Wx::DatePickerCtrl-new($panel, -1, Wx::DateTime-new() , wxDefaultPosition, wxDefaultSize, wxDP_DROPDOWN); Regards Mark Peter Wilson wrote: Hi Can anyone help, how can I pass a style to the datepicker I have

Re: OpenGL (GLCanvas) [WxPerl]

2007-10-29 Thread Mark Dootson
Hi, I just checked the metadata on the http://www.wxperl.co.uk/wxppm/ PPM repository and it is working fine. If you have a problem its at your end. Regards Mark Dodger wrote: Okay, so... erm... not to belabout what may amount to stupid questions or anything but... The GLCanvas demo that

Re: Wx::Perl::Packager / PDK /PAR

2007-11-21 Thread Mark Dootson
That's a really unfortunate URL typo for the source dist. Shoud be http://www.wxperl.co.uk/Wx-Perl-Packager-0.11.tar.gz Mark Dootson wrote: Hi, Have just uploaded a working Wx::Perl::Packager to CPAN. Also available as PPM from http://www.wxperl.co.uk/ If you want the source dist

Re: compiling Wx with an MS compiler

2007-11-22 Thread Mark Dootson
Hi, The current code needs a slight patch to compile with MS VC6. A suggested patch is logged at sourcesafe. You only get one less DLL - no mingwm10.dll required when compiled with VC6. Compiling with MS VC6 won't get you what you want. Octavian Rasnita wrote: Hi, Can Alien::wxWidgets and

Building Wx under Perl 5.10

2007-11-25 Thread Mark Dootson
Hi, As ActiveState have released a beta of the first 5.10 ActivePerl, thought I'd check if my PPM building scripts work OK. Thought it would be nice to provide 5.10 PPMs as soon as ActivePerl 1000 is released (PPMs should also work with the first non-alpha release of Strawberry Perl, I think).

Re: More backgroundcolors needed (ListCtrl)

2007-12-04 Thread Mark Dootson
Hi, If I do use Wx; my $colour = Wx::ColourDatabase-Find(GOLD); I get the error: Usage: Wx::ColourDatabase::Find(colourname) at testcol.pl line 3. The error you are getting suggests either your version of Wx does not have Wx::ColourDatabase, or you need to use Wx; Either way, once you have

Re: AW: More backgroundcolors needed (ListCtrl)

2007-12-05 Thread Mark Dootson
Hi, You can't use Wx::ColourDatabase directly if it isn't in Wx. However, if you just want to use the predefined colours in Wx::ColourDatabase, you can do so directly as in my $colour = Wx::Colour-new(GOLD); You can create any colour you want in the Wx::Colour constructor. Regards Mark

Re: threads

2007-12-18 Thread Mark Dootson
Hi, If you are using the PPMs from www.wxperl.co.uk, you can get Wx::ActiveX from there. If you have built Wx / wxWidgets yourself and want to build Wx::ActiveX, get the code from SVN https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxActiveX/trunk The creator and maintainer of Wx::ActiveX on

Re: wxChoice

2008-01-05 Thread Mark Dootson
Hi, Read methods for wxControlWithItems. GetSelection GetStringSelection GetCount look like the methods you want. Regards Mark Octavian Rasnita wrote: Hi, Please tell me where can I found more information about the methods that can be used for using a wxChoice widget. I've seen that in

Re: beep

2008-01-10 Thread Mark Dootson
Hi, There's a function Wx::Bell. You would call this simply as: Wx::Bell; Regards Mark Octavian Rasnita wrote: Hi, Does WxPerl have a method for making a default beep? I need something like Win32::GUI::MessageBeep that can be used in a Win32::GUI application. Thank you. Octavian

Re: wxbase28_gcc_cava.dll not found

2008-01-11 Thread Mark Dootson
investigation suggests that it may be a WxPerl question, possibly for Mark Dootson... While attempting to clear another problem, I removed my Perl installation and all other associated components. I then did the following... 1. Installed ActivePerl-5.8.8.822-MSWin32-x86-280952.msi 2. Ran

Re: Building Wx under Perl 5.10

2008-01-19 Thread Mark Dootson
have time tomorrow to build Wx against a perl built from released 5.10 source on Win32. Regards Mark Mattia Barbon wrote: On Sun, 25 Nov 2007 16:46:56 + Mark Dootson [EMAIL PROTECTED] wrote: Hi, snip Can report everything builds fine under MinGW and seems to work

Re: wxpdk

2008-02-03 Thread Mark Dootson
Hi, You need to put use Wx::Perl::Packager; at the top of your script. For future reference, when you are first building using PerlApp, it is useful to set the GUI parameter to zero. Then any messages relating to failure on startup will appear on STDOUT. Once you have a working app, you can

Re: more info regarding running an WxPerl executable

2008-02-03 Thread Mark Dootson
This occurs because when you choose Win95 compatibility, the dyndll option is ignored. Octavian Rasnita wrote: Hi, I've discovered something very strange. If I run the WxPerl executable created with PDK, no files are extracted in the temp directory. But if I right-click the file, chose

Re: wxpdk

2008-02-03 Thread Mark Dootson
::Packager; in the script, but I've just used wxpdk command. Thank you. Octavian - Original Message - From: Mark Dootson [EMAIL PROTECTED] To: Octavian Rasnita [EMAIL PROTECTED] Cc: wxperl-users@perl.org Sent: Sunday, February 03, 2008 1:56 PM Subject: Re: wxpdk Hi, You

Wx::Perl::Packager

2008-02-27 Thread Mark Dootson
Hi, I finally got around to fixing Wx::Perl::Packager for PerlApp 7.1 on Windows. Version 0.14 has been uploaded to CPAN. Source also available at http://www.wxperl.co.uk/Wx-Perl-Packager-0.14.tar.gz PPM available at http://www.wxperl.co.uk/Wx-Perl-Packager.zip One major change is that the

PPM Repositories and Wx::TreeListCtrl

2008-03-30 Thread Mark Dootson
I have updated PPM repositories so they now serve Perl 5.8 and 5.10 The URL is http://www.wxperl.co.uk/repository This holds unicode packages. If anyone wants ansi packages they are at The URL is http://www.wxperl.co.uk/repository/ansi I have remapped the old urls so no need to change where

Re: Alien-wxWidgets patch and build your own Wx on Win32

2008-04-01 Thread Mark Dootson
With patch - Doh! Index: Build.PL === --- Build.PL(revision 2345) +++ Build.PL(working copy) @@ -34,6 +34,7 @@ monolithic = { type = '!' }, universal = { type = '!' },

Wx::ActiveX

2008-04-02 Thread Mark Dootson
All, as discussed here in the past, http://www.nntp.perl.org/group/perl.wxperl.users/2007/08/msg5392.html I am going to mail [EMAIL PROTECTED] to request co-maintainership for the module. Regards Mark

Wx::ActiveX - Acrobat etc.

2008-04-10 Thread Mark Dootson
Hi Wx-ActiveX 0.09 is released http://search.cpan.org/~mdootson/Wx-ActiveX-0.09/ and http://www.wxperl.co.uk/Wx-ActiveX-0.09.tar.gz Wx:ActiveX::Acrobat now works and the interface is documented in pod. This is perhaps the most useful part of the library working again :-). It was just a case

Re: Wx::ActiveX - Acrobat etc.

2008-04-11 Thread Mark Dootson
it properly at the time, I just had them migrate back to the previous version since they didn't have need for the upgrade. From: Mark Dootson [EMAIL PROTECTED] Sent: Thursday, April 10, 2008 1:45 PM To: wxperl-users@perl.org Subject: Wx::ActiveX - Acrobat etc

Using Wx::wx_boot to load XS modules

2008-04-12 Thread Mark Dootson
Hi, I had been using the following to load my XS module for Wx::ActiveX Wx::wx_boot( 'Wx::ActiveX', $VERSION ); This works fine except when running 'make test' on a new build where there is a prior version of Wx::ActiveX installed. In that case, Wx::wx_boot loads the installed DLL and the

Re: Stopping WxMenu from trying to be smart

2008-04-13 Thread Mark Dootson
Hi, You are setting your menu label to something like. Save\tStrg+S but using Wx::AcceleratorTable to create the shortcuts. Then all you need to do is: Save\tStrg + S The spaces between Strg and S will prevent wxWidgets from interpreting that has a shortcut key but your menu will still

Re: Stopping WxMenu from trying to be smart

2008-04-13 Thread Mark Dootson
F.Y.I. I tested 'GetLabelText' and if you set the label to Some Task\t Strg + T it will correctly return 'Some Task'. Regards Mark herbert breunung wrote: hello dear list member, i ran int to a major problem. as you may know write a larger app in wxperl, the text editor kephra. One feature

Re: Stopping WxMenu from trying to be smart

2008-04-13 Thread Mark Dootson
in the correct way. Looks like I'll have to learn to love gettext :-( Regards Mark Mark Dootson wrote: Hi, I think you have to use Wx::AcceleratorTable Attached is minimal script I used to check suggestion. Regards Mark herbert breunung wrote: thanks i already tried something similiar ugly but i

Re: PDK

2008-04-18 Thread Mark Dootson
Octavian, I have a solution to distributing the wxWidgets DLLs separately which takes the form of a PDK shared executable. It can be downloaded from http://www.wxperl.co.uk/pdk_wx_runtime.zip This zip should be extracted preserving folders. At the top level it includes a README.txt file

Alien-wxWidgets 0.34 problem

2008-04-18 Thread Mark Dootson
Hi, The recent changes to Alien-wxWidgets breaks correct operation of ExtUtils::FakeConfig. This concerns building Alien on Win32 using MinGW, against a non ActiveState Perl where Perl itself was built using VC6. It would break an ActiveState build too if it is an older version and you are

Re: WxPerl threads

2008-04-20 Thread Mark Dootson
Hi Octavian, The OnCreateThread example is really just demonstrating a special case when you start a thread inside an event handler. It doesn't concern your example. Your example does not work because it is posting events to '$self' where '$self' is undefined. I have made some amendments

Re: Static text not painted in dialog

2008-04-25 Thread Mark Dootson
Hi, Because you have no mechanism to deliver events to the dialog. Try $dlg-ShowModal(); OR Start off an app my $app = Wx::SimpleApp-new(); my $dlg = your code $dlg-Show(1); $app-MainLoop; Though in second case you need to put code in $dlg to kill loop on exit. Cheers Mark

Re: Static text not painted in dialog

2008-04-25 Thread Mark Dootson
was to open the dialog, do the work, then close the dialog when it is done. One possible way to do this is to move the business logic into the dialog itself. It should work, though I'd like to consolidate all business logic together. Your thoughts? Mark Dootson wrote: Hi, Because you have

Re: Custom Cell Renderer causing text to overflow

2008-04-25 Thread Mark Dootson
Hi, I know very little about wxGrid, but have used wxDC and related objects a fair bit. Therefore something jumps out from the code. Using $grid-SetCellOverflow( $row, $col,0) should be used outside your subroutine to set the extents of the $rect passed in and it is your job in a custom

Re: Alien-wxWidgets patch and build your own Wx on Win32

2008-04-27 Thread Mark Dootson
point in the future, I'll build / install a Perl to such a path to test obvious solutions in both Wx::Mini and Alien-wxWidgets. Regards Mark Mattia Barbon wrote: Mark Dootson wrote: Hi, The attached patch makes Alien-wxWidgets portable on Win32 - which means that a PPM or PAR dist of Alien

Re: ansi repository

2008-05-15 Thread Mark Dootson
Hi, Use standard Unicode repository. The ANSI repository is maintained because some users support apps that get deployed to win98 / winMe environments and it saves distributing unicows. Regards Mark Foo JH wrote: Can anyone enlighten me on the purpose of the ANSI repository? In the

Re: Cava Packager and calling of external programms

2008-06-05 Thread Mark Dootson
Hi Cava Packager has its own list. Anyhow, your problem is a basic Windows console app issue. Not Cava or Wx or Perl specific. Your external programs are console applications. Hence they need a console when they run. When you run your perl script from the command line, these apps just inherit

Re: Using the Escape Key to exit the wxPerl application

2008-06-17 Thread Mark Dootson
Hi, The in-built 'hot key' processing in wxPerl associates hot-keys with 'commands' (for example, menu items or buttons) So, if you had a menu command File-Exit, you might specify the text label for the Exit menuitem as: Exit\tCtrl+X This would give you the usual Alt, F, X route to exit,

Re: Wx::StyledTextCtrl MarkeDefine

2008-07-31 Thread Mark Dootson
Hi, Try using Wx::Colour objects for background, foreground params. Mark Gabor Szabo wrote: I am probably too tired but I don't understand what can be the problem: $page is a Wx::StyledTextCtrl object this line works: $page-MarkerAdd($line_number-1, 0); though I don't see any visible

Re: no DragAcceptFiles() under wx 2.8.8. ?

2008-09-17 Thread Mark Dootson
Hi Herbert line 258 of Window.xs reads #ifdefined( __MSW__ ) \ when it should read, I think #ifdefined( __WXMSW__ ) \ broken since May 2008. I'm surprised you are the first to encounter a problem with this. Regards Mark herbert breunung wrote: now to the right ml : just in case

Re: [Padre-dev] What Wx needed for Padre 0.27? Where shall I ask for PPM?

2009-02-10 Thread Mark Dootson
not mistaken it is out of date currently so you have to ask Mark Dootson - the owner of that site to build new PPMs for Alien::wxWidgets and Wx itself. regards Gabor 2009/2/11 Oren Maurer meor...@gmail.com: Oh - I found. Cross posting to the wxPerl users mailing list 2009/2/11 Oren Maurer meor

Re: [Padre-dev] What Wx needed for Padre 0.27? Where shall I ask for PPM?

2009-02-12 Thread Mark Dootson
Hi, PPM repositories for wxPerl are updated with new versions. Regards Mark Mark Dootson wrote: Hi all. I shall rebuild PPM's sometime today and update repository. I shall post on wx list when it is complete. For info, Wx and Alien::wxWidgets build 'out of the box' just fine using MinGW

Re: Wx::ActiveX install problem on Strawberry 5.10.0.6

2009-08-25 Thread Mark Dootson
Hi, Ryan Jendoubi wrote: After installing Alien::wxWidgets and Wx-0.92 though, I'm not able to install Wx::ActiveX [1]. Any advice on what could be causing this error would be greatly appreciated. Apologies, but it seems that I did not release updates to CPAN the last time I made

Re: No such exists ? = wxperl 2.8 for Perl 5.10 on Windows

2009-09-04 Thread Mark Dootson
://www.wxperl.co.uk/repository/ and http://www.wxperl.co.uk/Wx-510.zip They too don't work. How can I make it for coping with 5.10 and for Windows platform. We have to switch to old-school Tk. Hi, I was surprised to hear this because installing Wx on ActivePerl has become very easy ever since Mark

Re: Memory Leak (in Wx::Perl::ProcessStream)?

2009-09-09 Thread Mark Dootson
Hi, I'm not entirely certain this is really a Wx::Perl::ProcessStream issue. For sure, it is Wx::Perl::ProcessStream consuming the memory. I am not sure it is a fault in Wx::Perl::ProcessStream that causes perl to allocate additional memory when additional processes are run. I will have to

Re: Wx::ConfigBase

2009-12-23 Thread Mark Dootson
Hi, I do this all the time as I don't want to use registry on windows. Works fine on 'nix too. my $localfilename = ~/.foobar/app; my $config = Wx::FileConfig-new( $app-GetAppName() , $app-GetVendorName() , $localfilename, '', wxCONFIG_USE_LOCAL_FILE ); Cheers Mark

Wx_load_dll

2010-01-25 Thread Mark Dootson
Hi, I'd like to suggest the attached patch. It should not functionally make any difference - but allows you to do evil via Wx::Mini - which was original intention I think. I have working PPMs for Linux in the PPM repository ( Perl 5.10.1 ) which have glibc 2.5 and gtk 2.10 as the main

Loading, binary distributions and packagers

2010-01-27 Thread Mark Dootson
Hi, I'd like to propose the attached patch. Its purpose is to make it simpler for packaging applications to work and to allow creation of binary distributions of wxWidgets dlls for Wx. The patch is mainly pod - which explains how it would be used. I've tested building Wx and running Wx demo

PPMs for MacOSX

2010-01-30 Thread Mark Dootson
Hi all There are now PPMs for MacOSX at http://www.wxperl.co.uk/repository The Wx PPM here has no Alien dependency. The widgets dylibs are packaged in wxPerl.app/Content/Frameworks Changes to the standard code needed to make this work - 1. 'relocate' the wxWidgets dylibs to depend on

Re: Loading, binary distributions and packagers

2010-01-30 Thread Mark Dootson
Mattia Barbon wrote: I just applied the attached patch (only tested on Mac and Linux for now), and it seems to do the trick without breaking anything. that's smart. The local ENV{PATH} in wx_boot means that the standard Wx::_load_dll can be a noop for Windows too. (which I guess is what you

Re: Loading, binary distributions and packagers

2010-01-30 Thread Mark Dootson
Hi, Finally applied custom loader patch after much testing. Confirmed nothing seems broken on MSWin, Linux and Mac - both as standard compiled install and when overriden in custom loaders and packagers. Cheers Mark Mark Dootson wrote: Mattia Barbon wrote: I just applied the attached

Wx::Overlay and Wx::DCOverlay

2010-02-01 Thread Mark Dootson
@@ +# +## Name:XS/Overlay.xs +## Purpose: XS for Wx::Overlay +## Author: Mark Dootson +## Modified by: +## Created: 31/01/2010 +## RCS-ID: $Id:$ +## Copyright: (c) 2010 Mattia Barbon +## Licence: This program is free software; you can redistribute

Wx::GraphicsContext

2010-02-01 Thread Mark Dootson
Hi, Wx::GraphicsContext has problems with inheritance on wxMAC. I can fix with the attached patch - but I'm not sure if there's a better way to do this. Mark Index: Wx.pm === --- Wx.pm (revision 2771) +++ Wx.pm

Re: Wx::Overlay and Wx::DCOverlay

2010-02-02 Thread Mark Dootson
/Linux/Mac is attached. Thanks for your patience on this. Mark Mattia Barbon wrote: Mark Dootson wrote: Hi, Attached patch wraps classes wxOverlay and Wx::DCOverlay (from overlay.h). I was hunting around for a way to have temporary lines drawn on wxMAC - e.g. drag the mouse and have

Re: Wx::Overlay and Wx::DCOverlay

2010-02-05 Thread Mark Dootson
Hi, Mattia Barbon wrote: The point of the CLONE/DESTROY pair in wxPerl classes is avoiding crashes/double free errors. None of the classes that have a CLONE/DESTROY pair work inside a thread. The DESTROY method is needed, otherwise the objects will leak. Once you have a

Patch for Font Dialog on Snow Leopard

2010-02-05 Thread Mark Dootson
Hi The attached tested patch includes the wxWidgets patch for broken font dialog for Snow Leopard with 2.8.10 I have not committed changes as they will need to be removed when Alien default 2.8 moves to 2.8.11 ( out soon it would seem ) Mark Index: patches/data-2.8.10

Re: wxPerl release soon

2010-02-06 Thread Mark Dootson
Hi, Changes updated - I just pointed reader towards Wx::Loader.pod. I also added a note about local use of Wx::_load_plugin for dl_load_file. For info, I've been using the SVN code both to build and then test against MSWin, Linux and Mac - both as a straight 'make' and as PPM's. I've also

Re: Strange appearance (MS Windows)

2010-02-23 Thread Mark Dootson
Hi, I don't recall if I read it in an instruction somewhere or not, but I have always regarded drawing controls directly onto a Wx::Frame as not working. I always just assumed that you need a container class (Wx::Panel or Wx::Notebook etc). Certainly, on MSWin you get the unexpected (as per

Re: Strange appearance (MS Windows)

2010-02-23 Thread Mark Dootson
Something else going on. Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event? On 23/02/2010 15:36, Johan Vromans wrote: jvrom...@squirrel.nl (Johan Vromans) writes: Frame - Sizer - Panel - Sizer - Controls looks better, Except that my controls no longer get clicks

Re: Strange appearance (MS Windows)

2010-02-23 Thread Mark Dootson
Hi - this may appear twice - mail client problems. Something else going on. Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event? On 23/02/2010 15:36, Johan Vromans wrote: jvrom...@squirrel.nl (Johan Vromans) writes: Frame - Sizer - Panel - Sizer - Controls looks

Re: PerlApp stopped working

2010-03-02 Thread Mark Dootson
Hi, The PDK error: Can't locate Wx\Loader\Custom.pm is fine and expected. You can ignore it. wxpdk is not needed anymore (since PerlApp 7.1) I have tested ActivePerl 5.10 build 1007 Wx 0.9701 Wx::Perl::Packager 0.20 PerlApp 7.3 And all seems to work OK ? What is your version of

Re: PerlApp stopped working

2010-03-02 Thread Mark Dootson
Hi, On 02/03/2010 17:54, Jiří Pavlovský wrote: One more thing: I forgot to tell that with the ppm package from www.wxperl.co.uk I could not run my prog at all. Error was missing wxbase28u_vc_custom.dll (IIRC). That I resolved by replacing Alien-wxWidgets-gcc-0.50.4 with Alien-wxWidgets0.50.

Re: PerlApp stopped working

2010-03-02 Thread Mark Dootson
On 02/03/2010 18:52, Jan Dubois wrote: You should be able to force a package.xml update with: ppm repo sync --force wxperl Nice tip. I really ought to read the docs more often. Neither do I. Every now and then I try to figure this out, but always run out of time before I get

Re: [rt.cpan.org #53584] Another 64-bit troubles with mingw-w64 compiler

2010-03-13 Thread Mark Dootson
Hi, On 12/03/2010 08:39, kmx via RT wrote: On the other hand I have to admit that there are some strange 64bit troubles with Wx module so it wont be easy to install Padre on 64bit MS Windows anyway. Just thought I'd add a note that these are mingw-w64 related problems. There are Wx ppm's

Re: Perlapp Wxperl seg fault

2010-03-13 Thread Mark Dootson
adv from /tmp/wxppl-jeff/1284dca6865a26b07830e08b46b24aa7/libwx_gtk2u_adv-2.8.so DEBUG : Load Method = packload DEBUG : Wx Load Complete DEBUG : Loading Plugin net from /tmp/pdk-jeff-8714/libwx_baseu_net-2.8.so Segmentation fault Mark Dootson wrote: Hi, The PDK error: Can't locate Wx

Re: Perlapp Wxperl seg fault

2010-03-13 Thread Mark Dootson
it. Mark On 13/03/2010 23:05, Mark Dootson wrote: Hi, Your original woes were down to a bug in Wx-Perl-Packager. Sorry! I fixed it to work with PAR - then forgot to re-test PerlApp. To fix: Re-install Wx-Perl-Packager 0.21 from wxperl repository. (you may need to refresh the repository in PPM

Re: Perlapp Wxperl seg fault

2010-03-13 Thread Mark Dootson
. Your error about different build versions tells you that you have the wrong wxWidgets binaries. - Just saw your reply about being OK now - Regards Mark On 14/03/2010 00:54, Mark Dootson wrote: Hi, Don't rename anything. Bind the wx dlls that come with the PPM. Bind Wx.so as wxmain.so

Re: Perlapp Wxperl seg fault

2010-03-13 Thread Mark Dootson
:12, perltk wrote: Ok all is well on Linux :-) Now on to Mac.. (Looking for a cross platform standalone solution ) Thanks again Mark. Jeff Mark Dootson wrote: Hi, Don't rename anything. Bind the wx dlls that come with the PPM. Bind Wx.so as wxmain.so On 14/03/2010 00:46, perltk

Re: [rt.cpan.org #53584] Another 64-bit troubles with mingw-w64 compiler

2010-03-17 Thread Mark Dootson
Hi, Can confirm that svn source compiles on MSWin32 for following combinations, no problems appear with Wx::Demo, and code seems to package OK with PDK and Wx::Perl::Packager 0.23. Wx::ActiveX 0.15 and Wx::TreeListCtrl 0.09 also compile OK. Used to build PPMs on a 64 bit Vista machine, the

Re: installing wxPerl on Macosx 10.6 with perl 5.10.1

2010-03-21 Thread Mark Dootson
Looks like you don't have required versions of ExtUtils::XSpp and ExtUtils::ParseXS installed. On 21/03/2010 18:38, Erik Colson wrote: Hi ! Just installed perl 5.10.1 from scratch on my mac mini 32bit. Installing wxwidgets works with Alien::wxWidgets but installing Wx module fails. Any clue

Re: installing wxPerl on Macosx 10.6 with perl 5.10.1

2010-03-21 Thread Mark Dootson
-MConfig_osx Makefile.PL make make test should work for you with the Wx source. Mark On 21/03/2010 21:52, Erik Colson wrote: On 21 Mar 2010, at 22:21, Mark Dootson wrote: Looks like you don't have required versions of ExtUtils::XSpp and ExtUtils::ParseXS installed. Hi Mark, Corrected

Re: wxperl + perlapp + xrc

2010-03-25 Thread Mark Dootson
Hi, Looks like you're missing a necessary bound library. Should have: libwx_baseu-2.8.so.0 libwx_baseu_net-2.8.so.0 libwx_baseu_xml-2.8.so.0 libwx_gtk2u_adv-2.8.so.0 libwx_gtk2u_core-2.8.so.0 libwx_gtk2u_html-2.8.so.0 libwx_gtk2u_xrc-2.8.so.0 also, looking at how libraries are loaded, you

Re: wxperl + perlapp + xrc

2010-03-26 Thread Mark Dootson
Hi, The segmentation fault was cause by a bug in Wx::Perl::Packager (trying to load 'adv' from the wrong place when requested as plugin by XRC). Fixed version Wx::Perl::Packager 0.24 is available from PPM site and making its way to CPAN. A couple of things I noticed about your perlapp

Re: wxperl + perlapp + xrc

2010-03-27 Thread Mark Dootson
Hi, You need to bind xml and html libraries too --bind libwx_baseu_xml-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu_xml-2.8.so.0,extract,mode=755] --bind

Re: wxperl + perlapp + xrc

2010-03-28 Thread Mark Dootson
Hi On 28/03/2010 18:37, perltk wrote: Attached the code as well. perltk wrote: Sorry to be a pest. No luck. Still seg fault. No problem. Your error is in the binding for the 'net' component --bind libwx_baseu_net-2.8.so.0[data=,mode=755] You have not specified a source file - so nothing

Re: wxPerl-0.26-samples in Linux

2010-03-31 Thread Mark Dootson
Hi, Wx::Demo works with multiple versions of Wx and wxWidgets, so some of the demo modules may not be supported in your particular setup. Wx::HVScrolledWindow is only available in the unstable development 2.9.x versions of wxWidgets and you are no doubt using a stable 2.8.x. The error message

Re: How to add a new module to Wx

2010-04-13 Thread Mark Dootson
/RichTextPrinting.xsp +## Purpose: XS++ for Wx::RichTextPrinting +## Author: Mark Dootson +## Modified by: +## Created: 10/04/2010 +## RCS-ID: $Id:$ +## Copyright: (c) 2010 Mark Dootson +## Licence: This program is free software; you can redistribute

Re: Problem with ppm file in wxperl repository

2010-04-13 Thread Mark Dootson
Hi, which error? missing wxmsw28u_core_vc_custom.dll is a problem with the PPM installation. This error would mean you have some Wx xs module that expects to find an Alien-wxWidgets installation from ActiveState. Perl_croak_xs_usage could be an error in your script. What is the rest of

Re: Problem with ppm file in wxperl repository

2010-04-14 Thread Mark Dootson
Hi, Could you post the actual error message? Also, what is your ActivePerl build number? On 14/04/2010 17:48, Alexander wrote: I install wx from wxper.co.uk. but when i start minimal.pl from Wx samples dir i have Perl_croack_xs_usage. What i do wrong?

Re: Error while compiling from svn on WindowsXp

2010-04-14 Thread Mark Dootson
Hi, Do you have success with the latest CPAN releases - 0.9701 0r Wx-0.9701_01 ? On 14/04/2010 20:32, Alexander wrote: Error message C:\uPerl\bin\perl.exe C:\uPerl\site\lib\ExtUtils\xsubpp -noprototypes -nolinenu mbers -typemap C:\uPerl\lib\ExtUtils\typemap -typemap ..\..\typemap -typemap ty

Re: How to add a new module to Wx

2010-04-14 Thread Mark Dootson
- From: Mark Dootson [mailto:mark.doot...@znix.com] Sent: 13 April 2010 14:03 To: wxperl-users@perl.org Cc: Mattia Barbonmattia.bar...@libero.it; Steve Cookson Subject: Re: How to add a new module to Wx Hi, I thought I'd chip in with a populated template for Steve to test. However, basic testing here

Interesting Stat for PPMs

2010-04-14 Thread Mark Dootson
Hi, I changed the wxperl.co.uk repository host a couple of months ago and have been checking stats to see what uses bandwidth. Sadly, not a lot of it is wxPerl - but surprisingly on the day Perl 5.12 is released, of the 2145 separate installations of a Wx PPM over the last 41 days, 1328 have

Re: wxPython's wx.RegionFromBitmap() wxPerl equalevant

2010-04-26 Thread Mark Dootson
Hi, The wxWidgets docs give, amongst others, the following wxRegion constructors: wxRegion(const wxBitmap bmp) wxRegion(const wxBitmap bmp, const wxColour transColour, int tolerance = 0) So, my $reg = Wx::Region-new($bmp); my $reg = Wx::Region-new($bmp, $col, $tol); are the wxPerl

Re: Padre can't be installed from WxPerl repository?

2010-04-26 Thread Mark Dootson
Hi, I tested ActivePerl 1007 Padre install and it seemed to work OK. Perhaps the repository needs re-sync ppm repo sync --force wxperl ppm s Padre Regards Mark On 26/04/2010 17:17, Octavian Rasnita wrote: Hi, I've seen that Padre can't be installed under ActivePerl 5.10.1 using cpan,

Re: Padre can't be installed from WxPerl repository?

2010-04-26 Thread Mark Dootson
Hi, I think that's an issue with Padre 0.56 as installed by PPM. The command padre.bat should work. Alternatively, you could move padre.exe, padre.pl and padre.bat from ..perl\site\bin to ..\perl\bin One thing you might like to try. I think that as you will now have most of the

Re: Padre can't be installed from WxPerl repository?

2010-04-27 Thread Mark Dootson
. It gives some strange and unclear errors. -- Octavian - Original Message - From: Mark Dootson mark.doot...@znix.com To: Octavian Rasnita orasn...@gmail.com Cc: wxperl-users@perl.org Sent: Tuesday, April 27, 2010 2:32 AM Subject: Re: Padre can't be installed from WxPerl repository? Hi, I

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Mark Dootson
Hi, Wx versions 0.95 and 0.96 are 'broken' in this respect, I think. The following 'workaround' placed in code just after 'use Wx' would fix it I and account for PAR::Packager. use Wx; if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) (not exists($ENV{PAR_0}))) { *Wx::load_dll = sub { return if $^O

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Mark Dootson
Post in haste and spot the error straight away ... use Wx; if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) (not exists($ENV{PAR_0}))) { *Wx::load_dll = sub { return if $^O =~ /^darwin/i; goto $Wx::load_fun; }; } On 04/05/2010 12:06, Mark Dootson wrote: use Wx; if(($Wx::VERSION =~ /^(0\.95

ExtUtils::XSpp 0.11

2010-05-04 Thread Mark Dootson
For info, I've run a build of current wxPerl SVN using ExtUtils::XSpp 0.11 for wxMSW, wxGTK and wxMAC. It all seems to work OK. I did not have to change anything other than install ExtUtils::XSpp 0.11. (and its dependencies). Usual caveats - it is all ActivePerl with various 'workarounds'

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Mark Dootson
Hi, $load_fun is in Wx.pm and should contain a reference to Wx::_load_dll Clearly I misunderstood scoping. Perhaps the following will work by just calling Wx::_load_dll directly. use Wx; if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) (not exists($ENV{PAR_0}))) { no warnings; *Wx::load_dll = sub

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Mark Dootson
Wx would get the latest version. I'm certain this is obvious to you, but thought it would be useful to have in the thread with this heading. Mark On 04/05/2010 15:17, Johan Vromans wrote: [Quoting Mark Dootson, on May 4 2010, 15:11, in Re: Problem with wxH] Perhaps the following

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Mark Dootson
Hi, IF Padre has a problem with 0.95 / 0.96 on linux - you'd need to check that first - I'm just making a guess. But perhaps there isn't a problem. Come to think of it, if Johan can view the wxDemo example code displayed correctly in an STC window, then there probably isn't an issue with STC.

Re: RichText Printing Headers and Footers.

2010-05-06 Thread Mark Dootson
Hi, Wx::RichTextPrintout is not yet wrapped because you cannot use it from Wx::RichTextPrinting. You would have to write your own equivalent of Wx::RichTextPrinting in Perl if you wanted to access Wx::RichTextPrintout directly. If it were wrapped, you would need code something like: my

Re: wxEventObject of EVT_MENU?

2010-05-17 Thread Mark Dootson
Hi, On 16/05/2010 20:18, Gabor Szabo wrote: I can add it to the callback as it is closure but shouldn't for example the GetEventObject method of http://docs.wxwidgets.org/2.8.10/wx_wxevent.html return the MenuItem ? Intuitively you might expect so, but GetEventObject returns the

Re: side effect of -new()-SetValue()

2010-06-03 Thread Mark Dootson
Hi, In the second example, you are attempting to add the result of Wx::Choice-new($poben,-1,[-1,-1],[-1,-1],[qw(Kreuz penta hex)],1)-SetSelection(1) to the sizer - which isn't, of course, the Wx::Choice object. HTH Mark On 03/06/2010 22:34, herbert breunung wrote: hello pros, i have

Re: Top level panels/frames method

2010-06-21 Thread Mark Dootson
Hi, It is a function rather than a method my $toplevel = Wx::GetTopLevelParent( $control ); Regards Mark On 21/06/2010 23:19, perltk wrote: How can I get a reference to any toplevel dialog or frame. I'm sure this is really simple but not stumbling over it. Something like '-gettoplevel' or

Re: [rt.cpan.org #58579] Compile Wx constants without exporting Wx constants

2010-06-23 Thread Mark Dootson
I always found use Wx qw(:sizer :window :id :misc :listctrl); etc. provides just the right level of control for my needs. On 22/06/2010 12:27, Adam Kennedy via RT wrote: Tue Jun 22 07:27:02 2010: Request 58579 was acted upon. Transaction: Ticket created by ADAMK Queue: Wx

Re: [rt.cpan.org #58579] Compile Wx constants without exporting Wx constants

2010-06-23 Thread Mark Dootson
wrote: Where can one find the export tags and what symbols they import? Thanks, —Eric -Original Message- From: Mark Dootson [mailto:mark.doot...@znix.com] Sent: Wednesday, June 23, 2010 4:08 PM To: bug...@rt.cpan.org Cc: wxperl-users@perl.org Subject: Re: [rt.cpan.org #58579] Compile Wx

Re: Problem with Cava Packager

2010-08-21 Thread Mark Dootson
Hi, Cava Packager is a bit off topic for this group - but, I've checked v1.3 code, and sure enough File::Glob isn't packaged by default. (Which is an error / oversight ). You need to add it as kindly suggested by Steffen. I'm 100% sure it was included by default in a prior version. Oh well.

wxMAC - SetFrontProcess / ForeGround Application

2010-10-08 Thread Mark Dootson
Hi, The changes to Wx that allow use with the standard Perl executable on Mac have caused me a few issues. Using a syntax editor ( I use Komodo but I would guess Padre etc will have the same problems ) is now impossible as any process spawned to check syntax is brought to the front and

  1   2   3   4   >