wxNativePixelData assert on cocoa
Posted: Wed Dec 19, 2012 2:47 pm
Hi,
For wx 2.94, when used
wxNativePixelData data(bmp);
It cause below assert error, It is safe to comment out this assert message at ../../src/osx/core/bitmap.cpp(380) ?
I didn't saw any difference at my application, if i just ignore this message.
../../src/osx/core/bitmap.cpp(380): assert "m_rawAccessCount == 0" failed in BeginRawAccess().
Collecting stack trace information, please wait...../../src/osx/core/bitmap.cpp(401): assert "m_rawAccessCount == 1" failed in EndRawAccess().
It work on window and linux.
For wx 2.94, when used
wxNativePixelData data(bmp);
It cause below assert error, It is safe to comment out this assert message at ../../src/osx/core/bitmap.cpp(380) ?
I didn't saw any difference at my application, if i just ignore this message.
../../src/osx/core/bitmap.cpp(380): assert "m_rawAccessCount == 0" failed in BeginRawAccess().
Collecting stack trace information, please wait...../../src/osx/core/bitmap.cpp(401): assert "m_rawAccessCount == 1" failed in EndRawAccess().
It work on window and linux.