]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/image.cpp
Don't use "Cancel" button in the about dialog of the listctrl sample.
[wxWidgets.git] / src / common / image.cpp
index 2c61998e6d3c226b9822dcd4750d60a75f2b61a9..66caa0817407120ca1f428cfc2bbf756c31d11b9 100644 (file)
@@ -2880,10 +2880,6 @@ wxImage::HSVValue wxImage::RGBtoHSV(const RGBValue& rgb)
             case BLUE:
                 hue = 4.0 + (red - green) / deltaRGB;
                 break;
-
-            default:
-                wxFAIL_MSG(wxT("hue not specified"));
-                break;
         }
 
         hue /= 6.0;