MAcOS X clears the background (with stripes) for
us, so there is no need to do it again. This solves to optical bugs for the wxStatusBar and wxStaticText. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user