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
This commit is contained in:
parent
db28c33ca2
commit
b03896f1af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user