X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32d4c30a13f65b7c8cb66f813a0b8c606ad8480b..6d0ce565ff6a0db2e7c6e3240ef4cf6fe7950a35:/src/x11/window.cpp diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 6409d158f5..a027babec6 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -16,10 +16,6 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/hash.h" -#endif - // ============================================================================ // declarations // ============================================================================ @@ -28,24 +24,30 @@ // headers // ---------------------------------------------------------------------------- +#include "wx/window.h" + +#ifndef WX_PRECOMP + #include "wx/hash.h" + #include "wx/log.h" + #include "wx/app.h" + #include "wx/utils.h" + #include "wx/panel.h" + #include "wx/frame.h" + #include "wx/dc.h" + #include "wx/dcclient.h" +#endif + #include "wx/menu.h" -#include "wx/dc.h" -#include "wx/dcclient.h" -#include "wx/utils.h" -#include "wx/app.h" -#include "wx/panel.h" #include "wx/layout.h" #include "wx/dialog.h" #include "wx/listbox.h" #include "wx/button.h" #include "wx/settings.h" #include "wx/msgdlg.h" -#include "wx/frame.h" #include "wx/scrolwin.h" #include "wx/scrolbar.h" #include "wx/module.h" #include "wx/menuitem.h" -#include "wx/log.h" #include "wx/fontutil.h" #include "wx/univ/renderer.h" @@ -482,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;