Kick wx.h mostly out of common

This commit is contained in:
Marek Roszko 2021-06-07 18:38:35 -04:00
parent 3a129a623a
commit 0e16db0c25
12 changed files with 15 additions and 14 deletions

View File

@ -34,7 +34,10 @@
#include <wx/utils.h>
#include <wx/stdpaths.h>
#include <wx/url.h>
#include <wx/wx.h>
#ifdef _WIN32
#include <Windows.h>
#endif
int ProcessExecute( const wxString& aCommandLine, int aFlags, wxProcess *callback )

View File

@ -30,7 +30,6 @@
#include <math/util.h> // for KiROUND
#include <wx/config.h> // for wxConfigBase
#include <wx/debug.h> // for wxASSERT
#include <wx/wx.h> // for wxString, operator!=, operator==
void wxConfigLoadParams( wxConfigBase* aCfg, const std::vector<PARAM_CFG*>& aList,
const wxString& aGroup )

View File

@ -30,7 +30,8 @@
#include <kiway_player.h>
#include <id.h>
#include <wx/wx.h>
#include <wx/crt.h>
static const wxString HOSTNAME( wxT( "localhost" ) );

View File

@ -23,8 +23,8 @@
*/
#include <kiway_express.h>
#include <wx/wx.h>
#include <wx/window.h>
//IMPLEMENT_DYNAMIC_CLASS( KIWAY_EXPRESS, wxEvent )

View File

@ -20,7 +20,6 @@
#include <gestfich.h>
#include <launch_ext.h>
#include <wx/wx.h>
void LaunchExternal( const wxString& aPath )

View File

@ -18,7 +18,7 @@
*/
#include <layers_id_colors_and_visibility.h>
#include <wx/wx.h>
#include <wx/translation.h>
/**
* Returns the default display name for a given layer. These are not the same as the canonical

View File

@ -33,7 +33,7 @@
#include <layers_id_colors_and_visibility.h> // for LSET, PCB_LAYER_ID, LSEQ
#include <macros.h> // for arrayDim
#include <wx/debug.h> // for wxASSERT, wxASSERT_MSG
#include <wx/wx.h> // for wxT, wxChar
#include <wx/string.h>
LSET::LSET( const PCB_LAYER_ID* aArray, unsigned aCount ) :

View File

@ -28,8 +28,7 @@
#include <math/util.h>
#include <sstream>
#include <utf.h>
#include <wx/wx.h>
#include <wx/log.h>
const CFB::COMPOUND_FILE_ENTRY* FindStream(
const CFB::CompoundFileReader& aReader, const char* aStreamName )

View File

@ -25,7 +25,7 @@
#include <layers_id_colors_and_visibility.h>
#include <bitmaps.h>
#include <wx/wx.h>
#include <wx/dcmemory.h>
#include <wx/odcombo.h>
#include <wx/menuitem.h>

View File

@ -17,7 +17,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <wx/wx.h>
#include <wx/dcclient.h>
#include <wx/listbox.h>
#include <wx/dataview.h>
#include <wx/stc/stc.h>
#include <widgets/ui_common.h>

View File

@ -23,7 +23,6 @@
#include <wx/tokenzr.h>
#include <wx/dc.h>
#include <wx/wx.h>
#include <widgets/wx_grid.h>
#include <algorithm>

View File

@ -29,9 +29,9 @@
*/
#include <regex>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
#include <wx/regex.h>
#include <wx/wx.h>
#include <wx/translation.h>
bool compareFileExtensions( const std::string& aExtension,
const std::vector<std::string>& aReference, bool aCaseSensitive )