X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1661354b7768a23db967756181858ac32ca03d01..455f6b8d94e9e312e2c1a81a9515d784f9f4ac30:/src/univ/radiobox.cpp diff --git a/src/univ/radiobox.cpp b/src/univ/radiobox.cpp index e4038b1a0d..6a23d3d34b 100644 --- a/src/univ/radiobox.cpp +++ b/src/univ/radiobox.cpp @@ -392,7 +392,7 @@ void wxRadioBox::DoSetToolTip(wxToolTip *tooltip) wxSize wxRadioBox::GetMaxButtonSize() const { - int widthMax, heightMax, width, height; + int widthMax, heightMax, width = 0, height = 0; widthMax = heightMax = 0; int count = GetCount();