]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcclient.h
simplify the client data/non standard images handling code by unconditionally using...
[wxWidgets.git] / include / wx / x11 / dcclient.h
index 1af2a6c7393fbf957121d81e7a1eb9fa695887f1..7f939a3ec9a58bd7a2872faae48c0fff8eb70ece 100644 (file)
@@ -100,11 +100,6 @@ public:
 
     virtual wxCoord GetCharHeight() const;
     virtual wxCoord GetCharWidth() const;
-    virtual void DoGetTextExtent(const wxString& string,
-        wxCoord *x, wxCoord *y,
-        wxCoord *descent = NULL,
-        wxCoord *externalLeading = NULL,
-        wxFont *theFont = NULL) const;
 
     virtual int GetDepth() const;
     virtual wxSize GetPPI() const;
@@ -112,9 +107,16 @@ public:
     virtual void DestroyClippingRegion();
     WXWindow GetWindow() const { return m_window; }
 
+    virtual void ComputeScaleAndOrigin();
+
 protected:
     // implementation
     // --------------
+    virtual void DoGetTextExtent(const wxString& string,
+        wxCoord *x, wxCoord *y,
+        wxCoord *descent = NULL,
+        wxCoord *externalLeading = NULL,
+        wxFont *theFont = NULL) const;
 
     WXDisplay    *m_display;
     WXWindow      m_window;
@@ -136,7 +138,6 @@ protected:
 
     void SetUpDC();
     void Destroy();
-    virtual void ComputeScaleAndOrigin();
 
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowDC)