corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -64,7 +64,6 @@ static pascal void wxMacListDefinition( short message, Boolean isSelected, Rect
|
||||
Cell cell, short dataOffset, short dataLength,
|
||||
ListHandle listHandle )
|
||||
{
|
||||
FontInfo fontInfo;
|
||||
GrafPtr savePort;
|
||||
GrafPtr grafPtr;
|
||||
RgnHandle savedClipRegion;
|
||||
@@ -681,10 +680,10 @@ void wxListBox::MacSetSelection( int n , bool select )
|
||||
Cell cell = { 0 , 0 } ;
|
||||
if ( ! (m_windowStyle & wxLB_MULTIPLE) )
|
||||
{
|
||||
if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
|
||||
{
|
||||
LSetSelect( false , cell , (ListHandle)m_macList ) ;
|
||||
}
|
||||
if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
|
||||
{
|
||||
LSetSelect( false , cell , (ListHandle)m_macList ) ;
|
||||
}
|
||||
}
|
||||
|
||||
cell.v = n ;
|
||||
|
Reference in New Issue
Block a user