Added layout friendly constructor for BOptionControl

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33756 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-10-25 10:45:42 +00:00
parent 75f60c8b38
commit ba69bf196e
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@ public:
uint32 resizeMask = B_FOLLOW_LEFT
| B_FOLLOW_TOP,
uint32 flags = B_WILL_DRAW);
BOptionControl(const char* name,
const char* label, BMessage* message,
uint32 flags = B_WILL_DRAW);
virtual ~BOptionControl();
virtual void MessageReceived(BMessage* message);
+8
View File
@@ -30,6 +30,14 @@ BOptionControl::BOptionControl(BRect frame, const char *name, const char *label,
}
BOptionControl::BOptionControl(const char *name, const char *label,
BMessage *message, uint32 flags)
:
BControl(name, label, message, flags)
{
}
/*! \brief Destructor
It does nothing.
*/