- labels.push_back(str);
- tooltips.push_back(tooltip);
- helptexts.push_back(helptext);
- helptextSpecified.push_back(hasHelptext);
+ m_labels.push_back(label);
+#if wxUSE_TOOLTIPS
+ m_tooltips.push_back(tooltip);
+#endif // wxUSE_TOOLTIPS
+#if wxUSE_HELP
+ m_helptexts.push_back(helptext);
+ m_helptextSpecified.push_back(hasHelptext);
+#endif // wxUSE_HELP
+ m_isEnabled.push_back(GetBoolAttr("enabled", 1));
+ m_isShown.push_back(!GetBoolAttr("hidden", 0));