]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
Corrected (maybe) the object.h token syntax; corrected typo in makefile.g95
[wxWidgets.git] / src / generic / statusbr.cpp
index d8fb78c69d298cacf06cf2bbd3fe7162b4fcaafb..c433a1dfde90894a2351973fb440a556865a4208 100644 (file)
@@ -127,6 +127,17 @@ void wxStatusBarGeneric::SetStatusText(const wxString& text, int number)
 
     m_statusStrings[number] = text;
 
+#ifdef __WXMAC__
+    int major,minor;
+    wxGetOsVersion( &major, &minor );
+    
+    if (major >= 10)
+    {
+        Refresh();
+        return;
+    }
+#endif
+
     wxRect rect;
     GetFieldRect(number, rect);
     wxClientDC dc(this);