]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
Added version test
[wxWidgets.git] / src / msw / settings.cpp
index 13dbf8e2d26e1dd817c2815a2557c953704929f5..a2c3447c996d0b1b8ab90ca095a51c1e5c22acfd 100644 (file)
@@ -141,8 +141,6 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
         // all Windows version, for the other ones we have to check
         bool useDefault;
 
-        // none of the is supported under Win16 anyhow
-#ifdef __WIN32__
         int verMaj, verMin;
         wxGetOsVersion(&verMaj, &verMin);
         if ( verMaj < 4 )
@@ -175,9 +173,6 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
                                }
                        }
        }
-#else
-        useDefault = TRUE;
-#endif // __WIN32__
 
         if ( useDefault )
         {