]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/window.cpp
wxASSERT(false) --> wxFAIL
[wxWidgets.git] / src / x11 / window.cpp
index e5080dae51b14b640c60d3cb2662e1b2618e412c..bbc7c1d7b277554de196c27b08b392d6256e084b 100644 (file)
@@ -484,7 +484,7 @@ void wxWindowX11::DoCaptureMouse()
 {
     if ((g_captureWindow != NULL) && (g_captureWindow != this))
     {
-        wxASSERT_MSG(false, wxT("Trying to capture before mouse released."));
+        wxFAIL_MSG(wxT("Trying to capture before mouse released."));
 
         // Core dump now
         int *tmp = NULL;