Remove wx/wx.h include from some pcb calculator headers

This commit is contained in:
Ian McInerney 2021-06-03 01:39:08 +01:00
parent cf1c75ecd4
commit e5446f8d7d
5 changed files with 9 additions and 3 deletions

View File

@ -22,6 +22,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <wx/app.h>
#include <wx/msgdlg.h>
#include <build_version.h>
#include <class_regulator_data.h>
#include <common.h>

View File

@ -19,7 +19,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <wx/wx.h>
#include <pcb_calculator_datafile_lexer.h>
#include <eda_item.h>

View File

@ -18,6 +18,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <wx/msgdlg.h>
#include "class_regulator_data.h"
#include "pcb_calculator_frame.h"
#include "dialog_regulator_form.h"
@ -93,4 +95,4 @@ REGULATOR_DATA* DIALOG_REGULATOR_FORM::BuildRegulatorFromData()
REGULATOR_DATA* item = new REGULATOR_DATA( m_textCtrlName->GetValue(), vref, type, iadj );
return item;
}
}

View File

@ -25,6 +25,9 @@
#include <cmath>
#include <limits>
#include <wx/colour.h>
#include <wx/settings.h>
#include "transline.h"
#include "units.h"

View File

@ -25,7 +25,6 @@
#define __TRANSLINE_H
#include <gal/color4d.h>
#include <wx/wx.h>
#define TRANSLINE_OK 0
#define TRANSLINE_WARNING 1