X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0886e254992f8c0f8f37295fcdde08e2eda7f983..1674c73a431c156222766865560bab06d9d5c020:/include/wx/flags.h?ds=sidebyside diff --git a/include/wx/flags.h b/include/wx/flags.h index c5b44e7e76..d0b7c82c8b 100644 --- a/include/wx/flags.h +++ b/include/wx/flags.h @@ -158,10 +158,12 @@ private : }; #define WX_DEFINE_FLAGS( flags ) \ - struct 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