]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/bitmap.cpp
don't cache the result of IsAlwaysConnected() and don't call IsOnline() unnecessarily...
[wxWidgets.git] / src / x11 / bitmap.cpp
index 9659dc351c9a9d236f6549128f06b25366ef8f47..38f8aba90aa5190be4e6d83baf921cc29c945f39 100644 (file)
@@ -370,7 +370,7 @@ bool wxBitmap::CreateFromXpm( const char **bits )
         XGetGeometry( xdisplay, pixmap, &xroot, &xRet, &yRet,
             &widthRet, &heightRet, &borderWidthRet, &depthRet);
 
-        wxASSERT_MSG( bpp == (int)depthRet, wxT("colour depth mismatch") )
+        wxASSERT_MSG( bpp == (int)depthRet, wxT("colour depth mismatch") );
 #endif
 
         XpmFreeAttributes(&xpmAttr);