X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..f2cc8cbbbd6fffea122a5f8a6f73ac3f524c7283:/include/wx/motif/choice.h?ds=sidebyside diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index b5a2f3c1a0..1636502e63 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -17,9 +17,13 @@ #endif #include "wx/clntdata.h" -#include "wx/dynarray.h" -WX_DEFINE_ARRAY(WXWidget, wxWidgetArray); +#ifndef wxWIDGET_ARRAY_DEFINED + #define wxWIDGET_ARRAY_DEFINED + + #include "wx/dynarray.h" + WX_DEFINE_ARRAY(WXWidget, wxWidgetArray); +#endif // Choice item class WXDLLEXPORT wxChoice: public wxChoiceBase