Remove unused class
Unused since 025f5d1450 (Don't cache HDC used by wxPaintDCEx in wxMSW., 2013-03-09)
This commit is contained in:
parent
071e3187f5
commit
a5e9befd4d
1 changed files with 0 additions and 22 deletions
|
|
@ -95,28 +95,6 @@ private:
|
|||
wxDECLARE_NO_COPY_CLASS(wxPaintDCInfoOur);
|
||||
};
|
||||
|
||||
// This subclass contains information for the HDCs we receive from outside, as
|
||||
// WPARAM of WM_PAINT itself.
|
||||
class wxPaintDCInfoExternal : public wxPaintDCInfo
|
||||
{
|
||||
public:
|
||||
wxPaintDCInfoExternal(HDC hdc)
|
||||
: wxPaintDCInfo(hdc),
|
||||
m_state(::SaveDC(hdc))
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~wxPaintDCInfoExternal()
|
||||
{
|
||||
::RestoreDC(m_hdc, m_state);
|
||||
}
|
||||
|
||||
private:
|
||||
const int m_state;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxPaintDCInfoExternal);
|
||||
};
|
||||
|
||||
// The global map containing HDC to use for the given window. The entries in
|
||||
// this map only exist during WM_PAINT processing and are destroyed when it is
|
||||
// over.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue