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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user