]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcclient.h
aui: allow m_frame to be null in wxFrameManager
[wxWidgets.git] / include / wx / x11 / dcclient.h
index 7f939a3ec9a58bd7a2872faae48c0fff8eb70ece..0d9ffbcb6b05c42ed41976af2d59e50c52d45648 100644 (file)
@@ -32,10 +32,10 @@ class WXDLLIMPEXP_CORE wxClientDC;
 class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
 {
 public:
-    wxWindowDC();
+    wxWindowDC() { Init(); }
     wxWindowDC( wxWindow *win );
 
-    ~wxWindowDC();
+    virtual ~wxWindowDC();
 
     virtual bool CanDrawBitmap() const { return true; }
     virtual bool CanGetTextExtent() const { return true; }
@@ -118,6 +118,8 @@ protected:
         wxCoord *externalLeading = NULL,
         wxFont *theFont = NULL) const;
 
+    void Init();
+
     WXDisplay    *m_display;
     WXWindow      m_window;
     WXGC          m_penGC;