Commit by: davids Modified files: internal/wxPython-2.5/include/wx/generic/colheader.h 1.5 1.6 internal/wxPython-2.5/src/generic/colheader.cpp 1.11 1.12
Log message: colheader - fix for cryptic build problem on Mac ViewCVS links: http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/include/wx/generic/colheader.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.6 http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/src/generic/colheader.cpp.diff?r1=text&tr1=1.11&r2=text&tr2=1.12 Index: internal/wxPython-2.5/src/generic/colheader.cpp diff -u internal/wxPython-2.5/src/generic/colheader.cpp:1.11 internal/wxPython-2.5/src/generic/colheader.cpp:1.12 --- internal/wxPython-2.5/src/generic/colheader.cpp:1.11 Mon Mar 7 11:29:59 2005 +++ internal/wxPython-2.5/src/generic/colheader.cpp Mon Mar 7 15:09:56 2005 @@ -1521,7 +1521,7 @@ #if defined(__WXMAC__) // static void wxColumnHeaderItem::MacDrawThemeBackgroundNoArrows( - const Rect *boundsR ) + const void *boundsR ) { ThemeButtonDrawInfo drawInfo; Rect qdBoundsR; @@ -1529,11 +1529,11 @@ OSStatus errStatus; bool bSelected; - if ((boundsR == NULL) || EmptyRect( boundsR )) + if ((boundsR == NULL) || EmptyRect( (const Rect*)boundsR )) return; bSelected = true; - qdBoundsR = *boundsR; + qdBoundsR = *(const Rect*)boundsR; drawInfo.state = (bSelected ? kThemeStateActive: kThemeStateInactive); drawInfo.value = (SInt32)bSelected; // zero draws w/o theme background shading Index: internal/wxPython-2.5/include/wx/generic/colheader.h diff -u internal/wxPython-2.5/include/wx/generic/colheader.h:1.5 internal/wxPython-2.5/include/wx/generic/colheader.h:1.6 --- internal/wxPython-2.5/include/wx/generic/colheader.h:1.5 Mon Mar 7 11:12:52 2005 +++ internal/wxPython-2.5/include/wx/generic/colheader.h Mon Mar 7 15:09:56 2005 @@ -72,7 +72,7 @@ public: #if defined(__WXMAC__) static void MacDrawThemeBackgroundNoArrows( - const Rect *boundsR ); + const void *boundsR ); #endif static long ConvertJust( _______________________________________________ Commits mailing list Commits@osafoundation.org http://lists.osafoundation.org/mailman/listinfo/commits