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
efc15348
Commit
efc15348
authored
May 05, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operator << (wxString, wxPoint)
parent
d9ce1e27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
common.cpp
common/common.cpp
+16
-2
No files found.
common/common.cpp
View file @
efc15348
...
...
@@ -247,8 +247,8 @@ void* MyMalloc( size_t nb_octets )
bool
ProcessExecute
(
const
wxString
&
aCommandLine
,
int
aFlags
)
{
#ifdef __WINDOWS__
wxExecute
(
aCommandLine
);
return
true
;
wxExecute
(
aCommandLine
);
return
true
;
#else
wxProcess
*
process
=
wxProcess
::
Open
(
aCommandLine
,
aFlags
);
return
process
!=
NULL
;
...
...
@@ -466,3 +466,17 @@ const wxString& valeur_param( int valeur, wxString& buf_texte )
return
buf_texte
;
}
wxString
&
operator
<<
(
wxString
&
aString
,
const
wxPoint
&
aPos
)
{
wxString
temp
;
aString
<<
wxT
(
"@ ("
)
<<
valeur_param
(
aPos
.
x
,
temp
);
aString
<<
wxT
(
","
)
<<
valeur_param
(
aPos
.
y
,
temp
);
aString
<<
wxT
(
")"
);
return
aString
;
}
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