Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37402876
en ru br
Репозитории ALT
S:0.9932-alt3
5.1: 0.89-alt1
4.1: 0.80-alt1
4.0: 0.26-alt0
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Wx

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gtk3.patch
Скачать


Description: Fixes for GTK3 compatibility
 wxWidgets 3.0 built with GTK3 doesn't have wxColour::GetPixel(), see:
 http://trac.wxwidgets.org/ticket/15141#comment:2
Author: Olly Betts <olly@survex.com>
Forwarded: no
Last-Update: 2018-04-01
--- a/XS/Colour.xs
+++ b/XS/Colour.xs
@@ -114,7 +114,7 @@
 
 #endif
 
-#if !defined(__WXMAC__)
+#if !defined(__WXMAC__) && !defined (__WXGTK3__)
 
 long
 wxColour::GetPixel()
--- a/ext/propgrid/XS/PGProperty.xsp
+++ b/ext/propgrid/XS/PGProperty.xsp
@@ -1148,7 +1148,7 @@
     bool SetPlValue( wxColour* col, int flags = wxPG_SETVAL_REFRESH_EDITOR )
       %code{%
             if( col->IsOk() ) {
-                wxVariant value = wxVariant(*col);
+                wxVariant value = wxVariant(wxAny(*col));
                 THIS->SetValue(value, NULL, flags );
                 RETVAL = true;
             } else {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin