fix reference to temporary

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2007-11-15 16:44:08 +00:00
parent ec935ba841
commit e42aab7fbf

View File

@ -69,7 +69,7 @@ wxColourDialogHookProc(HWND hwnd,
CHOOSECOLOR *pCC = (CHOOSECOLOR *)lParam;
wxColourDialog *dialog = (wxColourDialog *)pCC->lCustData;
const wxString& title = dialog->GetTitle();
const wxString title = dialog->GetTitle();
if ( !title.empty() )
::SetWindowText(hwnd, title.wx_str());