]> git.saurik.com Git - wxWidgets.git/commitdiff
fix reference to temporary
authorPaul Cornett <paulcor@bullseye.com>
Thu, 15 Nov 2007 16:44:08 +0000 (16:44 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 15 Nov 2007 16:44:08 +0000 (16:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/colordlg.cpp

index 5b9d60ff5814e3cb5ccf7ef2b32862e2bef5c1d1..2dbbd1b96aa67e23d85898a26b5a042f8be42d21 100644 (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());