Remove setVisibleCursor() from the FToggleButton class constructor
This commit is contained in:
parent
292469f5b5
commit
df6636bf60
|
@ -34,6 +34,7 @@ void FCheckBox::init()
|
|||
{
|
||||
label_offset_pos = 4;
|
||||
button_width = 4;
|
||||
setVisibleCursor();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -35,6 +35,7 @@ void FRadioButton::init()
|
|||
{
|
||||
label_offset_pos = 4;
|
||||
button_width = 4;
|
||||
setVisibleCursor();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -65,9 +65,6 @@ void FToggleButton::init()
|
|||
|
||||
setGeometry (1, 1, 4, 1, false); // initialize geometry values
|
||||
|
||||
if ( isRadioButton() || isCheckboxButton() )
|
||||
setVisibleCursor();
|
||||
|
||||
if ( hasFocus() )
|
||||
this->flags = FOCUS;
|
||||
|
||||
|
|
Loading…
Reference in New Issue