Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
6b548268
Commit
6b548268
authored
Jun 02, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore tabs in symbol font menu, without making the part after it an accelerator.
TODO: check if this also works on other platforms
parent
0f9169b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/data/symbol_font.cpp
src/data/symbol_font.cpp
+7
-1
No files found.
src/data/symbol_font.cpp
View file @
6b548268
...
...
@@ -469,7 +469,13 @@ wxMenu* InsertSymbolMenu::makeMenu(int id, SymbolFont& font) const {
}
wxMenuItem
*
InsertSymbolMenu
::
makeMenuItem
(
wxMenu
*
parent
,
int
first_id
,
SymbolFont
&
font
)
const
{
wxString
menu_name
=
tr
(
font
,
_
(
"menu item"
),
name
,
capitalize
);
menu_name
.
Replace
(
_
(
"
\t
"
),
_
(
" "
));
// ensure that there is not actually an accelerator string,
menu_name
.
Replace
(
_
(
"
\t
"
),
_
(
"
\t
"
));
#ifdef __WXMSW__
menu_name
.
Replace
(
_
(
"
\t
"
),
_
(
"
\t
"
));
// by prepending " "
#else
menu_name
.
Replace
(
_
(
"
\t
"
),
_
(
" "
));
// by simply dropping the \t
#endif
if
(
type
==
ITEM_SUBMENU
)
{
wxMenuItem
*
item
=
new
wxMenuItem
(
parent
,
wxID_ANY
,
menu_name
,
wxEmptyString
,
wxITEM_NORMAL
,
...
...
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