diff --git a/src/common/accelcmn.cpp b/src/common/accelcmn.cpp index fbe8d3f19a..ad48711da3 100644 --- a/src/common/accelcmn.cpp +++ b/src/common/accelcmn.cpp @@ -38,6 +38,8 @@ wxAcceleratorTable wxNullAcceleratorTable; // wxAcceleratorEntry implementation // ============================================================================ +wxGCC_WARNING_SUPPRESS(missing-field-initializers) + static const struct wxKeyName { wxKeyCode code; @@ -112,6 +114,8 @@ static const struct wxKeyName { WXK_COMMAND, /*TRANSLATORS: Name of keyboard key*/ wxTRANSLATE("Command") }, }; +wxGCC_WARNING_RESTORE(missing-field-initializers) + // return true if the 2 strings refer to the same accel // // as accels can be either translated or not, check for both possibilities and