bool m_flagOld;
bool& m_flag;
- DECLARE_NO_COPY_CLASS(ReentrancyBlocker)
+ wxDECLARE_NO_COPY_CLASS(ReentrancyBlocker);
};
// ============================================================================
// the dialog title
wxString title(m_titleDialog);
if ( !title )
- title << wxTheApp->GetAppName() << _(": unknown charset");
+ title << wxTheApp->GetAppDisplayName() << _(": unknown charset");
// the message
wxString msg;
encName = GetEncodingName(encoding);
if ( !facename.empty() )
{
- configEntry = facename + _T("_");
+ configEntry = facename + wxT("_");
}
configEntry += encName;
{
wxString title(m_titleDialog);
if ( !title )
- title << wxTheApp->GetAppName() << _(": unknown encoding");
+ title << wxTheApp->GetAppDisplayName() << _(": unknown encoding");
// built the message
wxString encDesc = GetEncodingDescription(encoding),
bool interactive)
{
wxCHECK_MSG( encodingAlt, false,
- _T("wxFontEncoding::GetAltForEncoding(): NULL pointer") );
+ wxT("wxFontEncoding::GetAltForEncoding(): NULL pointer") );
wxNativeEncodingInfo info;
if ( !GetAltForEncoding(encoding, &info, facename, interactive) )