Fix typos in sample comments

Closes https://github.com/wxWidgets/wxWidgets/pull/2513
This commit is contained in:
Blake Madden
2021-09-06 17:01:35 -04:00
committed by Vadim Zeitlin
parent 8368914725
commit 1380b1914c
23 changed files with 30 additions and 30 deletions

View File

@@ -273,7 +273,7 @@ void fOGLErrHandler(int err, int glerr, const GLchar* glMsg)
// Creates a 4-bytes-per-pixel, RGBA array from a wxImage.
// If the image has alpha channel, it's used. If not, pixels with 'cTrans' color
// get 'cAlpha' alpha; an the rest of pixels get alpha=255 (opaque).
// get 'cAlpha' alpha; and the rest of pixels get alpha=255 (opaque).
//
// NOTE: The returned pointer must be deleted somewhere in the app.
unsigned char* MyImgToArray(const wxImage& img, const wxColour& cTrans, unsigned char cAlpha)