Permalink
Browse files

wx/tglbtn.h already includes #if wxUSE_TOGGLEBTN inside

  • Loading branch information...
specing committed Aug 18, 2018
1 parent 3f422bf commit d8f5d2b813d1873651ab41259268b90c764f3712
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/battlelist/battlelisttab.cpp
@@ -11,10 +11,11 @@
#include <wx/statline.h>
#include <wx/stattext.h>
#include <wx/textdlg.h>
#include <wx/tglbtn.h>
#include <set>
#include <stdexcept>

#if wxUSE_TOGGLEBTN
#include <wx/tglbtn.h>
#define EVT_TOGGLEORCHECK EVT_TOGGLEBUTTON
#else
#define EVT_TOGGLEORCHECK EVT_CHECKBOX

0 comments on commit d8f5d2b

Please sign in to comment.