diff --git a/headers/os/interface/OptionControl.h b/headers/os/interface/OptionControl.h index 29d9bbf76f..d038f5fc45 100644 --- a/headers/os/interface/OptionControl.h +++ b/headers/os/interface/OptionControl.h @@ -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); diff --git a/src/kits/interface/OptionControl.cpp b/src/kits/interface/OptionControl.cpp index e9012c0d63..f7e4fa8ebe 100644 --- a/src/kits/interface/OptionControl.cpp +++ b/src/kits/interface/OptionControl.cpp @@ -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. */