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
fc4f9195
Commit
fc4f9195
authored
Nov 13, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wx2.8 strings compatibility.
parent
17980792
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
opengl_gal.cpp
common/gal/opengl/opengl_gal.cpp
+2
-2
tool_manager.cpp
common/tool/tool_manager.cpp
+2
-2
No files found.
common/gal/opengl/opengl_gal.cpp
View file @
fc4f9195
...
...
@@ -1053,8 +1053,8 @@ void CALLBACK ErrorCallback( GLenum aErrorCode )
{
const
GLubyte
*
eString
=
gluErrorString
(
aErrorCode
);
DisplayError
(
NULL
,
wx
String
(
std
::
string
(
"Tessellation error: "
)
+
std
::
string
(
(
const
char
*
)(
eString
)
)
)
);
DisplayError
(
NULL
,
wx
T
(
"Tessellation error: "
)
+
wxString
(
(
const
char
*
)(
eString
),
wxConvUTF8
)
);
exit
(
1
);
}
...
...
common/tool/tool_manager.cpp
View file @
fc4f9195
...
...
@@ -139,8 +139,8 @@ void TOOL_MANAGER::RegisterTool( TOOL_BASE* aTool )
{
if
(
!
static_cast
<
TOOL_INTERACTIVE
*>
(
aTool
)
->
Init
()
)
{
DisplayError
(
NULL
,
wx
String
(
std
::
string
(
"Initialization of the %s tool failed"
)
+
aTool
->
GetName
()
)
);
DisplayError
(
NULL
,
wx
T
(
"Initialization of the %s tool failed"
)
+
wxString
(
aTool
->
GetName
().
c_str
(),
wxConvUTF8
)
);
// Unregister the tool
m_toolState
.
erase
(
aTool
);
...
...
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