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
ba39dac2
Commit
ba39dac2
authored
Sep 11, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wxWidgets 2.8 compatibility
parent
b5d27a56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
dialog_erc.cpp
eeschema/dialogs/dialog_erc.cpp
+5
-6
No files found.
eeschema/dialogs/dialog_erc.cpp
View file @
ba39dac2
...
@@ -188,12 +188,11 @@ void DIALOG_ERC::ReBuildMatrixPanel()
...
@@ -188,12 +188,11 @@ void DIALOG_ERC::ReBuildMatrixPanel()
wxStaticText
*
text
;
wxStaticText
*
text
;
wxSize
BoxMatrixMinSize
;
wxSize
BoxMatrixMinSize
;
// Try to know the size of bitmaps used in drc matrix
// Try to know the size of bitmap button used in drc matrix
wxBitmap
bitmap
=
KiBitmap
(
ercwarn_xpm
);
wxBitmapButton
*
dummy
=
new
wxBitmapButton
(
m_PanelERCOptions
,
wxID_ANY
,
wxSize
bitmap_size
=
bitmap
.
GetSize
();
KiBitmap
(
ercerr_xpm
)
);
wxSize
bitmap_size
=
dummy
->
GetSize
();
bitmap_size
.
x
+=
5
;
delete
dummy
;
bitmap_size
.
y
+=
8
;
// Add a margin around the bitmap
if
(
!
DiagErcTableInit
)
if
(
!
DiagErcTableInit
)
{
{
...
...
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