1 wxPerl is a wrapper for the wxWidgets (formerly known as wxWindows) GUI toolkit
3 Copyright (c) 2000-2010 Mattia Barbon.
4 This package is free software; you can redistribute it and/or
5 modify it under the same terms as Perl itself.
7 You need wxWidgets in order to build wxPerl (see http://www.wxwidgets.org/).
8 You can use GTK, Win32, Mac OS X and Motif as windowing toolkits for wxPerl.
10 Please read the DEPRECATIONS section at the bottom!
14 Build and install wxWidgets, version 2.5.3 or above
21 for more detailed instructions see the docs/install.pod file;
22 in case of problems please consult the FAQ section therein.
26 Perl | OS | wxWidgets | Compiler
27 ----------------+---------------+----------------+-------------------
28 ActivePerl 8xx | Windows 2000 | wxMSW 2.8.x | MSVC 6
29 Strawberry Perl | Windows XP | | MSVC 7
30 5.10.x | Windows Vista | | MinGW GCC 3.4
32 ----------------+---------------+----------------+-------------------
33 5.8.x | Fedora 9 | wxGTK 2.8.x | GCC 3.x
34 5.6.1 | Debian 4.0 | wxGTK 2.9.x | GCC 4.x
37 ----------------+---------------+----------------+-------------------
38 5.8.x | Mac OS X 10.4 | wxMac 2.5.3 | GCC 3.3
39 5.10.0 | Mac OS X 10.5 | wxMac 2.8.x | GCC 4.x
40 | Mac OS X 10.6 | wxMac 2.9.x |
41 ----------------+---------------+----------------+-------------------
43 wxPerl has also been reported to work on FreeBSD and IRIX.
47 The following features have been deprecated and may disappear in the future
49 1 - class->new always returning an hash reference
50 until now calling ->new( ... ) returned an hash reference for most
51 classes derived from Wx::Window, hence the following code
54 my $button = Wx::Button->new( ... );
55 $button->{attribute} = 'value';
57 At some point in the future this will be changed so that only
58 _user-defined_ classes derived from Wx::Window
59 (or from any class derived from Wx::Window)
60 will yield an hash reference, hence the following code will not
63 my $button = Wx::Button->new( ... );
64 $button->{attribute} = 'value';
66 while the following code will work as it did before:
69 use base qw(Wx::Button);
73 my $self = $class->SUPER::new; # always returns hash
74 $self->{attribure} = 'value;
80 wxPerl used to provide some constants named $Wx::_something
81 (for example, $Wx::_msw, $Wx::_platform, $Wx::_wx_version).
83 These constants are now deprecated, and will be removed in
84 some future version; this information is available via
85 functions in the Wx package (i.e. Wx::wxMSW())
87 toolkit: wxMSW, wxGTK, wxMOTIF, wxX11, wxMAC, wxUNIVERSAL
88 misc: wxUNICODE, wxVERSION