remove unused function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -199,24 +199,6 @@ GtkWidget *GetEntryWidget()
|
||||
return s_entry;
|
||||
}
|
||||
|
||||
// used elsewhere
|
||||
GtkWidget *GetScrolledWidget()
|
||||
{
|
||||
static GtkWidget *s_entry = NULL;
|
||||
static GtkWidget *s_window = NULL;
|
||||
|
||||
if ( !s_entry )
|
||||
{
|
||||
s_window = gtk_window_new( GTK_WINDOW_POPUP );
|
||||
gtk_widget_realize( s_window );
|
||||
s_entry = gtk_scrolled_window_new( NULL, NULL);
|
||||
gtk_container_add( GTK_CONTAINER(s_window), s_entry );
|
||||
gtk_widget_realize( s_entry );
|
||||
}
|
||||
|
||||
return s_entry;
|
||||
}
|
||||
|
||||
// This one just gets the button used by the column header. Although it's
|
||||
// still a gtk_button the themes will typically differentiate and draw them
|
||||
// differently if the button is in a treeview.
|
||||
|
Reference in New Issue
Block a user