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:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user