diff -r a5977f64d4d9 -r d76f73c7ae5e plugins/c_ext/CFileEditor.py --- a/plugins/c_ext/CFileEditor.py Thu Mar 29 00:14:35 2012 +0200 +++ b/plugins/c_ext/CFileEditor.py Sat Mar 31 15:20:04 2012 +0200 @@ -657,7 +657,9 @@ self.Bind(wx.EVT_MENU, self.GetVariableTypeFunction(datatype), id=new_id) type_menu.AppendMenu(wx.NewId(), "User Data Types", datatype_menu) rect = self.VariablesGrid.BlockToDeviceRect((row, col), (row, col)) + self.VariablesGrid.PopupMenuXY(type_menu, rect.x + rect.width, rect.y + self.VariablesGrid.GetColLabelSize()) + type_menu.Destroy() event.Veto() else: event.Skip()