- wxAlphaPixelData data(m_bitmap,
- wxPoint(BORDER, BORDER),
- wxSize(REAL_SIZE, REAL_SIZE));
+ // another possibility: wxNativePixelData (don't forget to remove code
+ // setting alpha in the loop below then)
+ typedef wxAlphaPixelData Data;
+
+ Data data(m_bitmap, wxPoint(BORDER, BORDER), wxSize(REAL_SIZE, REAL_SIZE));