From 3b3fc0151eb37c09415a3241adc894c61862711d Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 22 Sep 2012 13:29:30 +0200 Subject: [PATCH] Cvpcb: remove macros MAX, MIN, ABS (forgotten file in my last commit) --- cvpcb/listboxes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvpcb/listboxes.cpp b/cvpcb/listboxes.cpp index 017c4ec1e9..a3b432c24d 100644 --- a/cvpcb/listboxes.cpp +++ b/cvpcb/listboxes.cpp @@ -43,7 +43,7 @@ void ITEMS_LISTBOX_BASE::OnSize( wxSizeEvent& event ) wxSize size = GetClientSize(); int width = 0; - SetColumnWidth( 0, MAX( width, size.x ) ); + SetColumnWidth( 0, std::max( width, size.x ) ); event.Skip(); }