X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c263d56675aa7e75115d2380515a7a539f5a880..506c7b5b69c42378a3ec53bf6084b909c0c05ccf:/include/wx/flags.h diff --git a/include/wx/flags.h b/include/wx/flags.h index e251ed7da2..d0b7c82c8b 100644 --- a/include/wx/flags.h +++ b/include/wx/flags.h @@ -158,10 +158,12 @@ private : }; #define WX_DEFINE_FLAGS( flags ) \ - struct WXDLLEXPORT flags \ + class WXDLLEXPORT flags \ {\ - flags(long data=0) :m_data(data) {} \ + public : \ + flags(long data=0) :m_data(data) {} \ long m_data ;\ + bool operator ==(const flags &rhs) const { return m_data == rhs.m_data; }\ } ; #endif