compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3552,7 +3552,7 @@ bool RTFOnArgument(int macroId, int arg_no, bool start)
|
||||
if(tok.HasMoreTokens())
|
||||
{
|
||||
wxString token = tok.GetNextToken();
|
||||
imageWidth = (int)(20*ParseUnitArgument((wxChar*)token.c_str()));
|
||||
imageWidth = (int)(20*ParseUnitArgument(token));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3563,7 +3563,7 @@ bool RTFOnArgument(int macroId, int arg_no, bool start)
|
||||
if(tok.HasMoreTokens())
|
||||
{
|
||||
wxString token = tok.GetNextToken();
|
||||
imageHeight = (int)(20*ParseUnitArgument((wxChar*)token.c_str()));
|
||||
imageHeight = (int)(20*ParseUnitArgument(token));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user