configure and #ifdef wxUSE_XXX updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-01-04 13:52:06 +00:00
parent 9ca2fe7ee6
commit ac57418f39
56 changed files with 670 additions and 1567 deletions

View File

@@ -319,9 +319,11 @@ void wxListBox::AppendCommon( const wxString &item )
ConnectWidget( list_item );
#ifdef wxUSE_DRAG_AND_DROP
#ifndef NEW_GTK_DND_CODE
if (m_dropTarget) m_dropTarget->RegisterWidget( list_item );
#endif
#endif
}
void wxListBox::Append( const wxString &item )
@@ -650,6 +652,7 @@ int wxListBox::GetIndex( GtkWidget *item ) const
return -1;
}
#ifdef wxUSE_DRAG_AND_DROP
void wxListBox::SetDropTarget( wxDropTarget *dropTarget )
{
wxCHECK_RET( m_list != NULL, "invalid listbox" );
@@ -680,6 +683,7 @@ void wxListBox::SetDropTarget( wxDropTarget *dropTarget )
}
#endif
}
#endif
GtkWidget *wxListBox::GetConnectWidget()
{