]> git.saurik.com Git - wxWidgets.git/commit
VC6 compilation fix in wxDIB::Create().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Nov 2010 00:22:01 +0000 (00:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Nov 2010 00:22:01 +0000 (00:22 +0000)
commita24b341aea75b8fc45356601d48ffd18ad94e92c
tree5f3c33115a4e7b701edd1f2ba9353dafadcdf955
parent806f8df3608a5ab2065cb886d6b01581f16b6b22
VC6 compilation fix in wxDIB::Create().

Deal with the lack of scope around variables declared inside the for loop in
this compiler, previously it gave "error C2360: initialization of 'x' is
skipped by 'case' label" message and also complained about redefinition of 'x'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/dib.cpp