Include cstdint for wx
Close #1065 Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
7d9cb2b5f0
commit
1c2a62f055
|
@ -4,6 +4,7 @@
|
|||
#include "nonstd/variant.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <unordered_set>
|
||||
|
||||
|
@ -11,6 +12,13 @@
|
|||
|
||||
#include "config/option-id.h"
|
||||
|
||||
using std::uint8_t;
|
||||
using std::uint16_t;
|
||||
using std::uint32_t;
|
||||
using std::int8_t;
|
||||
using std::int16_t;
|
||||
using std::int32_t;
|
||||
|
||||
namespace config {
|
||||
|
||||
// Values for kDispFilter.
|
||||
|
|
|
@ -2,9 +2,18 @@
|
|||
#define WX_MISC_H
|
||||
// utility widgets
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <wx/checkbox.h>
|
||||
#include <wx/valgen.h>
|
||||
|
||||
using std::uint8_t;
|
||||
using std::uint16_t;
|
||||
using std::uint32_t;
|
||||
using std::int8_t;
|
||||
using std::int16_t;
|
||||
using std::int32_t;
|
||||
|
||||
// simple radio button not under the same parent window
|
||||
// note that it must be checkbox, as wx radio buttons have rigid behavior
|
||||
class wxFarRadio : public wxCheckBox {
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
// The following are not pulled in by wx.h
|
||||
|
@ -20,6 +22,13 @@
|
|||
// filehistory.h is separate only in 2.9+
|
||||
#include <wx/docview.h>
|
||||
|
||||
using std::uint8_t;
|
||||
using std::uint16_t;
|
||||
using std::uint32_t;
|
||||
using std::int8_t;
|
||||
using std::int16_t;
|
||||
using std::int32_t;
|
||||
|
||||
#ifndef NO_OGL
|
||||
// glcanvas must be included before SFML for MacOSX
|
||||
// originally, this was confined to drawing.h.
|
||||
|
|
Loading…
Reference in New Issue