Unicode-related compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -466,7 +466,9 @@ void wxFontRefData::MacFindFont()
|
||||
float floatnumber;
|
||||
CFNumberGetValue( number, kCFNumberFloatType, &floatnumber );
|
||||
{
|
||||
printf( wxString::Format( "font %s expected %d but got %d traits, %f angle \n" , m_faceName.c_str(), traits, received, angle ) );
|
||||
wxString msg = wxString::Format( "font %s expected %d but got %d traits, %f angle \n" ,
|
||||
m_faceName.c_str(), traits, received, angle );
|
||||
printf( msg.c_str() );
|
||||
}
|
||||
CFShow( dict );
|
||||
CFRelease( dict );
|
||||
|
@@ -167,7 +167,7 @@ bool wxGLCanvasBase::IsExtensionSupported(const char *extension)
|
||||
WXGLDestroyPixelFormat(fmt);
|
||||
WXGLDestroyContext(ctx);
|
||||
|
||||
return IsExtensionInList(extensions, extension);
|
||||
return IsExtensionInList(extensions.ToAscii(), extension);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user