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
d1e137d6
Commit
d1e137d6
authored
Sep 29, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Newest wxWidgets does not support wxString.GetData()
parent
7e93bb19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
dialog_design_rules.cpp
pcbnew/dialog_design_rules.cpp
+11
-9
No files found.
pcbnew/dialog_design_rules.cpp
View file @
d1e137d6
...
...
@@ -101,17 +101,19 @@ void DIALOG_DESIGN_RULES::PrintCurrentSettings( )
wxString
msg
,
value
;
int
internal_units
=
m_Parent
->
m_InternalUnits
;
m_MessagesList
->
AppendToPage
(
_
(
"<b>Current general setting:</b><br>"
)
);
m_MessagesList
->
AppendToPage
(
_
(
"<b>Current general setting
s
:</b><br>"
)
);
// Display min values:
value
=
ReturnStringFromValue
(
g_UnitMetric
,
g_DesignSettings
.
m_TrackMinWidth
,
internal_units
,
true
);
msg
.
Printf
(
_
(
"Minimum value for tracks width: <b>%s</b><br>
\n
"
),
value
.
GetData
(
)
);
msg
.
Printf
(
_
(
"Minimum value for tracks width: <b>%s</b><br>
\n
"
),
GetChars
(
value
)
);
m_MessagesList
->
AppendToPage
(
msg
);
value
=
ReturnStringFromValue
(
g_UnitMetric
,
g_DesignSettings
.
m_ViasMinSize
,
internal_units
,
true
);
msg
.
Printf
(
_
(
"Minimum value for vias diameter: <b>%s</b><br>
\n
"
),
value
.
GetData
(
)
);
msg
.
Printf
(
_
(
"Minimum value for vias diameter: <b>%s</b><br>
\n
"
),
GetChars
(
value
)
);
m_MessagesList
->
AppendToPage
(
msg
);
value
=
ReturnStringFromValue
(
g_UnitMetric
,
g_DesignSettings
.
m_MicroViasMinSize
,
internal_units
,
true
);
msg
.
Printf
(
_
(
"Minimum value for microvias diameter: <b>%s</b><br>
\n
"
),
value
.
GetData
(
)
);
msg
.
Printf
(
_
(
"Minimum value for microvias diameter: <b>%s</b><br>
\n
"
),
GetChars
(
value
)
);
m_MessagesList
->
AppendToPage
(
msg
);
}
...
...
@@ -382,7 +384,7 @@ void DIALOG_DESIGN_RULES::CopyRulesListToBoard()
// Should not occur because OnAddNetclassClick() tests for existing NetClass names
wxString
msg
;
msg
.
Printf
(
wxT
(
"CopyRulesListToBoard(): The NetClass
\"
%s
\"
already exists. Skip"
),
m_grid
->
GetRowLabelValue
(
row
).
GetData
(
)
);
GetChars
(
m_grid
->
GetRowLabelValue
(
row
)
)
);
wxMessageBox
(
msg
);
delete
nc
;
continue
;
...
...
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