1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix to work with wxWidgets 3.2
Author: Scott Talbert <swt@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));
|