X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0886e254992f8c0f8f37295fcdde08e2eda7f983..95561ddfc3c0c84c71316d40cb539135fa68b440:/include/wx/flags.h 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