X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/683730003ba8f36fa07496b8f298d40733534aea..258e5c7427015e93a233c4d1a5d3cd164abbe57c:/include/wx/msw/dcclient.h diff --git a/include/wx/msw/dcclient.h b/include/wx/msw/dcclient.h index 21d1a42e53..5568f0a6a2 100644 --- a/include/wx/msw/dcclient.h +++ b/include/wx/msw/dcclient.h @@ -30,7 +30,7 @@ // this one if used by wxPaintDC only struct WXDLLEXPORT wxPaintDCInfo; -WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo); +WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo); // ---------------------------------------------------------------------------- // DC classes @@ -74,6 +74,9 @@ public: virtual ~wxPaintDC(); + // find the entry for this DC in the cache (keyed by the window) + static WXHDC FindDCInCache(wxWindow* win); + protected: static wxArrayDCInfo ms_cache;