p = rowStart;
p.OffsetY(data, 1);
}
+ }
- // if we're a DDB we need to convert DIB back to DDB now to make the
- // changes made via raw bitmap access effective
- if ( !GetBitmapData()->m_isDIB )
- {
- wxDIB *dib = GetBitmapData()->m_dib;
- GetBitmapData()->m_dib = NULL;
+ // if we're a DDB we need to convert DIB back to DDB now to make the
+ // changes made via raw bitmap access effective
+ if ( !GetBitmapData()->m_isDIB )
+ {
+ wxDIB *dib = GetBitmapData()->m_dib;
+ GetBitmapData()->m_dib = NULL;
- // TODO: convert
+ // TODO: convert
- delete dib;
- }
+ delete dib;
}
-#endif
+#endif // wxUSE_WXDIB
}
#endif // #ifdef wxHAVE_RAW_BITMAP