projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wxBitmap::NewFromPNGData() for creating bitmaps from PNG data.
[wxWidgets.git]
/
src
/
msw
/
fdrepdlg.cpp
diff --git
a/src/msw/fdrepdlg.cpp
b/src/msw/fdrepdlg.cpp
index 78b7f27dc274d9d481de9c97101607cae283ea71..d185b884c3a7889e8eb015055be356f095df8f0d 100644
(file)
--- a/
src/msw/fdrepdlg.cpp
+++ b/
src/msw/fdrepdlg.cpp
@@
-217,7
+217,7
@@
wxFindReplaceDialogImpl::FindMessageHandler(wxWindow * WXUNUSED(win),
#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
#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 )
{
// the second bogus message
if ( wxUsingUnicowsDll() && s_lastMsgFlags == pFR->Flags )
{
@@
-310,7
+310,7
@@
wxFindReplaceDialogHookProc(HWND hwnd,
FINDREPLACE *pFR = (FINDREPLACE *)lParam;
wxFindReplaceDialog *dialog = (wxFindReplaceDialog *)pFR->lCustData;
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;
// don't return FALSE from here or the dialog won't be shown
return TRUE;
@@
-443,8
+443,7
@@
bool wxFindReplaceDialog::Show(bool show)
wxLogError(_("Failed to create the standard find/replace dialog (error code %d)"),
::CommDlgExtendedError());
wxLogError(_("Failed to create the standard find/replace dialog (error code %d)"),
::CommDlgExtendedError());
- delete m_impl;
- m_impl = NULL;
+ wxDELETE(m_impl);
return false;
}
return false;
}