wxWidgets 2.8 compatibility fixes.
This commit is contained in:
@@ -305,7 +305,7 @@ int MODULE_TOOLS::EnumeratePads( TOOL_EVENT& aEvent )
|
||||
m_frame->SaveCopyInUndoList( module, UR_MODEDIT );
|
||||
|
||||
BOOST_FOREACH( D_PAD* pad, pads )
|
||||
pad->SetPadName( wxString::Format( "%s%d", padPrefix, padNumber++ ) );
|
||||
pad->SetPadName( wxString::Format( wxT( "%s%d" ), padPrefix.c_str(), padNumber++ ) );
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user