]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/bitmap.cpp
Added symbolic names for native control week days.
[wxWidgets.git] / src / x11 / bitmap.cpp
index c32c1eb031dc8f37eb136e04bc9a3a6752d15963..c8b6a2d14fcb45c9b9fd5b131557be6ab82aab2a 100644 (file)
@@ -1475,7 +1475,7 @@ bool wxXPMDataHandler::Create(wxBitmap *bitmap, const void* bits,
 
         M_BMPHANDLERDATA->m_bpp = bpp;  // mono as well?
 
-#if __WXDEBUG__
+#if wxDEBUG_LEVEL
         unsigned int depthRet;
         int xRet, yRet;
         unsigned int widthRet, heightRet, borderWidthRet;
@@ -1483,7 +1483,7 @@ bool wxXPMDataHandler::Create(wxBitmap *bitmap, const void* bits,
             &widthRet, &heightRet, &borderWidthRet, &depthRet);
 
         wxASSERT_MSG( bpp == (int)depthRet, wxT("colour depth mismatch") );
-#endif
+#endif // wxDEBUG_LEVEL
 
         XpmFreeAttributes(&xpmAttr);