Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37908501
en ru br
Репозитории ALT
S:20.03-alt9
5.1: 12.11-alt0.M51.1
4.1: 8.02-alt1
4.0: 1.0-alt0.svn4742
www.altlinux.org/Changes

Группа :: Разработка/C++
Пакет: codeblocks

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

Патч: 0001-Fix-build-with-wxWidgets-3.1.4.patch
Скачать


From 2a98c647d91314fb681c3e3be22c5eec257aec10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org>
Date: Mon, 17 Aug 2020 21:21:47 +0300
Subject: [PATCH] Fix build with wxWidgets 3.1.4
---
 src/src/main.cpp       | 5 +++--
 src/src/watchesdlg.cpp | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/src/main.cpp b/src/src/main.cpp
index 9d6ed6a..fb60089 100644
--- a/src/src/main.cpp
+++ b/src/src/main.cpp
@@ -2679,8 +2679,9 @@ bool MainFrame::OnDropFiles(wxCoord /*x*/, wxCoord /*y*/, const wxArrayString& f
     else
     {
         wxBusyCursor useless;
-        wxPaintEvent e;
-        ProcessEvent(e);
+        // wxPaintEvent e;
+        // ProcessEvent(e);
+        Update();
         for (unsigned int i = 0; i < files.GetCount(); ++i)
           success &= OpenGeneric(files[i]);
     }
diff --git a/src/src/watchesdlg.cpp b/src/src/watchesdlg.cpp
index 505d2bf..9faafe6 100644
--- a/src/src/watchesdlg.cpp
+++ b/src/src/watchesdlg.cpp
@@ -103,7 +103,7 @@ public:
                                   cb_unused const wxPoint& pos,
                                   cb_unused const wxSize& sz) const override
     {
-        wxPGWindowList const list;
+        wxPGWindowList const list(NULL);
         return list;
     }
     void UpdateControl(cb_unused wxPGProperty* property, cb_unused wxWindow* ctrl) const override {}
-- 
2.28.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin