// Fix value.
fontData.SetChosenFont(value.GetInitialFont());
- if ( !fontData.GetColour().Ok() )
+ if ( !fontData.GetColour().IsOk() )
fontData.SetColour(*wxBLACK);
// Set initial value - should be done in a simpler way like this
fontData << m_value_wxFontData;
wxFont font = fontData.GetChosenFont();
- if ( !font.Ok() )
+ if ( !font.IsOk() )
font = wxFont(10,wxSWISS,wxNORMAL,wxNORMAL);
m_value = WXVARIANT(font);
WX_PG_TOKENIZER1_BEGIN(text,delimiter)
- if ( token.length() )
+ if ( !token.empty() )
{
// If token was invalid, exit the loop now