Re: Any way of returning the actual individual control name

2009-08-17 Thread Johan Vromans
James McDonald writes: > My ownly reason now is: Just like Mount Everest - Because it's there. I assume you write programs in Intercal and Brainfuck as well :) > No real reason now I know how to identify my controls through GetId and > GetLabel. GetID is preferred since it is always fixed to t

Re: Any way of returning the actual individual control name

2009-08-17 Thread Johan Vromans
James McDonald writes: > $self->{button_1} = Wx::Button->new($self, $KEY1, "1"); > > OK I have figured out how to: > get hold of the button object using $event->GetEventObject() > define a constant and return it using $event->GetEventObject()->GetId > > Is there any way of returnin

Re: http://wxperl.pvoice.org/

2009-08-17 Thread Gabor Szabo
On Tue, Aug 18, 2009 at 4:16 AM, Steve Cookson wrote: > Hi James, > > I use Komodo 5.1. > > This recommends OptiPerl, http://www.perlmonks.org/?node_id=397492, which > I've not tried. > > I started a discussion here http://www.perlmonks.org/?node_id=787957 > about a week ago to see if people had ot

RE: http://wxperl.pvoice.org/

2009-08-17 Thread Steve Cookson
Sorry, should have said: http://www.activestate.com/pdf/datasheet_komodo_5-1.pdf Regards Steve -Original Message- From: James McDonald [mailto:ja...@jamesmcdonald.id.au] Sent: 17 August 2009 19:27 To: Steve Cookson Subject: Re: http://wxperl.pvoice.org/ Steve Cookson wrote: > Tha

RE: http://wxperl.pvoice.org/

2009-08-17 Thread Steve Cookson
Hi James, I use Komodo 5.1. This recommends OptiPerl, http://www.perlmonks.org/?node_id=397492, which I've not tried. I started a discussion here http://www.perlmonks.org/?node_id=787957 about a week ago to see if people had other ideas, but Komodo still seems to be pulling in the crowds. It

Freeze() 'n' Thaw()

2009-08-17 Thread Steve Cookson
Hi, When I load a new item, I have a number of tabs being filled in one pass. Maybe 60 controls for each tab (including plain text labels) and maybe 10 tabs. It takes a few seconds, during which time the screen is permanently being refreshed. I wondered if I could use Freeze() and Thaw() to a)

Any way of returning the actual individual control name

2009-08-17 Thread James McDonald
$self->{button_1} = Wx::Button->new($self, $KEY1, "1"); OK I have figured out how to: get hold of the button object using $event->GetEventObject() define a constant and return it using $event->GetEventObject()->GetId Is there any way of returning the "button_1" name programatic

Re: AdvanceSelection missing in Wx::AuiNotebook

2009-08-17 Thread Mattia Barbon
Karl Forner wrote: did it with exact same results. Sorry, I meant to add "and post the _full_ dmake output". Regards, Mattia By the way, Mattia, have you read my first mail ? What do you think about that #if WXPERL_W_VERSION_GE( 2, 9, 0 ) in AuiNotebook.xsp ? Sure; see the other ma

Re: AdvanceSelection missing in Wx::AuiNotebook

2009-08-17 Thread Mattia Barbon
Karl Forner wrote: On Sun, Aug 16, 2009 at 12:05 PM, Steffen Mueller wrote: Hi Karl, Karl Forner wrote: From the AuiNotebook.xsp file, I see: #if WXPERL_W_VERSION_GE( 2, 9, 0 ) const wxAuiManager* GetAuiManager() %code{% RETVAL = &THIS->GetAuiManager(); %}; void AdvanceSelecti

RE: FW: GridBagSizer

2009-08-17 Thread Steve Cookson
Hi Mattia, Thanks, spot on. Regards Steve -Original Message- From: Mattia Barbon [mailto:mattia.bar...@libero.it] Sent: 17 August 2009 16:28 To: Steve Cookson Cc: wxperl-users@perl.org Subject: Re: FW: GridBagSizer Steve Cookson wrote: > Actually, maybe I got that question wrong. >

Re: AdvanceSelection missing in Wx::AuiNotebook

2009-08-17 Thread Mattia Barbon
Karl Forner wrote: Unfortunately I'm not able to compile Wx. I got this: C:\strawberry\cpan\build\Wx-0.92-C6Vlom>dmake g++ -fvtable-thunks -O2 -mthreads -Os -c -I. -I..\.. -IC:\strawberry\perl\sit e\lib\Alien\wxWidgets\msw_2_8_10_uni_gcc_3_4\lib -IC:\strawberry\perl\site\lib\A lien\wxWidgets\m

Re: FW: GridBagSizer

2009-08-17 Thread Mattia Barbon
Steve Cookson wrote: Actually, maybe I got that question wrong. Really its wxGBPosition, that is failing. "Undefined subroutine wxGBPosition called at .." Regards Maybe you want Wx::GBPosition->new( ... ) instead of wxGBPosition( ... ) ? HTH Mattia

FW: GridBagSizer

2009-08-17 Thread Steve Cookson
Actually, maybe I got that question wrong. Really its wxGBPosition, that is failing. "Undefined subroutine wxGBPosition called at .." Regards Steve _ From: Steve Cookson [mailto:steve.cook...@sca-uk.com] Sent: 17 August 2009 16:14 To: 'wxperl-users@perl.org' Subject: GridB

GridBagSizer

2009-08-17 Thread Steve Cookson
Hi Does anyone use the GridBagSizer sizer type? If so what is the 'use' file name? I can't seem to find it. Regards Steve <>

Event Codes and IDs

2009-08-17 Thread Steve Cookson
Sorry, this didn't get sent-> OK, I don't know if this will help anyone else, but here is a list of event codes and IDs. I've posted it on: http://wxperl.pvoice.org/w/index.php/Event_List NB This is the Perl list, so not all C++ events may have been ported to Perl. The ID's Also are Perl IDs.

RE: http://wxperl.pvoice.org/

2009-08-17 Thread Steve Cookson
Thanks Eric. It's done now. http://wxperl.pvoice.org/w/index.php/Event_List. Regards Steve -Original Message- From: wxperl.d...@gmail.com [mailto:wxperl.d...@gmail.com] Sent: 17 August 2009 14:33 To: Steve Cookson Subject: Re: http://wxperl.pvoice.org/ On Mon, Aug 17, 2009 at 12:5

Re: Error using O_WXOBJECT / wxPli_sv_2_object

2009-08-17 Thread Ryan Jendoubi
Hi Mattia, Mattia Barbon wrote: Everything in wxPerl assumes that the C++ class name matches the Perl name... Well, it's good to know at least it was a pretty solid wall I was ramming my head against ^_^; sv_derived_from checks inheritance at the Perl level. Well that's how it seemed to

Re: Error using O_WXOBJECT / wxPli_sv_2_object

2009-08-17 Thread Mattia Barbon
Ryan Jendoubi wrote: Hi, I've narrowed down the error about not being able to call C++ methods using a different package name in Perl. The C++ class is called wxWebView, but I want to access it in Perl with Wx::WebKit->new() as this would be more intuitive for people. > I've set the Wx::W

Re: Wx::Alien 0.44 doesnt compile

2009-08-17 Thread Mattia Barbon
Gerrit Wichert wrote: Hi, I'm just trying to upgrade my Wx::Alien to 0.44 via CPANPLUS and get the following error: ... checking for -lSM - X11 session management... yes checking for OpenGL headers... found in /usr/include checking for GL/gl.h... yes checking GL/glu.h usability... no checkin

Re: http://wxperl.pvoice.org/

2009-08-17 Thread Ryan Jendoubi
Hi Steve, Are there some instructions on how to add a new page to this Wiki? It's a reg'lar ol' MediaWiki; just put in the page title you want after index.php/ in the URL. Alternatively you can create an internal link to it on another page like your user page, which'll do the same thing: ta

http://wxperl.pvoice.org/

2009-08-17 Thread Steve Cookson
Hi Guys, Are there some instructions on how to add a new page to this Wiki? Regards Steve <>

Error using O_WXOBJECT / wxPli_sv_2_object

2009-08-17 Thread Ryan Jendoubi
Hello, I've narrowed down the error about not being able to call C++ methods using a different package name in Perl. The C++ class is called wxWebView, but I want to access it in Perl with Wx::WebKit->new() as this would be more intuitive for people. I've set the Wx::WebKit as the package n

Re: Wx::Alien 0.44 doesnt compile

2009-08-17 Thread Gerrit Wichert
Gerrit Wichert schrieb: > Hello, > > > I'm just trying to upgrade my Wx::Alien to 0.44 via CPANPLUS > and get the following error: > > ... > checking for -lSM - X11 session management... yes > checking for OpenGL headers... found in /usr/include > checking for GL/gl.h... yes > checking GL/glu.h usa

Wx::Alien 0.44 doesnt compile

2009-08-17 Thread Gerrit Wichert
Hello, I'm just trying to upgrade my Wx::Alien to 0.44 via CPANPLUS and get the following error: ... checking for -lSM - X11 session management... yes checking for OpenGL headers... found in /usr/include checking for GL/gl.h... yes checking GL/glu.h usability... no checking GL/glu.h presence...