From: Robin Dunn Date: Thu, 2 Aug 2012 20:25:06 +0000 (+0000) Subject: Have wxDCImpl::GetHandle return NULL by default instead of being pure virtual. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/440ddb750f4b9d9a4bb968a4f2ee07f3b307cf17 Have wxDCImpl::GetHandle return NULL by default instead of being pure virtual. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dc.h b/include/wx/dc.h index 9c6748a920..c6ff1fa3a2 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -283,7 +283,7 @@ public: return NULL; } - virtual void* GetHandle() const = 0; + virtual void* GetHandle() const { return NULL; } // query dimension, colour deps, resolution