Fix debug builds on wxWidgets 2.8.
This commit is contained in:
parent
e9f41a3b98
commit
fe54ceacab
|
@ -5,6 +5,7 @@ common/netlist_lexer.h
|
|||
common/pcb_plot_params_lexer.h
|
||||
common/page_layout/page_layout_reader_keywords.cpp
|
||||
common/fp_lib_table_keywords.*
|
||||
common/gal/opengl/shader_src.h
|
||||
include/fp_lib_table_lexer.h
|
||||
include/netlist_lexer.h
|
||||
include/page_layout_reader_lexer.h
|
||||
|
|
|
@ -78,7 +78,7 @@ unsigned int CAIRO_COMPOSITOR::CreateBuffer()
|
|||
cairo_t* context = cairo_create( surface );
|
||||
#ifdef __WXDEBUG__
|
||||
cairo_status_t status = cairo_status( context );
|
||||
wxASSERT_MSG( status == CAIRO_STATUS_SUCCESS, "Cairo context creation error" );
|
||||
wxASSERT_MSG( status == CAIRO_STATUS_SUCCESS, wxT( "Cairo context creation error" ) );
|
||||
#endif /* __WXDEBUG__ */
|
||||
|
||||
// Set default settings for the buffer
|
||||
|
|
|
@ -959,7 +959,7 @@ void CAIRO_GAL::initSurface()
|
|||
context = cairo_create( surface );
|
||||
#ifdef __WXDEBUG__
|
||||
cairo_status_t status = cairo_status( context );
|
||||
wxASSERT_MSG( status == CAIRO_STATUS_SUCCESS, "Cairo context creation error" );
|
||||
wxASSERT_MSG( status == CAIRO_STATUS_SUCCESS, wxT( "Cairo context creation error" ) );
|
||||
#endif /* __WXDEBUG__ */
|
||||
currentContext = context;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ GPU_MANAGER* GPU_MANAGER::MakeManager( VERTEX_CONTAINER* aContainer )
|
|||
else if( typeid( *aContainer ) == typeid( NONCACHED_CONTAINER ) )
|
||||
return new GPU_NONCACHED_MANAGER( aContainer );
|
||||
|
||||
wxASSERT_MSG( false, "Not handled container type" );
|
||||
wxASSERT_MSG( false, wxT( "Not handled container type" ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -55,8 +55,8 @@ public:
|
|||
void Save( BOARD_ITEM* aItem )
|
||||
{
|
||||
#ifdef __WXDEBUG__
|
||||
wxASSERT_MSG( m_canSave, "You cannot save items after issuing commands. "
|
||||
"You have either RestoreAll() or Apply() before adding items!" );
|
||||
wxASSERT_MSG( m_canSave, wxT( "You cannot save items after issuing commands. You have "
|
||||
"either RestoreAll() or Apply() before adding items!" ) );
|
||||
#endif
|
||||
m_items.push_back( aItem );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue