]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcclient.h
Fixed memory bug
[wxWidgets.git] / include / wx / msw / dcclient.h
index 16949da89b9f4d1cb5970ee624cd1e58403c6160..5568f0a6a24dfa7c88b001249a9bc8ca8685ee6b 100644 (file)
 // 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;