]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dcclient.h
Digital Mars doesn't like the identifiers being declared later
[wxWidgets.git] / include / wx / gtk1 / dcclient.h
index 70b7d9b38fc6274cc0b221ebf7395eeae8c1eda1..c1654ba42a5635435bf9aeb6dca4d806f0da4b2b 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcclient.h
+// Name:        wx/gtk1/dcclient.h
 // Purpose:
 // Author:      Robert Roebling
 // Id:          $Id$
 #ifndef __GTKDCCLIENTH__
 #define __GTKDCCLIENTH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
 #include "wx/dc.h"
 #include "wx/window.h"
 
@@ -104,6 +100,8 @@ public:
     virtual wxSize GetPPI() const;
     virtual int GetDepth() const;
 
+    virtual GdkWindow* GetGDKWindow() const { return m_window; }
+
     // implementation
     // --------------
 
@@ -119,13 +117,6 @@ public:
     wxRegion      m_currentClippingRegion;
     wxRegion      m_paintClippingRegion;
 
-    // PangoContext stuff for GTK 2.0
-#ifdef __WXGTK20__
-    PangoContext *m_context;
-    PangoLayout *m_layout;
-    PangoFontDescription *m_fontdesc;
-#endif
-
     void SetUpDC();
     void Destroy();
     virtual void ComputeScaleAndOrigin();