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
a96c5379
Commit
a96c5379
authored
Apr 18, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed non-GAL build.
parent
e4bac0d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drawframe.cpp
common/drawframe.cpp
+2
-0
pcbframe.cpp
pcbnew/pcbframe.cpp
+1
-1
No files found.
common/drawframe.cpp
View file @
a96c5379
...
...
@@ -945,6 +945,7 @@ void EDA_DRAW_FRAME::AdjustScrollBars( const wxPoint& aCenterPositionIU )
void
EDA_DRAW_FRAME
::
UseGalCanvas
(
bool
aEnable
)
{
#ifdef KICAD_GAL
if
(
aEnable
&&
m_galCanvasActive
)
{
// When we switch between GAL based canvases, all we need is a refresh
...
...
@@ -986,4 +987,5 @@ void EDA_DRAW_FRAME::UseGalCanvas( bool aEnable )
}
m_galCanvasActive
=
aEnable
;
#endif
/* KICAD_GAL */
}
pcbnew/pcbframe.cpp
View file @
a96c5379
...
...
@@ -417,7 +417,7 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( wxWindow* parent, const wxString& title,
wxAuiPaneInfo
().
Name
(
wxT
(
"DrawFrame"
)
).
CentrePane
()
);
if
(
m_galCanvas
)
m_auimgr
.
AddPane
(
m_galCanvas
,
m_auimgr
.
AddPane
(
(
wxWindow
*
)
m_galCanvas
,
wxAuiPaneInfo
().
Name
(
wxT
(
"DrawFrameGal"
)
).
CentrePane
().
Hide
()
);
if
(
m_messagePanel
)
...
...
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