]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/choice.h
Header Cosmetics
[wxWidgets.git] / include / wx / motif / choice.h
index e2ce50b03cc152c2d851fa44c9bea971ac650248..1636502e63030e8fd4f2e69e08d6843cc07ba964 100644 (file)
 #ifndef _WX_CHOICE_H_
 #define _WX_CHOICE_H_
 
 #ifndef _WX_CHOICE_H_
 #define _WX_CHOICE_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "choice.h"
 #endif
 
 #include "wx/clntdata.h"
 #pragma interface "choice.h"
 #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
 
 // Choice item
 class WXDLLEXPORT wxChoice: public wxChoiceBase