/////////////////////////////////////////////////////////////////////////////
-// Name: dcclient.h
+// Name: wx/motif/dcclient.h
// Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
// Author: Julian Smart
// Modified by:
wxWindowDC();
wxWindowDC( wxWindow *win );
- ~wxWindowDC();
+ virtual ~wxWindowDC();
// TODO this function is Motif-only for now - should it go into base class?
void Clear(const wxRect& rect);
WXGC GetGC() const { return m_gc; }
WXGC GetBackingGC() const { return m_gcBacking; }
WXDisplay* GetDisplay() const { return m_display; }
- bool GetAutoSetting() const { return m_autoSetting; }
+ bool GetAutoSetting() const { return (m_autoSetting != 0); } // See comment in dcclient.cpp
void SetAutoSetting(bool flag) { m_autoSetting = flag; }
protected:
wxPaintDC() { }
wxPaintDC(wxWindow* win);
- ~wxPaintDC();
+ virtual ~wxPaintDC();
};
class WXDLLEXPORT wxClientDC: public wxWindowDC
};
#endif // _WX_DCCLIENT_H_
-