From: <AOu...@fr...> - 2007-01-31 12:27:00
|
Hello, the GTK Port of wxPerl misses the function SetBitmap for Menuitems in Menu.xs. Can someone please change the following: Menu.xs, Line 691: #if defined( __WXMSW__ ) && !defined( __WXWINCE__ ) void wxMenuItem::SetBitmap( bitmap ) wxBitmap* bitmap CODE: THIS->SetBitmap( *bitmap ); #endif to: #if ( defined( __WXMSW__ ) && !defined( __WXWINCE__ ) ) || \ defined( __WXGTK__ ) void wxMenuItem::SetBitmap( bitmap ) wxBitmap* bitmap CODE: THIS->SetBitmap( *bitmap ); #endif Changed it myself in my wxPerl and tested it under Suse Linux 10.2. Thanks, Andre |