It's now possible to drag a listbox filled with entries

Removed #ifdef 0 from resource.cpp around reading code
    for wxRadioBox
  #ifdeffed a Refresh call that causes DialogEd to dump
   code in wxGTK when deleting an item
  Suppressed some warnings
  Readded socket stuffto gtk.inc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-08 18:21:16 +00:00
parent c740f49634
commit c058d77142
11 changed files with 58 additions and 20 deletions

View File

@@ -426,4 +426,19 @@ void wxListBox::SetFont( const wxFont &font )
}
}
bool wxListBox::IsOwnGtkWindow( GdkWindow *window )
{
if (wxWindow::IsOwnGtkWindow( window )) return TRUE;
GList *child = m_list->children;
while (child)
{
GtkBin *bin = (GtkBin*) child->data;
if (bin->child->window == window) return TRUE;
child = child->next;
}
return FALSE;
}