From 5b8ab3827f251e1b4503b24fac433b3e1a16a4b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 2 Nov 1999 23:24:26 +0000 Subject: [PATCH] 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 --- samples/richedit/wxLayout.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 << "