Added Pop-up menus.
Hunted down bug in dnd Changed widget, that wxWin connects to in certain case (in controls, where m_widget is not the connect widget, such as list control and text control) Compile fixes all over git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -167,7 +167,7 @@ void wxListBox::Delete( int n )
|
||||
wxNode *node = m_clientData.Nth( n );
|
||||
if (!node)
|
||||
{
|
||||
wxFAIL_MSG(_("wxListBox::Delete wrong index"));
|
||||
wxFAIL_MSG("wxListBox::Delete wrong index");
|
||||
}
|
||||
else
|
||||
m_clientData.DeleteNode( node );
|
||||
@@ -347,7 +347,7 @@ int wxListBox::GetIndex( GtkWidget *item ) const
|
||||
return -1;
|
||||
};
|
||||
|
||||
GtkWidget *wxListBox::GetDropTargetWidget(void)
|
||||
GtkWidget *wxListBox::GetConnectWidget(void)
|
||||
{
|
||||
return GTK_WIDGET(m_list);
|
||||
};
|
||||
|
Reference in New Issue
Block a user