X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e9d1258555c0e162db38ba27fbf4132939280ce..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/univ/themes/mono.cpp diff --git a/src/univ/themes/mono.cpp b/src/univ/themes/mono.cpp index 13c5107e96..7719bfa186 100644 --- a/src/univ/themes/mono.cpp +++ b/src/univ/themes/mono.cpp @@ -585,7 +585,7 @@ wxColour wxMonoColourScheme::GetBackground(wxWindow *win) const } // doesn't depend on the state - if ( !col.Ok() ) + if ( !col.IsOk() ) { col = GetBg(); } @@ -770,7 +770,7 @@ wxBitmap wxMonoRenderer::GetIndicator(IndicatorType indType, int flags) GetIndicatorsFromFlags(flags, indState, indStatus); wxBitmap& bmp = m_bmpIndicators[indType][indState][indStatus]; - if ( !bmp.Ok() ) + if ( !bmp.IsOk() ) { const char **xpm = ms_xpmIndicators[indType][indState][indStatus]; if ( xpm ) @@ -787,7 +787,7 @@ wxBitmap wxMonoRenderer::GetFrameButtonBitmap(FrameButtonType type) { if ( type == FrameButton_Close ) { - if ( !m_bmpFrameClose.Ok() ) + if ( !m_bmpFrameClose.IsOk() ) { static const char *xpmFrameClose[] = { /* columns rows colors chars-per-pixel */ @@ -1045,7 +1045,7 @@ void wxMonoRenderer::DrawArrow(wxDC& dc, wxCHECK_RET( arrowDir != Arrow_Max, wxT("invalid arrow direction") ); wxBitmap& bmp = m_bmpArrows[arrowDir]; - if ( !bmp.Ok() ) + if ( !bmp.IsOk() ) { bmp = wxBitmap(ms_xpmArrows[arrowDir]); }