]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
we don't need to use solid colour for background drawing when we're inside notebook...
[wxWidgets.git] / include / wx / msw / window.h
index fe646444e44c6a9c53462dc162bdd7176013279c..ef21be2ecf777b70d39c18b9c8f1b77f1c62936a 100644 (file)
@@ -398,6 +398,16 @@ public:
     // windows via their MSWGetBgBrushForChild() recursively
     WXHBRUSH MSWGetBgBrush(WXHDC hDC);
 
+    // overriding this method gives the parent window the opportunity to
+    // process WM_PRINTCLIENT for its children: this is currently used by
+    // wxNotebook to draw themed background for them
+    //
+    // return true if the message was processed or false to use default logic
+    // for it (currently this means handling it just as WM_PAINT i.e. render
+    // the control into the provided DC)
+    virtual bool MSWPrintChild(wxWindow *win, WXWPARAM wParam, WXLPARAM lParam);
+
+
     // Responds to colour changes: passes event on to children.
     void OnSysColourChanged(wxSysColourChangedEvent& event);