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
21891584
Commit
21891584
authored
Jun 14, 2007
by
raburton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore wx2.6 compatibility
parent
335cfc28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
tool_pcb.cpp
pcbnew/tool_pcb.cpp
+11
-2
No files found.
pcbnew/tool_pcb.cpp
View file @
21891584
...
...
@@ -160,10 +160,19 @@ wxMemoryDC iconDC;
in order to delete the MemoryDC safely without deleting the bitmap */
iconDC
.
SelectObject
(
wxNullBitmap
);
if
(
!
m_HToolBar
)
return
;
{
if
(
m_HToolBar
)
{
#if wxCHECK_VERSION(2,8,3)
m_HToolBar
->
SetToolNormalBitmap
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
,
*
LayerPairBitmap
);
#else
int
pos
=
m_HToolBar
->
GetToolPos
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
);
m_HToolBar
->
DeleteTool
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
);
m_HToolBar
->
InsertTool
(
pos
,
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
,
*
LayerPairBitmap
,
wxNullBitmap
,
false
,
NULL
,
_
(
"Show active layer selections
\n
and select layer pair for route and place via"
));
m_HToolBar
->
Realize
();
#endif
}
}
...
...
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