]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcclient.h
test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1
[wxWidgets.git] / include / wx / x11 / dcclient.h
index 7fa64da87361edad1d96633fae7ef788aed879e1..6ae4962b32c2043ee90cdbf34659a039b42b2bc1 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_CORE wxClientDC;
 class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
 {
 public:
-    wxWindowDC();
+    wxWindowDC() { Init(); }
     wxWindowDC( wxWindow *win );
 
     virtual ~wxWindowDC();
@@ -116,7 +116,9 @@ protected:
         wxCoord *x, wxCoord *y,
         wxCoord *descent = NULL,
         wxCoord *externalLeading = NULL,
-        wxFont *theFont = NULL) const;
+        const wxFont *theFont = NULL) const;
+
+    void Init();
 
     WXDisplay    *m_display;
     WXWindow      m_window;