]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dc.h
include wxchar.h from string.h in 2.8 compatibility mode to prevent lots of compilati...
[wxWidgets.git] / include / wx / dfb / dc.h
index 686bbea2a2ce4e20759e21ec7e7c45726e1f97d0..d78dc8326217822a10443d619931177fd0a2c44e 100644 (file)
@@ -58,7 +58,7 @@ public:
                                  wxCoord *x, wxCoord *y,
                                  wxCoord *descent = NULL,
                                  wxCoord *externalLeading = NULL,
-                                 wxFont *theFont = NULL) const;
+                                 const wxFont *theFont = NULL) const;
 
     virtual bool CanDrawBitmap() const { return true; }
     virtual bool CanGetTextExtent() const { return true; }
@@ -117,7 +117,7 @@ public:
 protected:
     // initializes the DC from a surface, must be called if default ctor
     // was used
-    void Init(const wxIDirectFBSurfacePtr& surface);
+    void DFBInit(const wxIDirectFBSurfacePtr& surface);
 
     virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
                              int style = wxFLOOD_SURFACE);
@@ -169,6 +169,8 @@ protected:
                                int fillStyle = wxODDEVEN_RULE);
 
     // implementation from now on:
+protected:
+    wxIDirectFBFontPtr GetCurrentFont() const;
 
 private:
     // Unified implementation of DrawIcon, DrawBitmap and Blit: