Re: problems and Bugs? in Wx::TaskBarIcon

2011-07-02 Thread Mattia Barbon
On 23/06/11 03.05, herbert breunung wrote: Hi, its understood that you have to $win->{'tb_icon'} = Wx::TaskBarIcon->new( ); $win->{'tb_icon'}->SetIcon( Wx::GetWxPerlIcon() ); #$win->{'tb_icon'}->RemoveIcon; $win->{'tb_icon'}->Destroy; but this works only under windows, l

Re: Wx::DataObjectComposite does not ->IsSupported( wxDF_TEXT )

2011-07-02 Thread Mattia Barbon
On 25/06/11 01.42, herbert breunung wrote: Hi, despite my other reported taskbaricon bug here is another which also doesnt work in the official wxperl demo app. Works for me on OS X. It's probably a wxWidgets bug. Which platforms/wxWidgets versions are affected? Regards, Mattia

Re: Wx::App::Mastermind and other Wx based applications on CPAN

2011-07-02 Thread Mattia Barbon
On 28/06/11 22.58, Steve Cookson wrote: From: Mattia Barbon When I clicked "Run" the first time I got this: Thread 1 terminated abnormally: lock can only be used on shared values at /home/gabor/perl5/lib/perl5/Wx/Perl/Thread/Listener.pm line 36. Note: the phrase below below

Re: Wx::App::Mastermind and other Wx based applications on CPAN

2011-06-22 Thread Mattia Barbon
On 22/06/11 20.28, Gabor Szabo wrote: Hi, So I was hunting for applications on CPAN and I found Wx::App::Mastermind It is a very simple implementation of the famous Mastermind game. I understand it was built to showcase the threading in Wx but if improved it can be also included in one of

Re: [rt.cpan.org #68626] Wx::Button::GetDefaultSize

2011-06-03 Thread Mattia Barbon via RT
Fri Jun 03 17:30:42 2011: Request 68626 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #68626] Wx::Button::GetDefaultSize Broken in: 0.99 Severity: (no value) Owner: Nobody Requestors: mdoot...@cpan.org

Re: Changes to wxAuiNotebook (currently causing grief to Padre development)

2011-05-31 Thread Mattia Barbon
On 31/05/11 15.06, Mark Dootson wrote: I think that this means wxAuiNotebook is broken in 2.8.11 / 2.8.12 so will propose a change on wxWidgets trac. Even if this change is accepted, wxWidgets 2.8.13 will be some way off. Should we incorporate a patch into Alien::wxWidgets ? I think as a ge

Re: wiki url

2011-05-02 Thread Mattia Barbon
On 24/04/11 11.22, herbert breunung wrote: hello matia please change the url on http://wxperl.eu/ and http://wxperl.eu/documentation.html to the wiki to http://wiki.wxperl.info Sorry for the delay! Changed. Regards, Mattia

Re: mouse event question

2011-04-09 Thread Mattia Barbon
On 09/04/11 11.46, Robin Cragg wrote: Hi, i have a follow up thought on Bruce's question. The API docs say that wxStaticText inherits from wxEvtHandler. From what I understand of the C API, that means it should be able to handle events. That makes me think that the Linux version is working

Re: Compiling with 2.9.1 on Mac OS X

2011-03-26 Thread Mattia Barbon
On 25/03/11 10.24, Mark Dootson wrote: Hi, I've used up all my tuits messing around with 64 bit wxWidgets 2.9.1 on Mac OS X Snow Leopard - but failed miserably. Both apparently hang during 4th test group. But, all you have to do is interact with the system anywhere - e.g. move the mouse

Re: Wrapping wxVListBox

2011-03-19 Thread Mattia Barbon
On 18/03/11 10.40, Mark Dootson wrote: Hi, Thought I'd rework and get it right I think. > New patch attached implements option 2 as intended. Existing m_self used if available; Also, implemented wxPli_create_virtual_evthandler which takes an extra param - bool forcevirtual If I read

[rt.cpan.org #66723] Can't build on OS X

2011-03-19 Thread Mattia Barbon via RT
Sat Mar 19 07:02:15 2011: Request 66723 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Can't build on OS X Broken in: 0.98 Severity: Normal Owner: Nobody Requestors: mschw...@cpan.org Status: open Ticket https://rt.cpan.org/Ticket/

Re: EVT_CHAR needs to be defined for every control?

2011-03-17 Thread Mattia Barbon
On 17/03/11 20.34, Octavian Rasnita wrote: Hi, I thought that if I define an EVT_CHAR event handler for a form is enough, and that event will appear each time a key is pressed, no matter which control on that form has the focus: But if there are some controls on the form and one of the

Re: Wx::CheckListBox

2011-03-17 Thread Mattia Barbon
On 15/03/11 22.38, Bruce Ravel wrote: Hi, I don't understand why appending items with client data to a CheckListBox does not work on Windows. This script: It's a wxWidgets limitation: it uses the same Win32 client data slot in wxListBox to store client data, in wxCheckListBox to store t

[rt.cpan.org #66648] Wx::ColourPickerCtrl does not support null colours

2011-03-16 Thread Mattia Barbon via RT
Wed Mar 16 18:07:34 2011: Request 66648 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Wx::ColourPickerCtrl does not support null colours Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ad...@cpan.org Status: ne

Re: Wrapping wxVListBox

2011-03-15 Thread Mattia Barbon
On 15/03/11 13.56, Mark Dootson wrote: Hi, I attempted to wrap the missing callbacks in wxVListBox and came across the following issues. I've explained at length as info may be useful for someone else like me trying to understand how to help with wxPerl. An illustrative snippet of my code i

Re: Image in Wx::Button does not seem to be implemented in WxPerl yet

2011-03-13 Thread Mattia Barbon
On 18/02/11 23.41, Stephen Brickles wrote: Does anyone know if the missing functions from 2.9.1 are planned to be implemented in an upcoming release of the Wx perl module ? I just committed them (only tested in the demo, but they should work). I'd really like to be able to utilize both ima

Re: Latest ExtUtils::XSpp and SVN

2011-03-13 Thread Mattia Barbon
On 12/03/11 21.27, Mattia Barbon wrote: On 12/03/11 16.51, Mark Dootson wrote: Hi, I know the problem is that build::Wx::XSP::Virtual is getting two definitions for IsEmptyCell, but I can't quite figure out where in ExtUtils::XSpp this is broken. This is the expected behaviour (EU:

Support for old wxWidgets versions

2011-03-13 Thread Mattia Barbon
Hi, current wxPerl releases should support wxWidgets versions as far back as 2.5.3 (the version that has been included in OS X Tiger). I don't think there is any need to maintain compatibility with 2.5.3 and 2.6.x for newer releases; what do others think? Regards, Mattia

Re: Latest ExtUtils::XSpp and SVN

2011-03-12 Thread Mattia Barbon
On 12/03/11 16.51, Mark Dootson wrote: Hi, I've been trying to get the latest gridtable updates in SVN to compile against wxWidgets 2.8 branch. I'm really, really sorry; I forgot to test with 2.8 before committing. I have a problem with parsing of wxGridTableBase::IsEmptyCell in 2.8 b

Re: Folding Marker got invisible

2011-03-06 Thread Mattia Barbon
On 06/03/11 18.37, herbert breunung wrote: Am 06.03.2011 16:04, schrieb Mattia Barbon: On 02/12/10 11.55, herbert breunung wrote: so it seems to be an issue of current wx libs, the constants that make trouble are most of these: &Wx::wxSTC_MARKNUM_FOLDER, &Wx::wxSTC_MARK

Re: Folding Marker got invisible

2011-03-06 Thread Mattia Barbon
On 02/12/10 11.55, herbert breunung wrote: so it seems to be an issue of current wx libs, the constants that make trouble are most of these: &Wx::wxSTC_MARKNUM_FOLDER, &Wx::wxSTC_MARK_BOXPLUS, wxSTC_MARKNUM_FOLDEREND, &Wx::wxSTC_MARK_BOXPLUSCONNECTED, wxSTC_MARKNUM_FOLDEROPEN, &Wx::wxSTC_MARK_B

Re: Wx::Gauge in status bar

2011-02-21 Thread Mattia Barbon
On 20/02/11 16.53, Octavian Rasnita wrote: Hi, I have a status bar with 2 fields and I want to add a Wx::Gauge progress bar in the second field after pressing a button (in the click event of that button). I have read that "It is possible to create controls and other windows on the status ba

Re: Linking Problems Wx Perl

2011-02-20 Thread Mattia Barbon
On 14/02/11 21.53, John Towers wrote: Hi, sorry for the delay; I wanted to try a full build before answering, and I lost some time by not following my own build instructions... I apologize for being such a bother, but the link problems remain. Since this process is usually so painful, I ty

Re: [rt.cpan.org #65881] Export wxMemory{In,Out}putStream

2011-02-19 Thread Mattia Barbon via RT
Sat Feb 19 05:39:40 2011: Request 65881 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #65881] Export wxMemory{In,Out}putStream Broken in: 0.98 Severity: Wishlist Owner: Nobody Requestors: dol...@cpan.org

Re: [rt.cpan.org #65881] Export wxMemory{In,Out}putStream

2011-02-19 Thread Mattia Barbon
On 18/02/11 21.47, Mark Dootson wrote: Hi, Untested, but you may like to give the following a try my $jpegdata = open my $file, '<', \$jpegdata; my $handler = Wx::JPEGHandler->new(); my $image = Wx::Image->new(); $handler->LoadFile( $image, $file ); The code above should work; using

Announcing Mac::QuickBundle

2011-02-15 Thread Mattia Barbon
Hi, Mac::QuickBundle is a thin wrapper around Module::ScanDeps and PerlWrapper and can be used to automate the creation of self-contained application bundles on Mac OS X. For those interested: https://github.com/mbarbon/mac-quickbundle It works for me (it's missing support for Universal

Re: Wx::PLGridTable and GetAttr

2011-02-13 Thread Mattia Barbon
On 07/02/11 21.44, Brian Jones wrote: Hi, sorry for the delay in answering I have a large data set that I wanted represented on a Wx::Grid control using the Wx::PlGridTable as the interface between the table and the data objects. I've overloaded the GetAttr function for my table since I ha

Re: Modal frame?

2010-11-30 Thread Mattia Barbon
On 30/11/10 10.45, Octavian Rasnita wrote: Hi, I have created a frame with WxPerl and I want to open it as a modal window. Is it possible with WxPerl? Can I open it somehow as a dialog window that can be opened in modal mode? For it to be really modal, it must derive from wxDialog; you

Re: Alien::wxWidgets Wx and Padre

2010-11-28 Thread Mattia Barbon
On 24/11/10 06.17, Jonathan Otsuka wrote: On Nov 23, 2010, at 3:04 PM, Mattia Barbon wrote: On 16/11/10 21.56, Jonathan Otsuka wrote: I am trying to get Alien::wxWidgets to install manually by following installing _and_ upgrading wxWidgets and wxPerl steps found on http://padre.perlide.org

Re: Alien::wxWidgets Wx and Padre

2010-11-23 Thread Mattia Barbon
On 16/11/10 21.56, Jonathan Otsuka wrote: I am trying to get Alien::wxWidgets to install manually by following installing _and_ upgrading wxWidgets and wxPerl steps found on http://padre.perlide.org/trac/wiki/DownloadMacOSX: > http://paste.scsys.co.uk/56269 Which wxWidgets version did you

Re: [rt.cpan.org #62416] Bug-Report Wx-0.98

2010-10-26 Thread Mattia Barbon via RT
Tue Oct 26 17:46:49 2010: Request 62416 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #62416] Bug-Report Wx-0.98 Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: k...@wanadoo.fr

Re: wxMAC - SetFrontProcess / ForeGround Application

2010-10-24 Thread Mattia Barbon
Mattia Barbon wrote: Mark Dootson wrote: Hi, The question is, is it just me that finds this an issue and would everybody else prefer SetFrontProcess to happen automatically as it does in Wx 0.98? I'm of two minds about this; on the one hand I'd prefer it optional, on the ot

Re: BoxSizer problem

2010-10-24 Thread Mattia Barbon
Lioz Cohn wrote: Hi, I hope you managed to find the cause of your problem since posting... if not (and for those interested): I have a wizard with a page + panel As can be seen from the attached picture the combo box and the check Box are corrupted.

Re: wxMAC - SetFrontProcess / ForeGround Application

2010-10-24 Thread Mattia Barbon
Mark Dootson wrote: Hi, The question is, is it just me that finds this an issue and would everybody else prefer SetFrontProcess to happen automatically as it does in Wx 0.98? I'm of two minds about this; on the one hand I'd prefer it optional, on the other hand I chose to make it mandat

Re: Wx;:Event::GetTimestamp

2010-10-24 Thread Mattia Barbon
Johan Vromans wrote: It seems that Wx;:Event::GetTimestamp always returns zero. Isn't it supposed to return some value? It's a value that must be explicitly set by the wxWidgets code that creates the event so, like GetEventObject, it isn't always set for all events or for all platforms. R

Re: missing EVT_MOVE_START and EVT_MOVE_END

2010-09-19 Thread Mattia Barbon
herbert breunung wrote: both are listed in Wx_Exp.pm, importing is fine, but using them throws error. a bug or just me overlooked something? It's only available with wxWidgets 2.9.x. Regards, Mattia

Re: catching signals with wxPerl

2010-09-16 Thread Mattia Barbon
Jim Clark wrote: I am hoping someone on this list can answer this question. I have notice that during certain situations signal handlers I set up are ignored in my wxPerl application. Especially while modal dialogs are open. For example, I fork() a process to run a subroutine asynchronously, s

Re: Are these cursor functions wrapped

2010-09-07 Thread Mattia Barbon
Johan Vromans wrote: Does anyone know if these cursor functions are wrapped: ::SetSystemCursor (Windoes only?) Seems the Win32 API call, not a wxWidgets function. ::wxSetCursor Committed. wxCursor::DisableCursor This does not seem to exist in wxWidgets (checked both 2.8

Re: Wx::Window::Navigate supported by WxPerl?

2010-09-07 Thread Mattia Barbon
Zeno Gantner wrote: Hi, is the Navigate method of the Wx::Window class supported by WxPerl? When I try things like $button->Navigate(1), I get the following error message: Can't locate object method "Navigate" via package "Wx::Button" at /mnt/data/src/padre/Padre/lib/Padre/Wx/Dialog/Replace.

Re: Wx::DateTime bug?

2010-08-30 Thread Mattia Barbon
Eric J. Roode wrote: I can barely read XS, so I don't know whether this is a bug in Wx::DateTime or the underlying wxDateTime. It's a bug in the wxPerl wrapper for Set() method (and all of its overloads). No other wxDateTime methods are affected by this bug. As you can see, the Set() met

Re: Are these cursor functions wrapped

2010-08-30 Thread Mattia Barbon
Johan Vromans wrote: Does anyone know if these cursor functions are wrapped: ::SetSystemCursor (Windoes only?) ::wxSetCursor wxCursor::DisableCursor None of these has been wrapped yet. Regards, Mattia

Re: compiling with 5.12.1 on mac 64bit

2010-08-30 Thread Mattia Barbon
Erik Colson wrote: Hi, After some time I finally moved to perl 5.12.1. (you'll find the perl -V report at the bottom of this post) I compiled perl in 32 bit and installed Alien:wxWidgets successfully by letting the module download and compile wxWidgets by itself (2.8.10). However building

Re: Migrating modules.

2010-08-21 Thread Mattia Barbon
Steve Cookson wrote: Hi, How should I update the documentation on wxWidgets? You know the bits which say "wxPerl note: This method is not implemented in wxPerl". It's automatically generated, so it does not need manual intervention. Regards, Mattia

Re: Migrating modules.

2010-08-20 Thread Mattia Barbon
steve.cook...@sca-uk.com wrote: Hi, Well I've wrapped the wxRichTextPrintout modules and they seem to work. Do you want to include them in the main wxPerl distribution? If so, how will you determine if the quality is OK and they are bug-free? It depends. Apart from basic unit testing

Re: Wrapping an inherited object

2010-08-19 Thread Mattia Barbon
Steve Cookson wrote: Well, the wrapping seems to be taking effect. I have some issues which may not matter which way they go as the code seems to work so far, but I feel I should check. In NewClass.pod it says the constructor should have: %name(Wx::NewClass) class wxNewClass : public wxSomeB

[Fwd: CPAN Upload: M/MB/MBARBON/Wx-0.98.tar.gz]

2010-08-18 Thread Mattia Barbon
+0200 Message-Id: <201008181840.o7iieuhs022...@pause.fiz-chemie.de> Subject: CPAN Upload: M/MB/MBARBON/Wx-0.98.tar.gz To: Mattia Barbon From: PAUSE The uploaded file Wx-0.98.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MB/MBARBON/Wx-0.98.tar.gz size: 389859 bytes

Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set

2010-08-15 Thread Mattia Barbon via RT
Sun Aug 15 13:15:30 2010: Request 59916 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set Broken in: 0.9701, 0.9702 Severity: Critical Owner: Nobody Req

Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set

2010-08-15 Thread Mattia Barbon
Jens Rehsack via RT wrote: Hi, On Thu Aug 12 16:53:02 2010, mattia.bar...@libero.it wrote: Jens Rehsack via RT wrote: Hi, On Sun Aug 01 06:35:07 2010, mattia.bar...@libero.it wrote: Jens Rehsack via RT wrote: Hi, I've seen RT#41716 - and this RT is more or less the same report w

Re: Wrapping modules

2010-08-15 Thread Mattia Barbon
Steve Cookson wrote: Hi, Thanks for this. In fact I did update ExtUtils::XSpp before I started, but I'll await your update. Glad to know it's in progress. Committed now, you will need ExtUtils::XSpp 0.15 for it to compile. I don't think I wasted my time, I did spend time examining the

Re: Wrapping modules

2010-08-14 Thread Mattia Barbon
Steve Cookson wrote: Hi, Mattia Barbon wrote: I haven't looked at the files, but you must always re-run the top-level Makefile.PL, not the ones in subdirectories. Ran again and seemed to go very well until near the end when it all went wrong. Dump follows: insight we

Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set

2010-08-12 Thread Mattia Barbon via RT
Thu Aug 12 16:53:02 2010: Request 59916 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set Broken in: 0.9701, 0.9702 Severity: Critical Owner: Nobody Req

Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set

2010-08-12 Thread Mattia Barbon
Jens Rehsack via RT wrote: Hi, On Sun Aug 01 06:35:07 2010, mattia.bar...@libero.it wrote: Jens Rehsack via RT wrote: Hi, I've seen RT#41716 - and this RT is more or less the same report with another background. We (pkgsrc) package some perl modules using Wx - at least Padre and some

Re: Suppressing Error message from wxWidgets on locale change?

2010-08-12 Thread Mattia Barbon
Peter Lavender wrote: Hi, I asked about the locale matter before and you were able to confirm that it's wxWidgets that is outputting this message - seen here in out of the tests for Padre: t/15-locale.t .. 1/7 09:15:23: Error: Cannot set locale to 'de_DE' The issue is that on m

Re: Problem installing Wx

2010-08-11 Thread Mattia Barbon
Laslo Forro wrote: Found at /home/salmonix/perl5/lib/perl5/x86_64-linux-thread-multi/Alien/wxWidgets/Config - attached. I think (hope...) the problem is a misuse of install_base/prefix. The supported way is: $ perl Build.PL --install_base /home/foo $ ./Build $ ./Build install Using dest

Re: Interfacing SDL Perl and WxPerl

2010-08-11 Thread Mattia Barbon
Kartik Thakore wrote: Hi, I am attempting to make a Padre::Plugin::SDL. The idea is you can write SDL commands and the surface is drawn in a WxDCBuffer. Before I get to this I am attempting to make a simple WxPerl and SDLPerl application. I am following this tutorial. http://code.technoplaza.

Re: Questions about XS, C++ and Perl.

2010-08-10 Thread Mattia Barbon
Ryan Dietrich wrote: Exceptions were a piece of cake (Thanks!)... Multiple objects isn't going too well thus far. 1. Since you specifically state that you have to use the "OBJECTS" parameter, does this mean using MYEXTLIB and targeting a shared library is out of the question? OBJECTS lis

Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Mattia Barbon
Eric J. Roode wrote: Hello all, I am attempting to install WxPerl on a new Ubuntu 10.04 (32-bit, desktop) system. All of the prerequisite packages (including Alien::wxWidgets) install fine, but the Wx package itself gets this link error: LD_RUN_PATH="/lib:/usr/lib:/usr/local/lib/perl5/sit

Re: Problem installing Wx

2010-08-08 Thread Mattia Barbon
Laslo Forro wrote: Gladly, but I can not find the Alien::wxWidgets::Config::gtk2_2_8_10_uni_gcc_3_4 module only the log. It must be there somewhere, and I need its contents to try to help you. Regards, Mattia

Re: Subclassing an empty class?

2010-08-08 Thread Mattia Barbon
Octavian Rasnita wrote: Hi, Thank you for this solution. It works. However, I just found a bug in another program I made that was caused by re-blessing an object and I am afraid that this re-blessing might cause problems in the future and I might need to redesign the app. Could you ela

Re: Subclassing an empty class?

2010-08-07 Thread Mattia Barbon
Octavian Rasnita wrote: Hi, Is it possible to subclass some empty classes like Wx::TextAttr? Some classes are tricky to subclass, but not because they are empty. I have also tried to use Wx: package Style; use Wx; use base 'Wx::TextAttr'; In this case it doesn't tell that Wx::TextAttr

Re: Questions about XS, C++ and Perl.

2010-08-07 Thread Mattia Barbon
Ryan Dietrich wrote: Hi, Greetings, I've been studying how to interface C++ and Perl using XS. I was aware of this project, and saw that it is doing things that are currently beyond my skillset. I was hoping I could get a few answers. 1. What is the general approach of handling exceptions?

Re: installing on OSX 10.6

2010-08-05 Thread Mattia Barbon
Adam Witney wrote: This is wrong on many levels... first Wx.bundle should link to the dynamic wxWidgets libs; since it does not, either you are linking to the static libs (unsupported) or the not linking at all to the wxWidgets libraries (which can't work). If you have the static wxWidgets

Re: installing on OSX 10.6

2010-08-05 Thread Mattia Barbon
Adam Witney wrote: Hi Mattia, here are the outputs: $ file /Users/adam//arch/auto/Wx/Wx.bundle $ otool -L /Users/adam//arch/auto/Wx/Wx.bundle $ file /Users/adam/.cpan/build/Wx-0.9702-JGOpZU/blib/arch/auto/Wx/Wx.bundle /Users/adam/.cpan/build/Wx-0.9702-JGOpZU/blib/arch/auto/Wx/Wx.bundle: Mach

Re: Problem installing Wx

2010-08-05 Thread Mattia Barbon
you post the installation log for Alien::wxWidgets, and the contents of the Alien::wxWidgets::Config::gtk2_2_8_10_uni_gcc_3_4 module created by the installation? Thanks, Mattia Bests, Laslo On Tue, Aug 3, 2010 at 6:33 PM, Mattia Barbon <mailto:mattia.bar...@libero.it>> wrote: L

Re: How to access a Wx::App object property in a Wx::Frame

2010-08-05 Thread Mattia Barbon
Octavian Rasnita wrote: Hi, Please tell me how can I access the properties of the Wx::App object in the subroutine which initializes that object. Is it absolutely necessary to use global variables? (Because I couldn't find another solution.) I did: use MyApp; my $app = MyApp->new; $app->{

Re: installing on OSX 10.6

2010-08-05 Thread Mattia Barbon
Adam Witney wrote: On 4 Aug 2010, at 16:01, Mattia Barbon wrote: Adam Witney wrote: Hi, I am trying to install wxWidgets and wxPerl on OSX 10.6. There are lots of notes online about different ways (32 bit, 64 bit, wxWidgets 2.8.11, 2.9.1 etc) to get it running, but none have yet been

Re: Unicode problems - A step in the right direction - A bit more Help please

2010-08-05 Thread Mattia Barbon
perltk wrote:UTF- Hi, Then I read the file and put in textctrl& listbox and it looked good. Also print to STDOUT correctly - AND I did NOT have to use the 'perl -C' or :utf8 encoding for things to work. So I guess it is the strings that are being bad. BUT how come the bad data show correct

Re: installing on OSX 10.6

2010-08-04 Thread Mattia Barbon
Adam Witney wrote: Hi, I am trying to install wxWidgets and wxPerl on OSX 10.6. There are lots of notes online about different ways (32 bit, 64 bit, wxWidgets 2.8.11, 2.9.1 etc) to get it running, but none have yet been successful for me. I was wondering which method people have found to b

Re: MDI broken

2010-08-04 Thread Mattia Barbon
herbert breunung wrote: Sorry, forgot to answer... the MDI - Wx::Demo is completely broken but I can't make it better with own samples. bugs here? There is the same problem in the wxWidgets MDI demo; FWIW it is not wxPerl-specific. still there: Couldn't require Wx::DemoModules::wxHea

Re: Unicode problems - euro characters not displaying in widgets ???

2010-08-04 Thread Mattia Barbon
perltk wrote: I have an app that is reading from a database. Some of the names include unicode characters: Heres are some print statement output when running app: > perl uwi_flip.pl Well ==> HENW_Letebr?nner >perl -C uwi_flip.pl Well ==> HENW_Letebrønner Any names wit

Re: Problem installing Wx

2010-08-03 Thread Mattia Barbon
Laslo Forro wrote: The new error log attached in case it helps. Unfortunately it only shows the same problem as the first log: A::wx points to a non-existent installation of wxWidgets. Could you post here the output of: $ perl -MAlien::wxWidgets=:dump -e 42 $ wx-config --version $ wx-con

Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set

2010-08-01 Thread Mattia Barbon via RT
Sun Aug 01 06:35:07 2010: Request 59916 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #59916] Wx makes perl dumping core when no DISPLAY set Broken in: 0.9701, 0.9702 Severity: Critical Owner: Nobody Req

Re: Problem installing Wx

2010-08-01 Thread Mattia Barbon
Laslo Forro wrote: No, nothing like gtk_xxx under .../wxWidgets/ path. wxWidgets is installed as written here: http://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo Then that's the problem; I have no idea how you managed it, but it seems your Alien::wxWidgets version uses the wr

Re: no wxAPPLY ?

2010-07-28 Thread Mattia Barbon
herbert breunung wrote: im using lates Wx and get Error while autoloading 'Wx::wxAPPLY' at panel0.pl line 140 when usind this constant that is in the docs. bug or purpose? Unless you are using wxWidgets 2.9.x, purpose. Regards, Mattia

Re: looking for radio button simple example

2010-07-25 Thread Mattia Barbon
Lioz Cohn wrote: Hi, have you looked at the one in the Wx::Demo? Regards, Mattia

Re: packaging Wx::Perl app including Macs special "wxperl" binary

2010-07-22 Thread Mattia Barbon
ademmler wrote: Hi, thx for the info. As far as I understand i need the newest relase. I am trying to install this one I get an error regarding STC : Writing Makefile for Wx::Grid ERROR from evaluation of /Users/ademmler/.cpan/build/Wx-0.9702-CiWd5o/ext/Makefile.PL: ERROR from evaluation

Re: changing locales in a Wx App

2010-07-22 Thread Mattia Barbon
Peter Lavender wrote: Hi, 15:47:08: Error: Cannot set locale to 'de_DE'. This gets written out 20 times ( possibly linked to the number of components doing relocale stuff - I really don't know ). I'm not sure where this is happening, ie, if it's a Wx output, or a Padre output, grepping for

Re: Problem installing Wx

2010-07-20 Thread Mattia Barbon
Laslo Forro wrote: Hi there, I am trying to install Wx via Cpanplus in a local lib. I receive errors when compiling Wx::RichText. A fragment of the errors: It seems wxPerl is not finding wxWidgets' headers; is there anything installed in /usr/lib64/perl5/site_perl/5.10.1/x86_64-linux-threa

Re: packaging Wx::Perl app including Macs special "wxperl" binary

2010-07-20 Thread Mattia Barbon
Octavian Rasnita wrote: If I remember well, this issue was solved with some changes in WxPerl package and WxPerl should also work now with the standard Perl distribution under Mac. Did I understand wrong? Correct; this change will be in the next stable release. Regards, Mattia - Origi

Re: WxTreeCtrl bug

2010-07-08 Thread Mattia Barbon
herbert breunung wrote: i couldn't produce a trivial sample to reproduce but in my app I get a panic: sv_upgrade to unknown type 18670848 at lib/Wx/Docular.pm line 63. when $treectrl->GetCount is called by Wx::Event::EVT_TREE_SEL_CHANGED with wxTR_HIDE_ROOT|wxTR_HAS_BUTTONS|wxTR_SINGLE the pro

[rt.cpan.org #59092] wxPerl should not be required on Mac OS X 10.3 and later

2010-07-08 Thread Mattia Barbon via RT
Wed Jul 07 07:49:05 2010: Request 59092 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: wxPerl should not be required on Mac OS X 10.3 and later Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: mack...@gmail.com S

Re: announcing Wx::Okular

2010-07-07 Thread Mattia Barbon
herbert breunung wrote: Hi, mattia: i hope the name is namespace wise allright with you, since i attempt to publish it at cpan Ok as far as I am concerned (but you risk being confused with the Okular from okular.kde.org). Regards, Mattia

Re: hello mattia

2010-07-07 Thread Mattia Barbon
herbert breunung wrote: i was shure i saw some m4 files in the sources. anyway do you really write all the xs code my hand or do you have a script to parse header files? By hand (with XS++ most of the code is cut'n'pasted from the headers, but there is always need of some manual tweaks. m

Re: [rt.cpan.org #59092] wxPerl should not be required on Mac OS X 10.3 and later

2010-07-06 Thread Mattia Barbon via RT
Tue Jul 06 04:16:34 2010: Request 59092 was acted upon. Transaction: Correspondence added by mattia.bar...@libero.it Queue: Wx Subject: Re: [rt.cpan.org #59092] wxPerl should not be required on Mac OS X 10.3 and later Broken in: (no value) Severity: (no value) Owner: Nobo

Re: hello mattia

2010-07-04 Thread Mattia Barbon
herbert breunung wrote: Hi, i currently plan to write a class browser for wxperl. therefor i want to store the data in some sort of yaml so that other websites(js programm) can use that. i saw that you use M4 macros to generate API-code for wxperl. would it be possible to write a doc generato

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

2010-06-24 Thread Mattia Barbon via RT
Wed Jun 23 16:26:23 2010: Request 58579 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Compile Wx constants without exporting Wx constants Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ad...@cpan.org Status: o

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

2010-06-24 Thread Mattia Barbon via RT
Wed Jun 23 16:46:36 2010: Request 58579 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Compile Wx constants without exporting Wx constants Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ad...@cpan.org Status: o

Re: Alternative event handling

2010-06-20 Thread Mattia Barbon
Pushed on GitHub: http://github.com/mbarbon/wx-perl-pubsub Mattia Barbon wrote: Eric Wilhelm wrote: # from Mattia Barbon # on Sunday 13 June 2010 01:28: subscribe( $sender, 'SignalName', $object, 'MethodName' ); subscribe( $sender, 'SignalName

[rt.cpan.org #58392] Wx install fails on fresh 5.12.1 on OSX 10.6

2010-06-20 Thread Mattia Barbon via RT
Sat Jun 19 12:41:33 2010: Request 58392 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Wx install fails on fresh 5.12.1 on OSX 10.6 Broken in: 0.9702 Severity: Critical Owner: Nobody Requestors: clsc...@cpan.org Status: new Ticket

Re: Alternative event handling

2010-06-15 Thread Mattia Barbon
Eric Wilhelm wrote: # from Mattia Barbon # on Sunday 13 June 2010 01:28: subscribe( $sender, 'SignalName', $object, 'MethodName' ); subscribe( $sender, 'SignalName', \&_function ); Could this be a method? $sender->subscri

Alternative event handling

2010-06-13 Thread Mattia Barbon
Hi, I am going to release a module implementing an alternative event handling mechanism for wxPerl; it's inspired to Qt signal/slots. The module implements a publish/subscribe model for events, and is built on top of wxPerl event handling. Advantages compared to wxPerl event model: - t

Re: No SetFocusIgnoringChildren in Wx::Panel

2010-06-07 Thread Mattia Barbon
herbert breunung wrote: Hi, got Can't locate object method "SetFocusChildren" via package "Wx::Panel" at panel.pl line 26. but in documentation is should be there Maybe you mean SetFocusIgnoringChildren? I can'find SetFocusChildren neither in documentation nor in wxWidgets' headers.

Re: Wrapping wxRichTextPrintout

2010-06-07 Thread Mattia Barbon
Steve Cookson wrote: Hi, I'm beginning to think maybe I've misunderstood the point of virtual functions and wrapping wxRichTextPrintout. I'm trying to put a bitmap header and footer onto each page 1 has a different page number from other pages, so I thought if I wrapped wxRichTextPrintout

Re: Wrapping modules

2010-06-03 Thread Mattia Barbon
Steve Cookson wrote: Hi Mattia, Well here it is. I'm running under Kubuntu 9.10. In the end I decided just to add the printout class to Mark's existing work on RTPrinting and I hi-jacked RichTextPrinting.xsp. I update the constructor from the line in RichTextPrint.h and also copied the method

Re: Wrapping modules - UPDATE, please ignore last post).

2010-05-30 Thread Mattia Barbon
Steve Cookson wrote: Hi, There is a partial guide in lib/Wx/NewClass.pod (waiting for your feedback to be improved ;-) Well first of all, after having put this off for a long time, I've taken the plunge. So I'm starting to give this NewClass.pod some attention by trying to wrap wxRichText

[rt.cpan.org #57757] Failure in Any_wx_config_Bakefile.pm on OSX w/ wx 5.8.11

2010-05-25 Thread Mattia Barbon via RT
Mon May 24 16:56:10 2010: Request 57757 was acted upon. Transaction: Correspondence added by MBARBON Queue: Alien-wxWidgets Subject: Failure in Any_wx_config_Bakefile.pm on OSX w/ wx 5.8.11 Broken in: 0.51 Severity: Critical Owner: Nobody Requestors: clsc...@cpan.org

[rt.cpan.org #57395] Possible in detection of wxWidgets library directory detection

2010-05-16 Thread Mattia Barbon via RT
Sun May 16 09:08:26 2010: Request 57395 was acted upon. Transaction: Correspondence added by MBARBON Queue: Alien-wxWidgets Subject: Possible in detection of wxWidgets library directory detection Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: sgpa..

[rt.cpan.org #55009] Download error 500 with proxy -> upgrade embedded File::Fetch

2010-05-16 Thread Mattia Barbon via RT
Sun May 16 09:10:02 2010: Request 55009 was acted upon. Transaction: Correspondence added by MBARBON Queue: Alien-wxWidgets Subject: Download error 500 with proxy -> upgrade embedded File::Fetch Broken in: 0.50 Severity: Critical Owner: Nobody Requestors: dol...@cpan.org

[rt.cpan.org #43242] Can not build with VC9 (VS2008) on Vista & ActivePerl 5.10.0.1004

2010-05-16 Thread Mattia Barbon via RT
Sun May 16 09:08:47 2010: Request 43242 was acted upon. Transaction: Correspondence added by MBARBON Queue: Wx Subject: Can not build with VC9 (VS2008) on Vista & ActivePerl 5.10.0.1004 Broken in: 0.89 Severity: Critical Owner: Nobody Requestors: bu...@cpan.org Sta

Re: Redhat 5 install problam

2010-05-16 Thread Mattia Barbon
Lioz Cohn wrote: Hi, I tried to install Wx module on my RedHat 5 Virtual Machine and got the error massage bellow: I assume this was 0.9702 from CPAN? Could you try to run: make distclean and then run the build procedure again, and post here the full build log? Thanks! Mattia

  1   2   3   4   5   >