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
e1290101
Commit
e1290101
authored
Sep 29, 2013
by
Maciej Sumiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed strings for wxWidgets 2.8
parent
35721397
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
context_menu.cpp
common/tool/context_menu.cpp
+4
-3
tool_manager.cpp
common/tool/tool_manager.cpp
+1
-1
worksheet_item.cpp
common/worksheet_item.cpp
+2
-2
move_tool.cpp
pcbnew/tools/move_tool.cpp
+1
-1
No files found.
common/tool/context_menu.cpp
View file @
e1290101
...
...
@@ -103,12 +103,13 @@ void CONTEXT_MENU::Add( const TOOL_ACTION& aAction )
wxString
menuEntry
;
if
(
aAction
.
HasHotKey
()
)
menuEntry
=
wxString
(
aAction
.
GetMenuItem
()
+
'\t'
+
getHotKeyDescription
(
aAction
)
);
menuEntry
=
wxString
(
(
aAction
.
GetMenuItem
()
+
'\t'
+
getHotKeyDescription
(
aAction
)
).
c_str
(),
wxConvUTF8
);
else
menuEntry
=
wxString
(
aAction
.
GetMenuItem
()
);
menuEntry
=
wxString
(
aAction
.
GetMenuItem
()
.
c_str
(),
wxConvUTF8
);
m_menu
.
Append
(
new
wxMenuItem
(
&
m_menu
,
id
,
menuEntry
,
wxString
(
aAction
.
GetDescription
()
),
wxITEM_NORMAL
)
);
wxString
(
aAction
.
GetDescription
()
.
c_str
(),
wxConvUTF8
),
wxITEM_NORMAL
)
);
m_toolActions
[
id
]
=
&
aAction
;
}
...
...
common/tool/tool_manager.cpp
View file @
e1290101
...
...
@@ -139,7 +139,7 @@ void TOOL_MANAGER::RegisterTool( TOOL_BASE* aTool )
bool
initState
=
static_cast
<
TOOL_INTERACTIVE
*>
(
aTool
)
->
Init
();
if
(
!
initState
)
{
wxLogError
(
wxT
(
"Initialization of the %s tool failed"
),
aTool
->
GetName
()
);
wxLogError
(
wxT
(
"Initialization of the %s tool failed"
),
aTool
->
GetName
()
.
c_str
()
);
// Unregister the tool
m_toolState
.
erase
(
aTool
);
...
...
common/worksheet_item.cpp
View file @
e1290101
...
...
@@ -79,8 +79,8 @@ const BOX2I WORKSHEET_ITEM::ViewBBox() const
void
WORKSHEET_ITEM
::
ViewDraw
(
int
aLayer
,
GAL
*
aGal
)
const
{
RENDER_SETTINGS
*
settings
=
m_view
->
GetPainter
()
->
GetSettings
();
wxString
fileName
(
m_fileName
);
wxString
sheetName
(
m_sheetName
);
wxString
fileName
(
m_fileName
.
c_str
(),
wxConvUTF8
);
wxString
sheetName
(
m_sheetName
.
c_str
(),
wxConvUTF8
);
WS_DRAW_ITEM_LIST
drawList
;
drawList
.
SetPenSize
(
settings
->
GetWorksheetLineWidth
()
);
...
...
pcbnew/tools/move_tool.cpp
View file @
e1290101
...
...
@@ -68,7 +68,7 @@ bool MOVE_TOOL::Init()
}
else
{
wxLogError
(
"pcbnew.InteractiveSelection tool is not available"
);
wxLogError
(
wxT
(
"pcbnew.InteractiveSelection tool is not available"
)
);
return
false
;
}
...
...
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