Talk:Writing Your First Application-Common Dialogs
Jump to navigation
Jump to search
Broken Example
I'm having problems with the two line that set the title:
SetTitle(wxString("Edit - ") << OpenDialog->GetFilename());
and
SetTitle(wxString("Edit - ") << SaveDialog->GetFilename());
It works if you set them as:
SetTitle(wxString(_T("Edit - ")) << OpenDialog->GetFilename());
and
SetTitle(wxString(_T("Edit - ")) << SaveDialog->GetFilename());
Capturts 15:07, 27 November 2011 (MST)