X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0272d05780ae2f150b6217fd20048a3e3d21c65..05adb9d2fdc40d8620730be490bf406b8e367cf8:/include/wx/msw/dcclient.h diff --git a/include/wx/msw/dcclient.h b/include/wx/msw/dcclient.h index 16949da89b..5568f0a6a2 100644 --- a/include/wx/msw/dcclient.h +++ b/include/wx/msw/dcclient.h @@ -30,11 +30,7 @@ // this one if used by wxPaintDC only struct WXDLLEXPORT wxPaintDCInfo; -#undef WXDLLEXPORTLOCAL -#define WXDLLEXPORTLOCAL WXDLLEXPORT -WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo); -#undef WXDLLEXPORTLOCAL -#define WXDLLEXPORTLOCAL +WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo); // ---------------------------------------------------------------------------- // DC classes @@ -78,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;