]> git.saurik.com Git - wxWidgets.git/commit
Don't use template member function in drawing sample to placate VC6.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jul 2011 11:41:07 +0000 (11:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jul 2011 11:41:07 +0000 (11:41 +0000)
commit5707e433a3cac5a69fe3ba4e8e8664ffe749f402
treef7eb659d92a02747194443bf4668ebd3fd50707d
parent7a68fc9c340443d92665321fce78b2d8c87e761b
Don't use template member function in drawing sample to placate VC6.

VC6 can't instantiate member template functions so get rid of it and use ugly
dynamic casts in the non-template function to construct wxGCDC correctly.

See #13327.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/drawing/drawing.cpp