Removed obsolete symbols from comments.

This commit is contained in:
Catalin
2016-02-21 10:52:15 +02:00
parent b57531acaa
commit 2d2bb0df39
5 changed files with 8 additions and 13 deletions

View File

@@ -486,7 +486,6 @@ bool wxRegKey::Create(bool bOkIfExists)
HKEY tmpKey; HKEY tmpKey;
DWORD disposition; 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(), m_dwLastError = RegCreateKeyEx((HKEY) m_hRootKey, m_strKey.t_str(),
0, // reserved and must be 0 0, // reserved and must be 0
NULL, // The user-defined class type of this key. NULL, // The user-defined class type of this key.

View File

@@ -75,7 +75,7 @@ static wxFont *gs_fontDefault = NULL;
// from GetSystemMetric, and should it? Perhaps call it GetSystemParameter // from GetSystemMetric, and should it? Perhaps call it GetSystemParameter
// and pass an optional void* arg to get further info. // and pass an optional void* arg to get further info.
// Should also have SetSystemParameter. // Should also have SetSystemParameter.
// Also implement WM_WININICHANGE (NT) / WM_SETTINGCHANGE (Win95) // Also implement WM_WININICHANGE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxSystemSettingsModule // wxSystemSettingsModule

View File

@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/slider.cpp // Name: src/msw/slider.cpp
// Purpose: wxSlider, using the Win95 (and later) trackbar control // Purpose: wxSlider, using trackbar control
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
// Created: 04/01/98 // Created: 04/01/98

View File

@@ -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 // according to MSDN, the first parameter should be just a unique value and
// not process handle (although the parameter is prototyped as "HANDLE // not process handle (although the parameter is prototyped as "HANDLE
// hProcess") and actually it advises to use the process id and not 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 // 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 // below which should be a real handle... so this is what we use
const HANDLE hProcess = ::GetCurrentProcess(); const HANDLE hProcess = ::GetCurrentProcess();

View File

@@ -121,14 +121,10 @@ bool wxStaticBitmap::Create(wxWindow *parent,
// GetBestSize will work properly now, so set the best size if needed // GetBestSize will work properly now, so set the best size if needed
SetInitialSize(size); SetInitialSize(size);
// painting manually is reported not to work under Windows CE (see #10093), // if the application has no manifest and so the old comctl32.dll is
// so don't do it there even if this probably means that alpha is not // used, the images with alpha channel are not correctly drawn so we need
// supported there -- but at least bitmaps without alpha appear correctly // to draw them ourselves and it's easier to just always do it rather than
// Windows versions before XP (and even XP if the application has no // check if we have an image with alpha or not
// 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 ( wxTheApp->GetComCtl32Version() < 600 ) if ( wxTheApp->GetComCtl32Version() < 600 )
{ {
Connect(wxEVT_PAINT, wxPaintEventHandler(wxStaticBitmap::DoPaintManually)); Connect(wxEVT_PAINT, wxPaintEventHandler(wxStaticBitmap::DoPaintManually));