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:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: src/gtk/listbox.cpp
|
||||
// Name: src/gtk1/listbox.cpp
|
||||
// Purpose:
|
||||
// Author: Robert Roebling
|
||||
// Id: $Id$
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "wx/intl.h"
|
||||
#include "wx/checklst.h"
|
||||
#include "wx/settings.h"
|
||||
#include "wx/gtk/private.h"
|
||||
#include "wx/gtk1/private.h"
|
||||
|
||||
#if wxUSE_TOOLTIPS
|
||||
#include "wx/tooltip.h"
|
||||
@@ -887,16 +887,12 @@ wxString wxListBox::GetRealLabel(GList *item) const
|
||||
|
||||
wxString str;
|
||||
|
||||
#ifdef __WXGTK20__
|
||||
str = wxGTK_CONV_BACK( gtk_label_get_text( label ) );
|
||||
#else
|
||||
str = wxString( label->label );
|
||||
#endif
|
||||
|
||||
#if wxUSE_CHECKLISTBOX
|
||||
// checklistboxes have "[<5B>] " prepended to their lables, remove it
|
||||
//
|
||||
// NB: 4 below is the length of wxCHECKLBOX_STRING from wx/gtk/checklst.h
|
||||
// NB: 4 below is the length of wxCHECKLBOX_STRING from wx/gtk1/checklst.h
|
||||
if ( m_hasCheckBoxes )
|
||||
str.erase(0, 4);
|
||||
#endif // wxUSE_CHECKLISTBOX
|
||||
|
Reference in New Issue
Block a user