[Commits] (davids) colheader - fixed typos from previous check-in (d'oh!)

commits at osafoundation.org commits at osafoundation.org
Tue Apr 12 11:22:56 PDT 2005


Commit by: davids
Modified files:
internal/wxPython-2.5/src/generic/colheader.cpp 1.62 1.63

Log message:

colheader - fixed typos from previous check-in (d'oh!)
r=TBD



ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/src/generic/colheader.cpp.diff?r1=text&tr1=1.62&r2=text&tr2=1.63

Index: internal/wxPython-2.5/src/generic/colheader.cpp
diff -u internal/wxPython-2.5/src/generic/colheader.cpp:1.62 internal/wxPython-2.5/src/generic/colheader.cpp:1.63
--- internal/wxPython-2.5/src/generic/colheader.cpp:1.62	Tue Apr 12 11:18:19 2005
+++ internal/wxPython-2.5/src/generic/colheader.cpp	Tue Apr 12 11:22:55 2005
@@ -1579,7 +1579,7 @@
 	// add sort arrows as needed
 	newFmt = wxColumnHeaderItem::ConvertJustification( itemRef->m_TextJust, TRUE );
 	if (itemRef->m_BSelected && itemRef->m_BEnabled && itemRef->m_BSortEnabled)
-		newFmt |= (bSortAscending ? HDF_SORTUP : HDF_SORTDOWN);
+		newFmt |= (itemRef->m_BSortAscending ? HDF_SORTUP : HDF_SORTDOWN);
 
 	// NB: should sort arrows and bitmaps be MutEx?
 	if (itemRef->HasValidBitmapRef( itemRef->m_BitmapRef ))



More information about the Commits mailing list