teatope2
teatope2

Reputation: 253

Convert HDC to wxClientDC?

Is there a way to convert a HDC to a wxDC object? I know wxDC is abstract. Is it possible to convert to wxClientDC?

Upvotes: 1

Views: 559

Answers (1)

VZ.
VZ.

Reputation: 22688

You may use semi-internal (and MSW-specific, obviously) wxDCTemp class, see include/wx/msw/dc.h.

Upvotes: 1

Related Questions