Commit 6454d919 authored by jean-pierre charras's avatar jean-pierre charras

Cvpcb: remove macros MAX, MIN, ABS (forgotten file in my last commit)

parent b660b033
...@@ -43,7 +43,7 @@ void ITEMS_LISTBOX_BASE::OnSize( wxSizeEvent& event ) ...@@ -43,7 +43,7 @@ void ITEMS_LISTBOX_BASE::OnSize( wxSizeEvent& event )
wxSize size = GetClientSize(); wxSize size = GetClientSize();
int width = 0; int width = 0;
SetColumnWidth( 0, MAX( width, size.x ) ); SetColumnWidth( 0, std::max( width, size.x ) );
event.Skip(); event.Skip();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment