From 63fd5f0b273fd2e8d663a671731dec3ee7564f72 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 12 Jun 2002 15:26:35 +0000 Subject: [PATCH] added missing semicolons after asserts (patch 567853) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_unkwn.cpp | 2 +- src/common/dynload.cpp | 2 +- src/common/wincmn.cpp | 2 +- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- src/mgl/window.cpp | 2 +- src/x11/bitmap.cpp | 2 +- src/xrc/xh_unkwn.cpp | 2 +- wxPython/contrib/dllwidget/dllwidget.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contrib/src/xrc/xh_unkwn.cpp b/contrib/src/xrc/xh_unkwn.cpp index 5896ed5e0b..99a514c18f 100644 --- a/contrib/src/xrc/xh_unkwn.cpp +++ b/contrib/src/xrc/xh_unkwn.cpp @@ -52,7 +52,7 @@ protected: void wxUnknownControlContainer::AddChild(wxWindowBase *child) { - wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") ) + wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") ); wxPanel::AddChild(child); diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index 3735dada22..f330d81665 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -433,7 +433,7 @@ void wxPluginLibrary::RestoreClassInfo() info = wxClassInfo::sm_first; while( info->m_next && info->m_next != m_after ) info = info->m_next; - wxASSERT_MSG( info, _T("ClassInfo from wxPluginLibrary not found on purge")) + wxASSERT_MSG( info, _T("ClassInfo from wxPluginLibrary not found on purge")); info->m_next = m_before; } diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 65fdad6ae3..faa3837b1c 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1960,7 +1960,7 @@ void wxWindowBase::ReleaseMouse() { wxLogTrace(_T("mousecapture"), _T("ReleaseMouse(0x%08x)"), this); - wxASSERT_MSG( GetCapture() == this, wxT("attempt to release mouse, but this window hasn't captured it") ) + wxASSERT_MSG( GetCapture() == this, wxT("attempt to release mouse, but this window hasn't captured it") ); DoReleaseMouse(); diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 080f5bca5e..ed792dcc17 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1730,7 +1730,7 @@ static gint gtk_window_focus_out_callback( GtkWidget *widget, GdkEventFocus *gdk // always) and makes using Mahogany quite annoying #if 0 wxASSERT_MSG( wxGetTopLevelParent(win) == g_activeFrame, - wxT("unfocusing window that hasn't gained focus properly") ) + wxT("unfocusing window that hasn't gained focus properly") ); #endif // 0 g_activeFrameLostFocus = TRUE; diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 080f5bca5e..ed792dcc17 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1730,7 +1730,7 @@ static gint gtk_window_focus_out_callback( GtkWidget *widget, GdkEventFocus *gdk // always) and makes using Mahogany quite annoying #if 0 wxASSERT_MSG( wxGetTopLevelParent(win) == g_activeFrame, - wxT("unfocusing window that hasn't gained focus properly") ) + wxT("unfocusing window that hasn't gained focus properly") ); #endif // 0 g_activeFrameLostFocus = TRUE; diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 36baf4f2cb..8044f63ced 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -808,7 +808,7 @@ void wxWindowMGL::DoCaptureMouse() void wxWindowMGL::DoReleaseMouse() { - wxASSERT_MSG( gs_mouseCapture == this, wxT("attempt to release mouse, but this window hasn't captured it") ) + wxASSERT_MSG( gs_mouseCapture == this, wxT("attempt to release mouse, but this window hasn't captured it") ); MGL_wmUncaptureEvents(m_wnd, wxMGL_CAPTURE_MOUSE); gs_mouseCapture = NULL; diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index 9659dc351c..38f8aba90a 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -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); diff --git a/src/xrc/xh_unkwn.cpp b/src/xrc/xh_unkwn.cpp index 5896ed5e0b..99a514c18f 100644 --- a/src/xrc/xh_unkwn.cpp +++ b/src/xrc/xh_unkwn.cpp @@ -52,7 +52,7 @@ protected: void wxUnknownControlContainer::AddChild(wxWindowBase *child) { - wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") ) + wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") ); wxPanel::AddChild(child); diff --git a/wxPython/contrib/dllwidget/dllwidget.cpp b/wxPython/contrib/dllwidget/dllwidget.cpp index 7e39d634fd..025c28b806 100644 --- a/wxPython/contrib/dllwidget/dllwidget.cpp +++ b/wxPython/contrib/dllwidget/dllwidget.cpp @@ -49,7 +49,7 @@ wxDllWidget::~wxDllWidget() void wxDllWidget::AddChild(wxWindowBase *child) { - wxASSERT_MSG( !m_controlAdded, wxT("Couldn't load two widgets into one container!") ) + wxASSERT_MSG( !m_controlAdded, wxT("Couldn't load two widgets into one container!") ); wxPanel::AddChild(child); -- 2.45.2