+ void InvalidStyles();
+#endif // wxHAS_3STATE_CHECKBOX
+
+ // Initialize m_check with a new checkbox with the specified style
+ //
+ // This function always returns false just to make it more convenient to
+ // use inside WX_ASSERT_FAILS_WITH_ASSERT(), its return value doesn't have
+ // any meaning otherwise.
+ bool CreateCheckBox(long style)
+ {
+ m_check = new wxCheckBox(wxTheApp->GetTopWindow(), wxID_ANY, "Check box",
+ wxDefaultPosition, wxDefaultSize, style);
+ return false;
+ }
+