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 (working copy) @@ -170,6 +170,15 @@ warn "On Mac OS X please run scripts with the 'wxPerl' interpreter\n"; } +if( wxMAC() && (defined &Wx::GraphicsContext::Create )) { + no strict; + package Wx::MacCoreGraphicsContext; @ISA = qw( Wx::GraphicsContext ); + package Wx::MacCoreGraphicsRenderer; @ISA = qw( Wx::GraphicsRenderer ); + +} + +package Wx; + require Wx::App; require Wx::Event; require Wx::Locale;