]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcclient.h
Add const to GetTargetSize()
[wxWidgets.git] / include / wx / motif / dcclient.h
index c8f182c135b3cebb6591badcc32c28efeeceb627..2208d7c829a0b36125551fc219002c919ed281b8 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcclient.h
+// Name:        wx/motif/dcclient.h
 // Purpose:     wxClientDC, wxPaintDC and wxWindowDC classes
 // Author:      Julian Smart
 // Modified by:
@@ -36,7 +36,7 @@ public:
     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);
@@ -174,7 +174,7 @@ public:
     wxPaintDC() { }
     wxPaintDC(wxWindow* win);
 
-    ~wxPaintDC();
+    virtual ~wxPaintDC();
 };
 
 class WXDLLEXPORT wxClientDC: public wxWindowDC
@@ -187,4 +187,3 @@ public:
 };
 
 #endif // _WX_DCCLIENT_H_
-