// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "univcheckbox.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
switch ( Get3StateValue() )
{
- case wxCHK_CHECKED: flags |= wxCONTROL_CHECKED;
- case wxCHK_UNDETERMINED: flags |= wxCONTROL_UNDETERMINED;
+ case wxCHK_CHECKED: flags |= wxCONTROL_CHECKED; break;
+ case wxCHK_UNDETERMINED: flags |= wxCONTROL_UNDETERMINED; break;
+ default: /* do nothing */ break;
}
wxBitmap bitmap(GetBitmap(GetState(flags), m_status));
{
case Status_Checked: return wxCHK_CHECKED;
case Status_Unchecked: return wxCHK_UNCHECKED;
+ default: /* go further */ break;
}
return wxCHK_UNDETERMINED;
}