X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddea8d14f589691b9314fad84dbc51cb9af7c81..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/nonownedwnd.h?ds=sidebyside diff --git a/include/wx/nonownedwnd.h b/include/wx/nonownedwnd.h index 536b55cef4..696edb5e9b 100644 --- a/include/wx/nonownedwnd.h +++ b/include/wx/nonownedwnd.h @@ -69,6 +69,13 @@ public: // client area origin so simply do nothing here. } + virtual void InheritAttributes() + { + // Non owned windows don't inherit attributes from their parent window + // (if the parent frame is red, it doesn't mean that all dialogs shown + // by it should be red as well), so don't do anything here neither. + } + protected: virtual bool DoClearShape() {