git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14380
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_renameTimer->Stop();
m_lastOnSame = FALSE;
m_renameTimer->Stop();
m_lastOnSame = FALSE;
+#ifdef __WXGTK__
+ // FIXME: wxGTK generates bad sequence of events prior to doubleclick
+ // ("down, up, down, double, up" while other ports
+ // do "down, up, double, up"). We have to have this hack
+ // in place till somebody fixes wxGTK...
if ( current == m_lineBeforeLastClicked )
if ( current == m_lineBeforeLastClicked )
+#else
+ if ( current == m_lineLastClicked )
+#endif
{
SendNotify( current, wxEVT_COMMAND_LIST_ITEM_ACTIVATED );
{
SendNotify( current, wxEVT_COMMAND_LIST_ITEM_ACTIVATED );