]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datectlg.cpp
adapting init sequence for different osx platforms
[wxWidgets.git] / src / generic / datectlg.cpp
index fc0e0ab72008305ed6b2ac6ed19ec883b8ceedf1..f951b948ea27536484286a0773a04b27535d10cb 100644 (file)
@@ -260,8 +260,8 @@ private:
 
         if (year_cnt == 1 && month_cnt == 1 && day_cnt == 1)
             return fmt;
-        else
-            return x_format;
+
+        return x_format;
     }
 
     bool SetFormat(const wxString& fmt)