From: Václav Slavík Date: Tue, 2 Nov 1999 23:24:26 +0000 (+0000) Subject: fixed compilation under GCC 2.95 - 'export' was used as variable name and GCC complai... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5b8ab3827f251e1b4503b24fac433b3e1a16a4b9 fixed compilation under GCC 2.95 - 'export' was used as variable name and GCC complained about export being a keyword git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index e6a5beb0cf..15d14b81ee 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -308,32 +308,32 @@ void MyFrame::OnCommand( wxCommandEvent &event ) #endif case ID_HTML: { - wxLayoutExportObject *export; + wxLayoutExportObject *export0; wxLayoutExportStatus status(m_lwin->GetLayoutList()); - while((export = wxLayoutExport( &status, + while((export0 = wxLayoutExport( &status, WXLO_EXPORT_AS_HTML)) != NULL) { - if(export->type == WXLO_EXPORT_HTML) - cout << *(export->content.text); + if(export0->type == WXLO_EXPORT_HTML) + cout << *(export0->content.text); else cout << "