Remove unnecessary headers from wxPropertyGrid files

Currently there are included plenty of headers which are apparently not necessary.
This commit is contained in:
Artur Wieczorek
2019-08-04 20:15:01 +02:00
parent c623d9cfc5
commit eca1e857fe
16 changed files with 28 additions and 198 deletions

View File

@@ -18,41 +18,12 @@
#if wxUSE_PROPGRID
#ifndef WX_PRECOMP
#include "wx/defs.h"
#include "wx/object.h"
#include "wx/hash.h"
#include "wx/string.h"
#include "wx/log.h"
#include "wx/event.h"
#include "wx/window.h"
#include "wx/panel.h"
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/button.h"
#include "wx/pen.h"
#include "wx/brush.h"
#include "wx/cursor.h"
#include "wx/dialog.h"
#include "wx/settings.h"
#include "wx/msgdlg.h"
#include "wx/choice.h"
#include "wx/stattext.h"
#include "wx/scrolwin.h"
#include "wx/dirdlg.h"
#include "wx/sizer.h"
#include "wx/textdlg.h"
#include "wx/filedlg.h"
#include "wx/statusbr.h"
#include "wx/intl.h"
#include "wx/frame.h"
#include "wx/textctrl.h"
#endif
#include "wx/timer.h"
#include "wx/dcbuffer.h"
#include "wx/bmpbuttn.h"
#include "wx/odcombo.h"
// This define is necessary to prevent macro clearing
#define __wxPG_SOURCE_FILE__
@@ -74,8 +45,6 @@
#define wxPG_BUTTON_SIZEDEC 0
#include "wx/odcombo.h"
// -----------------------------------------------------------------------
#if defined(__WXMSW__)