Add missing required header to wx/generic/private/grid.h

Make this header self-sufficient, instead of requiring wx/headerctrl.h
to be included before including it.

Remove the now unnecessary wx/headerctrl.h inclusion from
src/generic/grideditors.cpp.
This commit is contained in:
Vadim Zeitlin 2019-11-09 01:03:26 +01:00
parent 53ffbf6cf5
commit 6a21d6f2e4
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,8 @@
#if wxUSE_GRID
#include "wx/headerctrl.h"
// Internally used (and hence intentionally not exported) event telling wxGrid
// to hide the currently shown editor.
wxDECLARE_EVENT( wxEVT_GRID_HIDE_EDITOR, wxCommandEvent );

View File

@ -37,7 +37,6 @@
#include "wx/spinctrl.h"
#include "wx/tokenzr.h"
#include "wx/renderer.h"
#include "wx/headerctrl.h"
#include "wx/datectrl.h"
#include "wx/generic/gridsel.h"