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:
parent
ec935ba841
commit
e42aab7fbf
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user