mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlCore: Fix VirtualGui compilation on Windows. (#300)
This PR aims to fix virtualgui compilation error, stems from the new WinBar support.
This commit is contained in:
parent
2cbb524014
commit
908ceb5193
1 changed files with 3 additions and 3 deletions
|
|
@ -414,11 +414,11 @@ void Ctrl::UpdateArea0(SystemDraw& draw, const Rect& clip, int backpaint)
|
|||
LLOG("========== UPDATE AREA " << UPP::Name(this) << ", clip: " << clip << " ==========");
|
||||
ExcludeDHCtrls(draw, GetRect().GetSize(), clip);
|
||||
auto DoCtrlPaint = [&](SystemDraw& w, const Rect& clip) {
|
||||
#ifdef PLATFORM_WIN32
|
||||
#if defined(PLATFORM_WIN32) && !defined(VIRTUALGUI)
|
||||
PaintWinBarBackground(w, clip);
|
||||
#endif
|
||||
CtrlPaint(w, clip);
|
||||
#ifdef PLATFORM_WIN32
|
||||
#if defined(PLATFORM_WIN32) && !defined(VIRTUALGUI)
|
||||
PaintWinBar(w, clip);
|
||||
#endif
|
||||
};
|
||||
|
|
@ -598,4 +598,4 @@ void Ctrl::GlobalBackBuffer(bool b)
|
|||
globalbackbuffer = b;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue