Native window decorations: fixed wrong window title character encoding used in Windows taskbar (issue #502)

This commit is contained in:
Karl Tauber
2022-03-17 22:31:18 +01:00
parent b221889549
commit 3a8879608a
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,14 @@
FlatLaf Change Log FlatLaf Change Log
================== ==================
## 2.2-SNAPSHOT
#### Fixed bugs
- Native window decorations (Windows 10/11 only): Fixed wrong window title
character encoding used in Windows taskbar. (issue #502)
## 2.1 ## 2.1
#### New features and improvements #### New features and improvements

View File

@@ -54,8 +54,8 @@ library {
compilerArgs.addAll( toolChain.map { compilerArgs.addAll( toolChain.map {
when( it ) { when( it ) {
is Gcc, is Clang -> listOf( "-O2" ) is Gcc, is Clang -> listOf( "-O2", "-DUNICODE" )
is VisualCpp -> listOf( "/O2", "/Zl", "/GS-" ) is VisualCpp -> listOf( "/O2", "/Zl", "/GS-", "/DUNICODE" )
else -> emptyList() else -> emptyList()
} }
} ) } )