Skip to content

Commit

Permalink
Apply final adjustments for wxPdfDocument 1.2.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
utelle committed Feb 19, 2024
1 parent 5197ae1 commit a3a4dce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and from version 0.9.0 onwards this project adheres to [Semantic Versioning](htt

## [1.2.0] - 2024-02-18

**wxPdfDocument** is compatible with wxWidgets versions 3.2.x and above.

### Added

- Added support for document protection with AES-256 encryption (PDF 2.0).
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ AC_LANG(C++)

AC_ARG_VAR(WX_CONFIG, [Path to wx-config script (default: search in PATH).])
WX_CONFIG_OPTIONS
WX_CONFIG_CHECK([3.0.0],
WX_CONFIG_CHECK([3.2.0],
[],
[AC_MSG_FAILURE([wxWidgets required but not detected.])],
[base,core,xml]
Expand Down
8 changes: 4 additions & 4 deletions premake/wxwidgets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Optional environment variable specifying the wxWidgets version
newoption {
trigger = "wx_ver",
value = "3.1",
value = "3.2",
description = "Version of the wxWidgets build to be used"
}

Expand Down Expand Up @@ -40,7 +40,7 @@ newoption {
}

if not _OPTIONS["wx_ver"] then
_OPTIONS["wx_ver"] = "3.1"
_OPTIONS["wx_ver"] = "3.2"
end

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

0 comments on commit a3a4dce

Please sign in to comment.