]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/nonownedwnd.h
Reset sorting column in generic wxDataViewCtrl properly.
[wxWidgets.git] / include / wx / nonownedwnd.h
index a959b3472c4961d46477f21b953968911d7ca92f..696edb5e9b4cda7c3d2b0270e15b4bfbee947d27 100644 (file)
@@ -58,6 +58,24 @@ public:
     }
 #endif // wxUSE_GRAPHICS_CONTEXT
 
+
+    // Overridden base class methods.
+    // ------------------------------
+
+    virtual void AdjustForParentClientOrigin(int& WXUNUSED(x), int& WXUNUSED(y),
+                                             int WXUNUSED(sizeFlags) = 0) const
+    {
+        // Non owned windows positions don't need to be adjusted for parent
+        // 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()
     {