]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextbuffer.cpp
Store menus titles in menus themselves in wxOSX.
[wxWidgets.git] / src / richtext / richtextbuffer.cpp
index c8a276be44cf800cf6c406c7fc129d37e6248cec..621805fd25e89d8c4b90dae42b113bea5a97b10e 100644 (file)
@@ -7844,7 +7844,7 @@ bool wxRichTextImageBlock::DoMakeImageBlock(const wxImage& image, wxBitmapType i
 
     unsigned char* block = new unsigned char[memStream.GetSize()];
     if (!block)
-        return NULL;
+        return false;
 
     if (m_data)
         delete[] m_data;