Move kMinMenuBarWidth to MenuField.cpp

This commit is contained in:
John Scipione 2013-05-29 20:59:38 -04:00
parent 6da3c1c788
commit 92c12506ac
2 changed files with 4 additions and 2 deletions

View File

@ -17,8 +17,6 @@
static const float kVMargin = 2.0f;
static const float kMinMenuBarWidth = 20.0f;
// found by experimenting on BeOS R5
class BMessageRunner;

View File

@ -132,6 +132,10 @@ struct BMenuField::LayoutData {
// #pragma mark -
static const float kMinMenuBarWidth = 20.0f;
// found by experimenting on BeOS R5
BMenuField::BMenuField(BRect frame, const char* name, const char* label,
BMenu* menu, uint32 resizingMode, uint32 flags)
: