Skip to content

Commit a3a4dce

Browse files
committedFeb 19, 2024
Apply final adjustments for wxPdfDocument 1.2.0
- Add info about compatibility with wxWidgets (minimum required version now 3.2.0) - Require wxWidgets 3.2.0 as minimum version in autoconf/automake build files - Adjust premake5 file to use wxWidgets 3.2 as default
1 parent 5197ae1 commit a3a4dce

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and from version 0.9.0 onwards this project adheres to [Semantic Versioning](htt
99

1010
## [1.2.0] - 2024-02-18
1111

12+
**wxPdfDocument** is compatible with wxWidgets versions 3.2.x and above.
13+
1214
### Added
1315

1416
- Added support for document protection with AES-256 encryption (PDF 2.0).

‎configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ AC_LANG(C++)
9494

9595
AC_ARG_VAR(WX_CONFIG, [Path to wx-config script (default: search in PATH).])
9696
WX_CONFIG_OPTIONS
97-
WX_CONFIG_CHECK([3.0.0],
97+
WX_CONFIG_CHECK([3.2.0],
9898
[],
9999
[AC_MSG_FAILURE([wxWidgets required but not detected.])],
100100
[base,core,xml]

‎premake/wxwidgets.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
-- Optional environment variable specifying the wxWidgets version
99
newoption {
1010
trigger = "wx_ver",
11-
value = "3.1",
11+
value = "3.2",
1212
description = "Version of the wxWidgets build to be used"
1313
}
1414

@@ -40,7 +40,7 @@ newoption {
4040
}
4141

4242
if not _OPTIONS["wx_ver"] then
43-
_OPTIONS["wx_ver"] = "3.1"
43+
_OPTIONS["wx_ver"] = "3.2"
4444
end
4545

4646
if not _OPTIONS["wx_env"] then
@@ -143,7 +143,7 @@ end
143143
-- Root : path to wx root folder. Can be left empty if WXWIN is defined
144144
-- or if wx-config is accessible.
145145
-- Debug : "yes" use debug version of wxwidgets. Default to "no"
146-
-- Version : one of '2.8', '2.9', '3.0', '3.1'. Default to '3.1'
146+
-- Version : one of '2.8', '2.9', '3.0', '3.1', '3.2'. Default to '3.2'
147147
-- Static : indicates how wx is to be linked. Values are
148148
-- either "yes" for static linking or "no" for shared linking, Default to "no"
149149
-- Unicode : use "yes" for unicode or "no" for ansi version.
@@ -171,7 +171,7 @@ function wx_config(options)
171171
wx_config_Private( options.Root or "",
172172
options.Debug or "",
173173
options.Host or "",
174-
options.Version or "3.1",
174+
options.Version or "3.2",
175175
options.Static or "",
176176
options.Unicode or "yes",
177177
options.Universal or "",

0 commit comments

Comments
 (0)