From: Ove Kaaven Date: Fri, 23 Jul 1999 09:49:06 +0000 (+0000) Subject: Add more _T() in asserts... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ee6db21e41cb61c310162720bfd5f7a1ef90b01d Add more _T() in asserts... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index cb60031d25..1871c04a4a 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -166,7 +166,7 @@ wxSize wxRadioBox::LayoutItems() if ( m_majorDim == 0 ) { // avoid dividing by 0 below - wxFAIL_MSG( "dimension of radiobox should not be 0!" ); + wxFAIL_MSG( _T("dimension of radiobox should not be 0!") ); m_majorDim = 1; } diff --git a/src/gtk/statbmp.cpp b/src/gtk/statbmp.cpp index bcc8025927..98c62d2447 100644 --- a/src/gtk/statbmp.cpp +++ b/src/gtk/statbmp.cpp @@ -37,7 +37,7 @@ wxStaticBitmap::wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap void wxStaticBitmap::CreatePixmapWidget() { - wxCHECK_RET( m_bitmap.Ok(), "should only be called if we have a bitmap" ); + wxCHECK_RET( m_bitmap.Ok(), _T("should only be called if we have a bitmap") ); GdkBitmap *mask = (GdkBitmap *) NULL; if ( m_bitmap.GetMask() ) diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index cb60031d25..1871c04a4a 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -166,7 +166,7 @@ wxSize wxRadioBox::LayoutItems() if ( m_majorDim == 0 ) { // avoid dividing by 0 below - wxFAIL_MSG( "dimension of radiobox should not be 0!" ); + wxFAIL_MSG( _T("dimension of radiobox should not be 0!") ); m_majorDim = 1; } diff --git a/src/gtk1/statbmp.cpp b/src/gtk1/statbmp.cpp index bcc8025927..98c62d2447 100644 --- a/src/gtk1/statbmp.cpp +++ b/src/gtk1/statbmp.cpp @@ -37,7 +37,7 @@ wxStaticBitmap::wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap void wxStaticBitmap::CreatePixmapWidget() { - wxCHECK_RET( m_bitmap.Ok(), "should only be called if we have a bitmap" ); + wxCHECK_RET( m_bitmap.Ok(), _T("should only be called if we have a bitmap") ); GdkBitmap *mask = (GdkBitmap *) NULL; if ( m_bitmap.GetMask() )