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
85ffff88
Commit
85ffff88
authored
Mar 14, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed all: redraw screen (F3 key) not working under Linux (seems a wxGTK problem)
parent
e5390617
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
zoom.cpp
common/zoom.cpp
+8
-2
No files found.
common/zoom.cpp
View file @
85ffff88
...
@@ -98,8 +98,12 @@ void WinEDA_DrawFrame::Window_Zoom( EDA_Rect& Rect )
...
@@ -98,8 +98,12 @@ void WinEDA_DrawFrame::Window_Zoom( EDA_Rect& Rect )
}
}
/******************************************************
***********
/
/******************************************************/
void
WinEDA_DrawFrame
::
OnZoom
(
wxCommandEvent
&
event
)
void
WinEDA_DrawFrame
::
OnZoom
(
wxCommandEvent
&
event
)
/******************************************************/
/** Function OnZoom(
* Called from any zoom event (toolbar , hotkey or popup )
*/
{
{
if
(
DrawPanel
==
NULL
)
if
(
DrawPanel
==
NULL
)
{
{
...
@@ -138,7 +142,9 @@ void WinEDA_DrawFrame::OnZoom( wxCommandEvent& event )
...
@@ -138,7 +142,9 @@ void WinEDA_DrawFrame::OnZoom( wxCommandEvent& event )
break
;
break
;
case
ID_ZOOM_REDRAW
:
case
ID_ZOOM_REDRAW
:
DrawPanel
->
Refresh
();
// DrawPanel->Refresh(); usually good,
// but does not work under linux, when called from here (wxGTK bug ?)
ReDrawPanel
();
break
;
break
;
case
ID_POPUP_ZOOM_CENTER
:
case
ID_POPUP_ZOOM_CENTER
:
...
...
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