diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 34b7b3f83d..5936ce0705 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -486,7 +486,6 @@ bool wxRegKey::Create(bool bOkIfExists) HKEY tmpKey; DWORD disposition; - // Minimum supported OS for RegCreateKeyEx: Win 95, Win NT 3.1, Win CE 1.0 m_dwLastError = RegCreateKeyEx((HKEY) m_hRootKey, m_strKey.t_str(), 0, // reserved and must be 0 NULL, // The user-defined class type of this key. diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 996c43e631..b9567cee91 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -75,7 +75,7 @@ static wxFont *gs_fontDefault = NULL; // from GetSystemMetric, and should it? Perhaps call it GetSystemParameter // and pass an optional void* arg to get further info. // Should also have SetSystemParameter. -// Also implement WM_WININICHANGE (NT) / WM_SETTINGCHANGE (Win95) +// Also implement WM_WININICHANGE // ---------------------------------------------------------------------------- // wxSystemSettingsModule diff --git a/src/msw/slider.cpp b/src/msw/slider.cpp index d53a6ddcd5..f96c687799 100644 --- a/src/msw/slider.cpp +++ b/src/msw/slider.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/msw/slider.cpp -// Purpose: wxSlider, using the Win95 (and later) trackbar control +// Purpose: wxSlider, using trackbar control // Author: Julian Smart // Modified by: // Created: 04/01/98 diff --git a/src/msw/stackwalk.cpp b/src/msw/stackwalk.cpp index 4b59c4a381..d63de3eb33 100644 --- a/src/msw/stackwalk.cpp +++ b/src/msw/stackwalk.cpp @@ -198,8 +198,8 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth) // according to MSDN, the first parameter should be just a unique value and // not process handle (although the parameter is prototyped as "HANDLE - // hProcess") and actually it advises to use the process id and not handle - // for Win9x, but then we need to use the same value in StackWalk() call + // hProcess") and actually it advises to use the process id and not handle, + // but then we need to use the same value in StackWalk() call // below which should be a real handle... so this is what we use const HANDLE hProcess = ::GetCurrentProcess(); diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index bea1ddd561..dbe99d8fd7 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -121,14 +121,10 @@ bool wxStaticBitmap::Create(wxWindow *parent, // GetBestSize will work properly now, so set the best size if needed SetInitialSize(size); - // painting manually is reported not to work under Windows CE (see #10093), - // so don't do it there even if this probably means that alpha is not - // supported there -- but at least bitmaps without alpha appear correctly - // Windows versions before XP (and even XP if the application has no - // manifest and so the old comctl32.dll is used) don't draw correctly the - // images with alpha channel so we need to draw them ourselves and it's - // easier to just always do it rather than check if we have an image with - // alpha or not + // if the application has no manifest and so the old comctl32.dll is + // used, the images with alpha channel are not correctly drawn so we need + // to draw them ourselves and it's easier to just always do it rather than + // check if we have an image with alpha or not if ( wxTheApp->GetComCtl32Version() < 600 ) { Connect(wxEVT_PAINT, wxPaintEventHandler(wxStaticBitmap::DoPaintManually));