#if wxUSE_UNICODE_MSLU
// This is a hack for a MSLU problem: Versions up to 1.0.4011
// of UNICOWS.DLL send the correct UNICODE item after button press
- // and a bogus ANSI mode item right after this, so lets ignore
+ // and a bogus ANSI mode item right after this, so let's ignore
// the second bogus message
if ( wxUsingUnicowsDll() && s_lastMsgFlags == pFR->Flags )
{
FINDREPLACE *pFR = (FINDREPLACE *)lParam;
wxFindReplaceDialog *dialog = (wxFindReplaceDialog *)pFR->lCustData;
- ::SetWindowText(hwnd, dialog->GetTitle().wx_str());
+ ::SetWindowText(hwnd, dialog->GetTitle().t_str());
// don't return FALSE from here or the dialog won't be shown
return TRUE;
wxLogError(_("Failed to create the standard find/replace dialog (error code %d)"),
::CommDlgExtendedError());
- delete m_impl;
- m_impl = NULL;
+ wxDELETE(m_impl);
return false;
}