Implement wxGraphicsContext::GetSize() for Cairo.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:38:03 +0000 (09:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:38:03 +0000 (09:38 +0000)
commitb129eaa3772fc5c73e6e95cd94010a828ebf42c3
tree8f14d869e4fcc7f31e5c43e74cd57c6ee7974aeb
parentcdcc1edaf27a71689a5880e5c558a6273731ef1d
Implement wxGraphicsContext::GetSize() for Cairo.

As the implementation of this method is basically the same for all ports move
it to the base class itself instead of requiring the derived classes to
implement it. Now the derived classes need to fill in m_width and m_height
members instead.

Do fill them when creating wxGraphicsContext in Cairo version.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/graphics.h
src/common/graphcmn.cpp
src/generic/graphicc.cpp
src/msw/graphics.cpp
src/osx/carbon/graphics.cpp