mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[0.4.11] [COMCTL32] Fix regression CORE-14671 & CORE-14701
Fixes the icons on some buttons being flipped vertically.
Known affected apps: Lazarus IDE, Double Commander, Peazip.
Beside that it also fixes transparency regressions in DVDStyler 3.0.4 (CORE-14701).
Thanks to patches author Doug Lyons.
The patch has not been committed to master yet and has the known side-effect
of introducing flipped icons in the options-listview of Double-Commander
that are drawn correctly without the hackfix.
like in last release
(cherry picked from commit 9d758ae1cd
)
This commit is contained in:
parent
5037a3a1bd
commit
b906163dc1
2 changed files with 11 additions and 0 deletions
|
@ -35,6 +35,13 @@
|
|||
#include "winnls.h"
|
||||
#include "commctrl.h"
|
||||
|
||||
#ifdef __REACTOS__
|
||||
// This is really ComCtl32 v5.82, the last one not supporting SxS
|
||||
#undef COMCTL32_VERSION // Undefines what the PSDK gave to us
|
||||
#define COMCTL32_VERSION 5
|
||||
#define COMCTL32_VERSION_MINOR 82
|
||||
#endif
|
||||
|
||||
extern HMODULE COMCTL32_hModule DECLSPEC_HIDDEN;
|
||||
extern HBRUSH COMCTL32_hPattern55AABrush DECLSPEC_HIDDEN;
|
||||
|
||||
|
@ -186,7 +193,9 @@ INT Str_GetPtrAtoW (LPCSTR lpSrc, LPWSTR lpDest, INT nMaxLen) DECLSPEC_HIDDEN;
|
|||
BOOL Str_SetPtrAtoW (LPWSTR *lppDest, LPCSTR lpSrc) DECLSPEC_HIDDEN;
|
||||
BOOL Str_SetPtrWtoA (LPSTR *lppDest, LPCWSTR lpSrc) DECLSPEC_HIDDEN;
|
||||
|
||||
#ifndef __REACTOS__
|
||||
#define COMCTL32_VERSION_MINOR 81
|
||||
#endif
|
||||
|
||||
/* Our internal stack structure of the window procedures to subclass */
|
||||
typedef struct _SUBCLASSPROCS {
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __REACTOS__
|
||||
#include "comctl32.h"
|
||||
#endif
|
||||
|
||||
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
|
|
Loading…
Reference in a new issue