]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/bitmap.cpp
initial attempts to get raw bitmaps working under Mac
[wxWidgets.git] / src / x11 / bitmap.cpp
index 1dc3b18684c8119a75f1cb8b4770c2b558329e38..deb62416459b2e7d43fd5ce964b8cb1b2de02797 100644 (file)
@@ -1572,9 +1572,10 @@ bool wxXBMDataHandler::Create( wxBitmap *bitmap, void *bits,
     M_BMPHANDLERDATA->m_bpp = 1;
 
     return TRUE;
-#endif
-    wxCHECK_MSG( M_BMPHANDLERDATA->m_bitmap, FALSE,
+#else
+   wxCHECK_MSG( M_BMPHANDLERDATA->m_bitmap, FALSE,
                  wxT("couldn't create bitmap") );
+#endif
 }
 
 void wxBitmap::InitStandardHandlers()