mirror of https://github.com/odrling/Aegisub
parent
b8d67b3d8e
commit
54fa37c855
|
@ -23,6 +23,9 @@
|
||||||
#include <libaegisub/exception.h>
|
#include <libaegisub/exception.h>
|
||||||
#include <libaegisub/signal.h>
|
#include <libaegisub/signal.h>
|
||||||
|
|
||||||
|
// X11 is awesome and defines Bool to int
|
||||||
|
#undef Bool
|
||||||
|
|
||||||
namespace agi {
|
namespace agi {
|
||||||
DEFINE_BASE_EXCEPTION_NOINNER(OptionValueError, Exception)
|
DEFINE_BASE_EXCEPTION_NOINNER(OptionValueError, Exception)
|
||||||
DEFINE_SIMPLE_EXCEPTION_NOINNER(OptionValueErrorInvalidType, OptionValueError, "options/invalid_type")
|
DEFINE_SIMPLE_EXCEPTION_NOINNER(OptionValueErrorInvalidType, OptionValueError, "options/invalid_type")
|
||||||
|
|
|
@ -42,6 +42,8 @@
|
||||||
#include <wx/stattext.h>
|
#include <wx/stattext.h>
|
||||||
#include <wx/treebook.h>
|
#include <wx/treebook.h>
|
||||||
|
|
||||||
|
#undef Bool
|
||||||
|
|
||||||
#define OPTION_UPDATER(type, evttype, opt, body) \
|
#define OPTION_UPDATER(type, evttype, opt, body) \
|
||||||
class type { \
|
class type { \
|
||||||
std::string name; \
|
std::string name; \
|
||||||
|
|
Loading…
Reference in New Issue