diff --git a/uppsrc/GridCtrl/GridCtrl.cpp b/uppsrc/GridCtrl/GridCtrl.cpp index 6647a96e7..3c8686390 100644 --- a/uppsrc/GridCtrl/GridCtrl.cpp +++ b/uppsrc/GridCtrl/GridCtrl.cpp @@ -6453,9 +6453,7 @@ void GridCtrl::Debug(int n) LLOG("---- END --------------"); } if(n == 3) - { - LLOG(Format("Focused %x ") << GetCtrlPos(focused_ctrl)); - } + LLOG(Format("Focused %x (%d, %d)", focused_ctrl, p.x, p.y)); } void GridCtrl::Serialize(Stream &s) diff --git a/uppsrc/GridCtrl/GridPaint.cpp b/uppsrc/GridCtrl/GridPaint.cpp index faaee742b..96645f938 100644 --- a/uppsrc/GridCtrl/GridPaint.cpp +++ b/uppsrc/GridCtrl/GridPaint.cpp @@ -6,7 +6,7 @@ namespace Upp { void GridCtrl::Paint(Draw &w) { - static int paintcnt = 0; + [[maybe_unused]] static int paintcnt = 0; Font stdfont(StdFont());