]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/font.h
add compatible FindOrCreateBrush(wxColour, int) (also fixes wxMotif compilation)
[wxWidgets.git] / include / wx / mgl / font.h
index 75fd7e9aaa5cce4d8e574eb9102672de4956148a..7d9c9ba172dac38c52f42fe94772341b73268227 100644 (file)
 // classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDC;
-class WXDLLEXPORT wxPaintDC;
-class WXDLLEXPORT wxWindow;
-class WXDLLEXPORT wxFont;
+class WXDLLIMPEXP_FWD_CORE wxDC;
+class WXDLLIMPEXP_FWD_CORE wxPaintDC;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxFont;
 
 struct font_t;
 
@@ -79,12 +79,16 @@ public:
     virtual void SetUnderlined(bool underlined);
     virtual void SetEncoding(wxFontEncoding encoding);
 
+    // Unofficial API, don't use
+    virtual void SetNoAntiAliasing(bool no = true);
+    virtual bool GetNoAntiAliasing() const;
+
     struct font_t *GetMGLfont_t(float scale, bool antialiased);
 
 protected:
     // ref counting code
-    virtual wxObjectRefData *CreateRefData() const;
-    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+    virtual wxGDIRefData *CreateGDIRefData() const;
+    virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxFont)