Remove GTK2 stuff from src/gtk1. Rename wx/gtk includes to wx/gtk1.

57 files changed, 394 insertions(+), 6767 deletions(-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-01-23 01:14:32 +00:00
parent 9fa72bd2a6
commit 3cbab64109
57 changed files with 403 additions and 6777 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: src/gtk/radiobox.cpp
// Name: src/gtk1/radiobox.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@ -18,10 +18,10 @@
#include "wx/frame.h"
#include "wx/log.h"
#include "wx/gtk/private.h"
#include "wx/gtk1/private.h"
#include <gdk/gdkkeysyms.h>
#include "wx/gtk/win_gtk.h"
#include "wx/gtk1/win_gtk.h"
//-----------------------------------------------------------------------------
// idle system
@@ -385,11 +385,7 @@ wxString wxRadioBox::GetString( int n ) const
GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->GetData()) );
#ifdef __WXGTK20__
wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) );
#else
wxString str( label->label );
#endif
return str;
}
@@ -529,10 +525,6 @@ void wxRadioBox::DoApplyWidgetStyle(GtkRcStyle *style)
{
gtk_widget_modify_style( m_widget, style );
#ifdef __WXGTK20__
gtk_widget_modify_style(GTK_FRAME(m_widget)->label_widget, style);
#endif
wxList::compatibility_iterator node = m_boxes.GetFirst();
while (node)
{