Override InheritAttributes() to do nothing in wxNonOwnedWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Mar 2012 13:00:57 +0000 (13:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Mar 2012 13:00:57 +0000 (13:00 +0000)
commit483bf4a6293f14516a8f77803b4965e957c0052e
tree52b4c9f833ac3e5a9faac386fc757c36dd7cdd48
parentbddea8d14f589691b9314fad84dbc51cb9af7c81
Override InheritAttributes() to do nothing in wxNonOwnedWindow.

Non owner windows shouldn't inherit attributes from their parent. This wasn't
a problem in wxMSW where InheritAttributes() was never called for them but was
in wxGTK (and possibly other ports) where dialogs inherited font from their
parent.

Closes #2766.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/nonownedwnd.h