diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 9e9cde38ca..af029bf042 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -503,6 +503,8 @@ void wxChoice::DoSetSize(int x, int y, SendMessage(GetHwnd(), CB_SETITEMHEIGHT, (WPARAM)-1, h + delta); } } +#else + wxUnusedVar(heightOrig); #endif }