X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..f8b1df0b15f843b8f47efb9bee38f1de0fa95020:/include/wx/dc.h diff --git a/include/wx/dc.h b/include/wx/dc.h index 66901ddb6e..ab3b1c9ccf 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/dc.h // Purpose: wxDC class -// Author: Vadim Zeitlin +// Author: Vadim Zeitlin // Modified by: // Created: 05/25/99 // RCS-ID: $Id$ @@ -187,7 +187,8 @@ public: virtual void DoGetSize(int *width, int *height) const = 0; void GetSize(int *width, int *height) const { - return DoGetSize(width, height); + DoGetSize(width, height); + return ; } wxSize GetSize() const @@ -565,7 +566,7 @@ public: const wxDCImpl *GetImpl() const { return m_pimpl; } - wxWindow *GetWindow() + wxWindow *GetWindow() const { return m_pimpl->GetWindow(); } bool IsOk() const