]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/nonownedwnd.h
Use wmain() if supported by the compiler/CRT instead of main().
[wxWidgets.git] / include / wx / nonownedwnd.h
index 536b55cef4c79442efb0fbe77814ebe655ccaa72..696edb5e9b4cda7c3d2b0270e15b4bfbee947d27 100644 (file)
@@ -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()
     {