]> git.saurik.com Git - wxWidgets.git/commit
Add a helper wxApp::GetValidTraits() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:31:49 +0000 (00:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:31:49 +0000 (00:31 +0000)
commit76015a6bb79156d8af1b5e8b4b8e46b4e192d18f
treea7a3895bb7a391fae6eb81403e0e8a09e28a1b9d
parentc36ddebf93ff3f967927d628dd0e569c75159c37
Add a helper wxApp::GetValidTraits() method.

This method always returns some valid traits, even if we don't have wxTheApp
(which is possible in the console applications) or if its GetTraits() was
overridden to return NULL (which shouldn't be, but still guard against this).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/app.h
src/common/appbase.cpp
src/common/evtloopcmn.cpp