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
c5d1b1b0
Commit
c5d1b1b0
authored
Jul 09, 2007
by
raburton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maintain wx2.6 compatibility
parent
a397c4b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
libs.linux
libs.linux
+1
-1
dialog_edit_module.cpp
pcbnew/dialog_edit_module.cpp
+4
-0
No files found.
libs.linux
View file @
c5d1b1b0
...
...
@@ -14,7 +14,7 @@ STD_INSTALL = 1
ifeq ($(STD_INSTALL), 1)
PREFIX = /usr
KICAD_BIN = $(PREFIX)/
linux
KICAD_BIN = $(PREFIX)/
bin
KICAD_PLUGINS = $(PREFIX)/lib/kicad/plugins
KICAD_DOCS=$(PREFIX)/share/doc/kicad
KICAD_DATA=$(PREFIX)/share/kicad
...
...
pcbnew/dialog_edit_module.cpp
View file @
c5d1b1b0
...
...
@@ -279,11 +279,13 @@ wxString msg;
wxString
attribut_list
[
3
]
=
{
_
(
"Normal"
),
_
(
"Normal+Insert"
),
_
(
"Virtual"
)
};
m_AttributsCtrl
=
new
wxRadioBox
(
m_PanelProperties
,
-
1
,
_
(
"Attributs"
),
wxDefaultPosition
,
wxSize
(
-
1
,
-
1
),
3
,
attribut_list
,
1
);
#if wxCHECK_VERSION(2,8,0)
m_AttributsCtrl
->
SetItemToolTip
(
0
,
_
(
"Use this attribute for most non smd components"
));
m_AttributsCtrl
->
SetItemToolTip
(
1
,
_
(
"Use this attribute for smd components.
\n
Only components with this option are put in the footprint position list file"
));
m_AttributsCtrl
->
SetItemToolTip
(
2
,
_
(
"Use this attribute for
\"
virtual
\"
components drawn on board (like a old ISA PC bus connector)"
));
#endif
PropRightSizer
->
Add
(
m_AttributsCtrl
,
0
,
wxGROW
|
wxALL
,
5
);
switch
(
m_CurrentModule
->
m_Attributs
&
255
)
...
...
@@ -311,8 +313,10 @@ wxString properties_list[2] = { _("Free"), _("Locked")};
wxSize
(
-
1
,
-
1
),
2
,
properties_list
,
1
);
m_AutoPlaceCtrl
->
SetSelection
(
(
m_CurrentModule
->
m_ModuleStatus
&
MODULE_is_LOCKED
)
?
1
:
0
);
#if wxCHECK_VERSION(2,8,0)
m_AutoPlaceCtrl
->
SetItemToolTip
(
0
,
_
(
"Enable hotkey move commands and Auto Placement"
));
m_AutoPlaceCtrl
->
SetItemToolTip
(
1
,
_
(
"Disable hotkey move commands and Auto Placement"
));
#endif
PropRightSizer
->
Add
(
m_AutoPlaceCtrl
,
0
,
wxGROW
|
wxALL
,
5
);
StaticText
=
new
wxStaticText
(
m_PanelProperties
,
-
1
,
_
(
"Rot 90"
));
...
...
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