]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
Commented out those wretched crt debug thingies yet again. It doesn't compile for
[wxWidgets.git] / src / msw / dc.cpp
index f4201d6e49b2bf8c7308e27c893cfb251335a0f6..432769c8c0dad1aa9f1ff4ab76a170be2c62d172 100644 (file)
@@ -1441,3 +1441,9 @@ void wxDC::GetTextExtent(const wxString& string, float *x, float *y,
 }
 #endif
 
+int wxDC::GetDepth(void) const
+{
+  return (int) ::GetDeviceCaps((HDC) m_hDC,BITSPIXEL);
+}
+
+