]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/window.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / dfb / window.h
index b6b4c59c34d31ee229a4d5924290e774ed105256..b12d07ab87643459da6fc678f831ca31f4925ee9 100644 (file)
@@ -81,12 +81,6 @@ public:
 
     virtual int GetCharHeight() const;
     virtual int GetCharWidth() const;
-    virtual void GetTextExtent(const wxString& string,
-                               int *x, int *y,
-                               int *descent = NULL,
-                               int *externalLeading = NULL,
-                               const wxFont *theFont = (const wxFont *) NULL)
-                               const;
 
 #if wxUSE_DRAG_AND_DROP
     virtual void SetDropTarget(wxDropTarget *dropTarget);
@@ -112,6 +106,11 @@ public:
 
 protected:
     // implement the base class pure virtuals
+    virtual void DoGetTextExtent(const wxString& string,
+                                 int *x, int *y,
+                                 int *descent = NULL,
+                                 int *externalLeading = NULL,
+                                 const wxFont *theFont = NULL) const;
     virtual void DoClientToScreen(int *x, int *y) const;
     virtual void DoScreenToClient(int *x, int *y) const;
     virtual void DoGetPosition(int *x, int *y) const;