Add missing __WXUNIVERSAL__ checks to fix wxUniv/MSW build
Only define wxHAS_SYSTEM_THEMED_CONTROL when not using wxUniv, do define wxHAS_GENERIC_TREECTRL when using it. Closes #17399.
This commit is contained in:
committed by
Vadim Zeitlin
parent
08f800ab16
commit
16468ac2ba
@@ -48,7 +48,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Only __WXMSW__ has a non-trivial implementation currently.
|
// Only __WXMSW__ has a non-trivial implementation currently.
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||||
#define wxHAS_SYSTEM_THEMED_CONTROL
|
#define wxHAS_SYSTEM_THEMED_CONTROL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
class WXDLLIMPEXP_FWD_CORE wxImageList;
|
class WXDLLIMPEXP_FWD_CORE wxImageList;
|
||||||
|
|
||||||
#ifndef __WXMSW__
|
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
|
||||||
#define wxHAS_GENERIC_TREECTRL
|
#define wxHAS_GENERIC_TREECTRL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user