From: Vadim Zeitlin Date: Fri, 27 Jan 2006 00:23:48 +0000 (+0000) Subject: tentative compilation fix for MIPSpro 7.2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3f8e6923b0145f117824a90a430bad0d18b9f6dd tentative compilation fix for MIPSpro 7.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 04338fc960..4794fe1119 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -262,13 +262,15 @@ private: wxString m_text; }; +// NB: don't "factor out" the scope operator, SGI MIPSpro 7.2 gets confused if +// it doesn't immediately follow the class name void #if defined(__WXGTK__) && !defined(__WXUNIVERSAL__) -wxStaticText +wxStaticText:: #else -wxStaticTextBase +wxStaticTextBase:: #endif -::Wrap(int width) +Wrap(int width) { wxLabelWrapper wrapper; wrapper.WrapLabel(this, width);