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
b87d0341
Commit
b87d0341
authored
Oct 29, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Plain Diff
Cvpcb, fp conflict assignment selector: fix issue on Linux.
parents
f86eb756
6f99e608
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
29 deletions
+12
-29
fp_conflict_assignment_selector.cpp
cvpcb/dialogs/fp_conflict_assignment_selector.cpp
+10
-27
fp_conflict_assignment_selector_base.cpp
cvpcb/dialogs/fp_conflict_assignment_selector_base.cpp
+1
-1
fp_conflict_assignment_selector_base.fbp
cvpcb/dialogs/fp_conflict_assignment_selector_base.fbp
+1
-1
No files found.
cvpcb/dialogs/fp_conflict_assignment_selector.cpp
View file @
b87d0341
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
::
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
(
wxWindow
*
aParent
)
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
::
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
(
wxWindow
*
aParent
)
:
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE
(
aParent
)
:
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE
(
aParent
)
{
{
m_listFp
->
InsertColumn
(
0
,
_
(
"Ref"
)
);
m_listFp
->
AppendColumn
(
_
(
"Ref"
)
);
m_listFp
->
InsertColumn
(
1
,
_
(
"Schematic assignment"
)
);
m_listFp
->
AppendColumn
(
_
(
"Schematic assignment"
)
);
m_listFp
->
InsertColumn
(
2
,
wxT
(
"<="
)
);
m_listFp
->
AppendColumn
(
wxT
(
"<="
)
);
m_listFp
->
InsertColumn
(
3
,
wxT
(
"=>"
)
);
m_listFp
->
AppendColumn
(
wxT
(
"=>"
)
);
m_listFp
->
InsertColumn
(
4
,
_
(
"Cmp file assignment"
)
);
m_listFp
->
AppendColumn
(
_
(
"Cmp file assignment"
)
);
m_lineCount
=
0
;
m_lineCount
=
0
;
}
}
...
@@ -46,29 +46,12 @@ DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR::DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR(
...
@@ -46,29 +46,12 @@ DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR::DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR(
void
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
::
Add
(
const
wxString
&
aRef
,
const
wxString
&
aFpSchName
,
void
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR
::
Add
(
const
wxString
&
aRef
,
const
wxString
&
aFpSchName
,
const
wxString
&
aFpCmpName
)
const
wxString
&
aFpCmpName
)
{
{
wxListItem
item
;
long
idx
=
m_listFp
->
InsertItem
(
m_lineCount
,
aRef
)
;
item
.
SetId
(
m_lineCount
);
m_listFp
->
SetItem
(
idx
,
COL_FPSCH
,
aFpSchName
);
item
.
SetText
(
aRef
);
m_listFp
->
SetItem
(
idx
,
COL_SELSCH
,
wxT
(
""
)
);
item
.
SetColumn
(
COL_REF
);
m_listFp
->
SetItem
(
idx
,
COL_SELCMP
,
wxT
(
"X"
)
);
m_listFp
->
InsertItem
(
item
);
m_listFp
->
SetItem
(
idx
,
COL_FPCMP
,
aFpCmpName
);
item
.
SetText
(
aFpSchName
);
item
.
SetColumn
(
COL_FPSCH
);
m_listFp
->
SetItem
(
item
);
item
.
SetText
(
wxT
(
""
)
);
item
.
SetColumn
(
COL_SELSCH
);
m_listFp
->
SetItem
(
item
);
item
.
SetText
(
wxT
(
"X"
)
);
item
.
SetColumn
(
COL_SELCMP
);
m_listFp
->
SetItem
(
item
);
item
.
SetText
(
aFpCmpName
);
item
.
SetColumn
(
COL_FPCMP
);
m_listFp
->
SetItem
(
item
);
m_lineCount
++
;
m_lineCount
++
;
}
}
...
...
cvpcb/dialogs/fp_conflict_assignment_selector_base.cpp
View file @
b87d0341
...
@@ -20,7 +20,7 @@ DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE::DIALOG_FP_CONFLICT_ASSIGNMENT_SELEC
...
@@ -20,7 +20,7 @@ DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE::DIALOG_FP_CONFLICT_ASSIGNMENT_SELEC
m_staticTextInfo
->
Wrap
(
-
1
);
m_staticTextInfo
->
Wrap
(
-
1
);
bSizerMain
->
Add
(
m_staticTextInfo
,
0
,
wxALL
|
wxEXPAND
,
5
);
bSizerMain
->
Add
(
m_staticTextInfo
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_listFp
=
new
wxListCtrl
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLC_HRULES
|
wxLC_
ICON
|
wxLC_
REPORT
|
wxLC_SINGLE_SEL
|
wxLC_VRULES
);
m_listFp
=
new
wxListCtrl
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLC_HRULES
|
wxLC_REPORT
|
wxLC_SINGLE_SEL
|
wxLC_VRULES
);
bSizerMain
->
Add
(
m_listFp
,
1
,
wxALL
|
wxEXPAND
,
5
);
bSizerMain
->
Add
(
m_listFp
,
1
,
wxALL
|
wxEXPAND
,
5
);
m_sdbSizer
=
new
wxStdDialogButtonSizer
();
m_sdbSizer
=
new
wxStdDialogButtonSizer
();
...
...
cvpcb/dialogs/fp_conflict_assignment_selector_base.fbp
View file @
b87d0341
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxLC_HRULES|wxLC_
ICON|wxLC_
REPORT|wxLC_SINGLE_SEL|wxLC_VRULES
</property>
<property
name=
"style"
>
wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES
</property>
<property
name=
"subclass"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
></property>
...
...
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