Removed old #ifdef from GTK 1.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-03-29 21:11:00 +00:00
parent b5a49d4c52
commit b33c8d22cc
2 changed files with 0 additions and 24 deletions

View File

@ -37,14 +37,6 @@
extern void wxapp_install_idle_handler();
extern bool g_isIdle;
//-------------------------------------------------------------------------
// conditional compilation
//-------------------------------------------------------------------------
#if (GTK_MINOR_VERSION > 0)
#define NEW_GTK_SCROLL_CODE
#endif
//-----------------------------------------------------------------------------
// private functions
//-----------------------------------------------------------------------------
@ -379,11 +371,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
gtk_list_set_selection_mode( GTK_LIST(m_list), mode );
#ifdef NEW_GTK_SCROLL_CODE
gtk_scrolled_window_add_with_viewport( GTK_SCROLLED_WINDOW(m_widget), GTK_WIDGET(m_list) );
#else
gtk_container_add( GTK_CONTAINER(m_widget), GTK_WIDGET(m_list) );
#endif
/* make list scroll when moving the focus down using cursor keys */
gtk_container_set_focus_vadjustment(

View File

@ -37,14 +37,6 @@
extern void wxapp_install_idle_handler();
extern bool g_isIdle;
//-------------------------------------------------------------------------
// conditional compilation
//-------------------------------------------------------------------------
#if (GTK_MINOR_VERSION > 0)
#define NEW_GTK_SCROLL_CODE
#endif
//-----------------------------------------------------------------------------
// private functions
//-----------------------------------------------------------------------------
@ -379,11 +371,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
gtk_list_set_selection_mode( GTK_LIST(m_list), mode );
#ifdef NEW_GTK_SCROLL_CODE
gtk_scrolled_window_add_with_viewport( GTK_SCROLLED_WINDOW(m_widget), GTK_WIDGET(m_list) );
#else
gtk_container_add( GTK_CONTAINER(m_widget), GTK_WIDGET(m_list) );
#endif
/* make list scroll when moving the focus down using cursor keys */
gtk_container_set_focus_vadjustment(