Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e6c20adc
Commit
e6c20adc
authored
Sep 26, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed premature highlighting of options in CONTEXT_MENU.
parent
12b8714a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
context_menu.cpp
common/tool/context_menu.cpp
+2
-2
No files found.
common/tool/context_menu.cpp
View file @
e6c20adc
...
@@ -37,7 +37,7 @@ CONTEXT_MENU::CONTEXT_MENU() :
...
@@ -37,7 +37,7 @@ CONTEXT_MENU::CONTEXT_MENU() :
NULL
,
&
m_handler
);
NULL
,
&
m_handler
);
// Workaround for the case when mouse cursor never reaches menu (it hangs up tools using menu)
// Workaround for the case when mouse cursor never reaches menu (it hangs up tools using menu)
wxMenuEvent
menuEvent
(
wxEVT_MENU_HIGHLIGHT
,
0
,
&
m_menu
);
wxMenuEvent
menuEvent
(
wxEVT_MENU_HIGHLIGHT
,
-
1
,
&
m_menu
);
m_menu
.
AddPendingEvent
(
menuEvent
);
m_menu
.
AddPendingEvent
(
menuEvent
);
}
}
...
@@ -51,7 +51,7 @@ CONTEXT_MENU::CONTEXT_MENU( const CONTEXT_MENU& aMenu ) :
...
@@ -51,7 +51,7 @@ CONTEXT_MENU::CONTEXT_MENU( const CONTEXT_MENU& aMenu ) :
NULL
,
&
m_handler
);
NULL
,
&
m_handler
);
// Workaround for the case when mouse cursor never reaches menu (it hangs up tools using menu)
// Workaround for the case when mouse cursor never reaches menu (it hangs up tools using menu)
wxMenuEvent
menuEvent
(
wxEVT_MENU_HIGHLIGHT
,
0
,
&
m_menu
);
wxMenuEvent
menuEvent
(
wxEVT_MENU_HIGHLIGHT
,
-
1
,
&
m_menu
);
m_menu
.
AddPendingEvent
(
menuEvent
);
m_menu
.
AddPendingEvent
(
menuEvent
);
// Copy all the menu entries
// Copy all the menu entries
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment