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
db31daff
Commit
db31daff
authored
Oct 31, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compil issue I created in rev 5242 when KICAD_SCRIPTING_WXPYTHON is ON
parent
4fd2a4da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
python_console_frame.h
pcbnew/scripting/python_console_frame.h
+4
-3
No files found.
pcbnew/scripting/python_console_frame.h
View file @
db31daff
...
...
@@ -29,6 +29,9 @@
#ifndef PYTHON_CONSOLE_FRAME_H_
#define PYTHON_CONSOLE_FRAME_H_
#if defined(KICAD_SCRIPTING) || defined(KICAD_SCRIPTING_WXPYTHON)
#include <python_scripting.h>
#endif
/**
...
...
@@ -51,7 +54,7 @@ public:
wxBoxSizer
*
sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
#if defined(KICAD_SCRIPTING_WXPYTHON)
wxWindow
*
pythonPanel
=
CreatePythonShellWindow
(
pythonPanelFrame
);
wxWindow
*
pythonPanel
=
CreatePythonShellWindow
(
this
);
sizer
->
Add
(
pythonPanel
,
1
,
wxEXPAND
|
wxALL
,
5
);
#endif
SetSizer
(
sizer
);
...
...
@@ -91,8 +94,6 @@ private:
event
.
Skip
();
}
// DECLARE_EVENT_TABLE()
};
#endif // PYTHON_CONSOLE_FRAME_H_
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