]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/choice.h
Fix the warning about code sensitive to packing (VisualC).
[wxWidgets.git] / include / wx / motif / choice.h
index 8a01c3cb2347039f6b8aacfb2a366753c7e90370..7cd969839a80aced2ba00fccab4b73055bfb20d6 100644 (file)
@@ -22,7 +22,7 @@
     #define wxWIDGET_ARRAY_DEFINED
 
     #include "wx/dynarray.h"
-    WX_DEFINE_ARRAY(WXWidget, wxWidgetArray);
+    WX_DEFINE_ARRAY_PTR(WXWidget, wxWidgetArray);
 #endif
 
 // Choice item
@@ -100,7 +100,7 @@ public:
     void SetFocus();
     
     // Implementation
-    virtual void ChangeFont(bool keepOriginalSize = TRUE);
+    virtual void ChangeFont(bool keepOriginalSize = true);
     virtual void ChangeBackgroundColour();
     virtual void ChangeForegroundColour();
     WXWidget GetTopWidget() const { return m_formWidget; }