Removed obsolete symbols from comments.
This commit is contained in:
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user