summaryrefslogtreecommitdiff
path: root/include/vcl/button.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r--include/vcl/button.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 6c3fe18e8585..1da2e8ce894e 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -196,12 +196,12 @@ public:
inline void PushButton::Check( bool bCheck )
{
- SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK );
+ SetState( (bCheck) ? TRISTATE_TRUE : TRISTATE_FALSE );
}
inline bool PushButton::IsChecked() const
{
- return (GetState() == STATE_CHECK);
+ return (GetState() == TRISTATE_TRUE);
}
// ------------
@@ -504,12 +504,12 @@ public:
inline void CheckBox::Check( bool bCheck )
{
- SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK );
+ SetState( (bCheck) ? TRISTATE_TRUE : TRISTATE_FALSE );
}
inline bool CheckBox::IsChecked() const
{
- return (GetState() == STATE_CHECK);
+ return (GetState() == TRISTATE_TRUE);
}
// ---------------------------------