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
af433f80
Commit
af433f80
authored
Feb 23, 2013
by
Baranoviskiy Konstantin
Committed by
Wayne Stambaugh
Feb 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant Eeschema plot submenu on platforms that do not support plot to clipboard.
parent
facde96e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
menubar.cpp
eeschema/menubar.cpp
+15
-5
No files found.
eeschema/menubar.cpp
View file @
af433f80
...
...
@@ -36,7 +36,6 @@
#include <wxEeschemaStruct.h>
#include <general.h>
//#include <protos.h>
#include <eeschema_id.h>
#include <hotkeys.h>
#include <menus_helpers.h>
...
...
@@ -145,6 +144,8 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
_
(
"Print schematic"
),
KiBitmap
(
print_button_xpm
)
);
#ifdef __WINDOWS__ // __WINDOWS__
// Plot submenu
wxMenu
*
choice_plot_fmt
=
new
wxMenu
;
AddMenuItem
(
choice_plot_fmt
,
ID_GEN_PLOT_SCHEMATIC
,
...
...
@@ -153,21 +154,30 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
KiBitmap
(
plot_xpm
)
);
// Plot to Clipboard (Windows only)
#ifdef __WINDOWS__
AddMenuItem
(
choice_plot_fmt
,
ID_GEN_COPY_SHEET_TO_CLIPBOARD
,
_
(
"Plot to &Clipboard"
),
_
(
"Export drawings to clipboard"
),
KiBitmap
(
copy_button_xpm
)
);
#endif // __WINDOWS__
// Plot submenu
// Plot
AddMenuItem
(
fileMenu
,
choice_plot_fmt
,
ID_GEN_PLOT
,
_
(
"&Plot"
),
_
(
"Plot schematic sheet in HPGL, PostScript or SVG format"
),
KiBitmap
(
plot_xpm
)
);
#else // Other
// Plot
AddMenuItem
(
fileMenu
,
ID_GEN_PLOT_SCHEMATIC
,
_
(
"&Plot"
),
_
(
"Plot schematic sheet in HPGL, PostScript or SVG format"
),
KiBitmap
(
plot_xpm
)
);
#endif
// Separator
fileMenu
->
AppendSeparator
();
...
...
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