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
359f05ad
Commit
359f05ad
authored
Apr 10, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops, wx2.8 compatibility fixes
parent
f687f9ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
single_top.cpp
common/single_top.cpp
+6
-4
No files found.
common/single_top.cpp
View file @
359f05ad
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
*/
*/
#include <typeinfo>
#include <macros.h>
#include <macros.h>
#include <fctsys.h>
#include <fctsys.h>
#include <wx/dynlib.h>
#include <wx/dynlib.h>
...
@@ -234,17 +235,18 @@ struct APP_SINGLE_TOP : public wxApp
...
@@ -234,17 +235,18 @@ struct APP_SINGLE_TOP : public wxApp
}
}
catch
(
const
std
::
exception
&
e
)
catch
(
const
std
::
exception
&
e
)
{
{
wxLogError
(
"Unhandled exception class: %s what: %s"
,
wxLogError
(
wxT
(
"Unhandled exception class: %s what: %s"
)
,
typeid
(
e
).
name
(),
e
.
what
()
);
typeid
(
e
).
name
(),
e
.
what
()
);
}
}
catch
(
const
IO_ERROR
&
ioe
)
catch
(
const
IO_ERROR
&
ioe
)
{
{
wxLogError
(
"Unhandled exception class: %s what: %s"
,
wxLogError
(
wxT
(
"Unhandled exception class: %s what: %s"
),
typeid
(
ioe
).
name
(),
TO_UTF8
(
ioe
.
errorText
)
);
GetChars
(
FROM_UTF8
(
typeid
(
ioe
).
name
()
)
),
GetChars
(
ioe
.
errorText
)
);
}
}
catch
(...)
catch
(...)
{
{
wxLogError
(
"Unhandled exception of unknown type"
);
wxLogError
(
wxT
(
"Unhandled exception of unknown type"
)
);
}
}
return
-
1
;
return
-
1
;
...
...
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