]> git.saurik.com Git - wxWidgets.git/commitdiff
tentative compilation fix for MIPSpro 7.2
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jan 2006 00:23:48 +0000 (00:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jan 2006 00:23:48 +0000 (00:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dlgcmn.cpp

index 04338fc9600c3bb9a3d49042ccee9156246bfa2b..4794fe1119a36b169b6ef8844f9406b2f5c432ed 100644 (file)
@@ -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);