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
064fcf54
Commit
064fcf54
authored
Sep 23, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change to compile pcbnew, without png icon
parent
0f636a98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
menubar.cpp
eeschema/menubar.cpp
+3
-11
No files found.
eeschema/menubar.cpp
View file @
064fcf54
...
...
@@ -18,7 +18,6 @@
#include "id.h"
#include "hotkeys.h"
#include "icons.h"
/************************************************/
void
WinEDA_SchematicFrame
::
ReCreateMenuBar
()
...
...
@@ -33,11 +32,6 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
if
(
menuBar
==
NULL
)
{
wxImage
::
AddHandler
(
new
wxPNGHandler
);
/* Support PNG Images */
initialise_icons
();
menuBar
=
new
wxMenuBar
();
m_FilesMenu
=
new
wxMenu
;
...
...
@@ -143,8 +137,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item
=
new
wxMenuItem
(
editMenu
,
ID_SCHEMATIC_REDO
,
msg
,
_
(
"Redo the last undo command"
),
wxITEM_NORMAL
);
extern
wxBitmap
zoom_in_png
;
item
->
SetBitmap
(
zoom_in_png
);
item
->
SetBitmap
(
redo_xpm
);
editMenu
->
Append
(
item
);
editMenu
->
AppendSeparator
();
...
...
@@ -160,8 +153,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item
=
new
wxMenuItem
(
editMenu
,
ID_FIND_ITEMS
,
_
(
"Find"
),
_
(
"Find components and texts"
),
wxITEM_NORMAL
);
extern
wxBitmap
edit_find_png
;
item
->
SetBitmap
(
edit_find_png
);
item
->
SetBitmap
(
find_xpm
);
editMenu
->
Append
(
item
);
editMenu
->
AppendSeparator
();
...
...
@@ -179,7 +171,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_IN_BUTT
,
msg
,
_
(
"Zoom in"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
find
_xpm
);
item
->
SetBitmap
(
zoom_in
_xpm
);
viewMenu
->
Append
(
item
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Schematic_Hokeys_Descr
,
...
...
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