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;