Fixed the collision between BuildVolume::Type::Convex and macro Convex defined inside /usr/include/X11/X.h that is included by WxWidgets 3.0.
This commit is contained in:
parent
77740c01e1
commit
f4125f2db8
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,11 @@ RetinaHelper::~RetinaHelper() {}
|
||||||
float RetinaHelper::get_scale_factor() { return float(m_window->GetContentScaleFactor()); }
|
float RetinaHelper::get_scale_factor() { return float(m_window->GetContentScaleFactor()); }
|
||||||
#endif // __WXGTK3__
|
#endif // __WXGTK3__
|
||||||
|
|
||||||
|
// Fixed the collision between BuildVolume::Type::Convex and macro Convex defined inside /usr/include/X11/X.h that is included by WxWidgets 3.0.
|
||||||
|
#if defined(__linux__) && defined(Convex)
|
||||||
|
#undef Convex
|
||||||
|
#endif
|
||||||
|
|
||||||
Size::Size()
|
Size::Size()
|
||||||
: m_width(0)
|
: m_width(0)
|
||||||
, m_height(0)
|
, m_height(0)
|
||||||
|
|
Loading…
Reference in a new issue