[med-svn] [Git][med-team/ctsim][master] Patch for compatibility with wxWidgets 3.2
Andreas Tille (@tille)
gitlab at salsa.debian.org
Fri Sep 16 08:03:55 BST 2022
Andreas Tille pushed to branch master at Debian Med / ctsim
Commits:
271e522a by Scott Talbert at 2022-09-15T21:13:24-04:00
Patch for compatibility with wxWidgets 3.2
- - - - -
3 changed files:
- debian/changelog
- debian/patches/series
- + debian/patches/wx3.2-compat.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,13 @@
ctsim (6.0.2-6) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* transition to wxwidgets3.2
Closes: #1019764
* Standards-Version: 4.6.1 (routine-update)
+ [ Scott Talbert ]
+ * Patch for compatibility with wxWidgets 3.2
+
-- Andreas Tille <tille at debian.org> Thu, 15 Sep 2022 09:19:19 +0200
ctsim (6.0.2-5) unstable; urgency=medium
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
drop_incorrect_cppflags.patch
improve-configure-wx-probes.patch
+wx3.2-compat.patch
=====================================
debian/patches/wx3.2-compat.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Fix to work with wxWidgets 3.2
+Author: Scott Talbert <swt at techie.net>
+Last-Update: 2022-09-15
+Bug-Debian: https://bugs.debian.org/1019764
+Forwarded: no
+
+--- a/src/ctsim.cpp
++++ b/src/ctsim.cpp
+@@ -148,7 +148,7 @@ CTSimApp::OnInit()
+ openConfig();
+
+ g_bRunningWXWindows = true;
+- m_docManager = new wxDocManager (wxDEFAULT_DOCMAN_FLAGS, true);
++ m_docManager = new wxDocManager (0, true);
+
+ m_pDocTemplImage = new wxDocTemplate (m_docManager, _T("ImageFile"), _T("*.if"), _T(""), _T("if"), _T("ImageFile"), _T("ImageView"), CLASSINFO(ImageFileDocument), CLASSINFO(ImageFileView));
+ m_pDocTemplProjection = new wxDocTemplate (m_docManager, _T("ProjectionFile"), _T("*.pj"), _T(""), _T("pj"), _T("ProjectionFile"), _T("ProjectionView"), CLASSINFO(ProjectionFileDocument), CLASSINFO(ProjectionFileView));
View it on GitLab: https://salsa.debian.org/med-team/ctsim/-/commit/271e522a216e8a0a85558bbca9ea86fdcb1530b8
--
View it on GitLab: https://salsa.debian.org/med-team/ctsim/-/commit/271e522a216e8a0a85558bbca9ea86fdcb1530b8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220916/3ea4553c/attachment-0001.htm>
More information about the debian-med-commit
mailing list