]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
wxMSWUniv build fix.
[wxWidgets.git] / include / wx / msw / listbox.h
index 5104928429677faa8a99c6278ccc234c34ba48a1..43350ba8aaa02d542135de05d3d0a6b8131464b1 100644 (file)
@@ -151,6 +151,13 @@ protected:
 
     virtual wxSize DoGetBestSize() const;
 
+    // under XP when using "transition effect for menus and tooltips" if we
+    // return true for WM_PRINTCLIENT here then it causes noticable slowdown
+    virtual bool MSWShouldPropagatePrintChild()
+    {
+        return false;
+    }
+
 #if wxUSE_OWNER_DRAWN
     // control items
     wxListBoxItemsArray m_aItems;