]> git.saurik.com Git - wxWidgets.git/commitdiff
Made data variable used in inline function non-static to avoid compiler warning.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 3 Apr 2005 20:22:21 +0000 (20:22 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 3 Apr 2005 20:22:21 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/statbox.h

index 362aeb7b1776e8437ff5f019c406374bb7571623..9d9976318d1cda51de199f3ba7e6d89c930fdf0f 100644 (file)
@@ -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;