]> git.saurik.com Git - wxWidgets.git/commit
Make wxXmlResourceHandler::IsOfClass() static.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 14:23:56 +0000 (14:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 14:23:56 +0000 (14:23 +0000)
commit8ec22772d0857bc5fe113ec622ec02be75ffd002
treed8b5862933d0e858edd70d23cf667e65adb9e7be
parent9b307a69b39d69605f609ebc7ef22798d045656b
Make wxXmlResourceHandler::IsOfClass() static.

This simple helper function doesn't use any wxXmlResourceHandler data as it's
just a trivial wrapper for wxXmlNode::GetAttribute().

Making it static allows, in particular, to call it from const member functions
of wxXmlResourceHandler-derived classes (making it "const" itself would
achieve this too, of course, but it just doesn't need to be non-static).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/xrc/xmlres.h
src/xrc/xmlres.cpp