X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21160e4544745bd62090f5b699275039c8484ed9..23855b87d791f78d00d47d8e20fad85f6d186508:/src/generic/timectrlg.cpp diff --git a/src/generic/timectrlg.cpp b/src/generic/timectrlg.cpp index f6aaa2317e..d649cd885c 100644 --- a/src/generic/timectrlg.cpp +++ b/src/generic/timectrlg.cpp @@ -480,6 +480,7 @@ private: case Field_AMPM: case Field_Max: wxFAIL_MSG( "Invalid field" ); + return; } // Check if the new value is acceptable. If not, we just handle