]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
[wxWidgets.git] / include / wx / msw / window.h
index 218bd938bd7ccb02b2fe25a5c803858ac2778c46..39ba4694f7dc873430b6fa0931e669a53588edfb 100644 (file)
@@ -391,6 +391,14 @@ public:
         return false;
     }
 
+    // some controls (e.g. wxListBox) need to set the return value themselves
+    //
+    // return true to let parent handle it if we don't, false otherwise
+    virtual bool MSWShouldPropagatePrintChild()
+    {
+        return true;
+    }
+
 
     // Responds to colour changes: passes event on to children.
     void OnSysColourChanged(wxSysColourChangedEvent& event);