Skip to content

Commit da3ae74

Browse files
author
Tim S
committed
- PythonInterpreter: PCH code fixes
1 parent 0d27f14 commit da3ae74

5 files changed

Lines changed: 15 additions & 27 deletions

File tree

PythonInterpreter/PythonInterpCtrl.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
#ifndef PPCTRL_H
22
#define PPCTRL_H
33

4-
#include <wx/wxprec.h>
5-
6-
#ifndef WX_PRECOMP
7-
#include <wx/wx.h>
4+
#ifndef WX_PRECOMP
5+
#include <wx/splitter.h>
86
#endif
97

108
#include "xmlrpc_embedder.h"
119
#include "ShellCtrlBase.h"
1210
#include "editormanager.h"
1311
#include "cbstyledtextctrl.h"
1412

15-
#include <sdk.h>
16-
1713
class PythonInterpCtrl;
1814

1915
class PythonCodeCtrl: public cbStyledTextCtrl

PythonInterpreter/PythonInterpreter.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
#include "PythonInterpreter.h"
2-
1+
#include <wx/menu.h>
2+
#include <wx/regex.h>
3+
34
#include <configurationpanel.h>
4-
#include <wx/regex.h>
55

66
//#include "ConfigDialog.h"
77
#ifdef TOOLSPLUSLINK
88
#include "ToolsPlus.h"
9-
#endif
9+
#endif
10+
11+
#include "PythonInterpreter.h"
1012

1113
// Register the plugin with Code::Blocks.
1214
// We are using an anonymous namespace so we don't litter the global one.

PythonInterpreter/PythonInterpreter.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@
1010
#ifndef PYTHONPLUGIN_H_INCLUDED
1111
#define PYTHONPLUGIN_H_INCLUDED
1212

13-
// For compilers that support precompilation, includes <wx/wx.h>
14-
#include <wx/wxprec.h>
15-
16-
#ifndef WX_PRECOMP
17-
#include <wx/wx.h>
18-
#endif
19-
20-
#include <sdk.h>
2113
#include <cbplugin.h> // for "class cbPlugin"
2214

2315
#include "ShellCtrlBase.h"

PythonInterpreter/ShellCtrlBase.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
#include <wx/artprov.h>
2+
#include <wx/button.h>
13
#include <wx/notebook.h>
24
#include <wx/textctrl.h>
35
#include <wx/regex.h>
6+
7+
#include <globals.h>
8+
#include <logmanager.h>
9+
#include <manager.h>
10+
411
#include "ShellCtrlBase.h"
5-
#include <globals.h>
612

713
// The global instance of the shell registry
814
ShellRegistry& GlobalShellRegistry()

PythonInterpreter/ShellCtrlBase.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,8 @@
44
#include <map>
55

66

7-
#include <wx/wxprec.h>
8-
9-
#ifndef WX_PRECOMP
10-
#include <wx/wx.h>
11-
#endif
12-
13-
147
#include <wx/process.h>
158
#include <wx/aui/aui.h>
16-
#include <sdk.h>
179

1810
// CLASSES DEFINED IN THIS LIBRARY
1911
class ShellManager; //Manages the collection of Shell Control Widgets allowing user interaction with external processes within a tabbed notepage - usually the main app (or some plugin) will declare a global instance of this manager. See the full declaration below for more detail

0 commit comments

Comments
 (0)