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
bc48b850
Commit
bc48b850
authored
Jan 24, 2012
by
marco.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX: Gerbview mouse fixed
parent
a51dab73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
controle.cpp
gerbview/controle.cpp
+13
-0
No files found.
gerbview/controle.cpp
View file @
bc48b850
...
@@ -85,8 +85,21 @@ void GERBVIEW_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, int aH
...
@@ -85,8 +85,21 @@ void GERBVIEW_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, int aH
if
(
m_canvas
->
IsMouseCaptured
()
)
if
(
m_canvas
->
IsMouseCaptured
()
)
{
{
#ifdef USE_WX_OVERLAY
wxDCOverlay
oDC
(
m_overlay
,
(
wxWindowDC
*
)
aDC
);
oDC
.
Clear
();
m_canvas
->
CallMouseCapture
(
aDC
,
aPosition
,
false
);
#else
m_canvas
->
CallMouseCapture
(
aDC
,
aPosition
,
true
);
m_canvas
->
CallMouseCapture
(
aDC
,
aPosition
,
true
);
#endif
}
}
#ifdef USE_WX_OVERLAY
else
{
m_overlay
.
Reset
();
}
#endif
}
}
if
(
aHotKey
)
if
(
aHotKey
)
...
...
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