From: Stefan Neis Date: Sun, 3 Apr 2005 20:22:21 +0000 (+0000) Subject: Made data variable used in inline function non-static to avoid compiler warning. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b03896f1af50d3619454d4488fbf41e8cb9c18c3?ds=inline Made data variable used in inline function non-static to avoid compiler warning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/statbox.h b/include/wx/statbox.h index 362aeb7b17..9d9976318d 100644 --- a/include/wx/statbox.h +++ b/include/wx/statbox.h @@ -40,7 +40,7 @@ public: // borderOther is the margin on all other sides virtual void GetBordersForSizer(int *borderTop, int *borderOther) const { - static const int BORDER = 5; // FIXME: hardcoded value + const int BORDER = 5; // FIXME: hardcoded value *borderTop = GetLabel().empty() ? BORDER : GetCharHeight(); *borderOther = BORDER;