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