]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/brush.h
add support for wxStrnlen for those platforms where it's available
[wxWidgets.git] / include / wx / palmos / brush.h
index ba4bf15cc179d3fe920e5665930acf21c297c308..3625ad9fd592b8106bc37f68316dea93163ba2e1 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxBrush;
 // wxBrush
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBrush : public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush : public wxBrushBase
 {
 public:
     wxBrush();
@@ -42,9 +42,14 @@ public:
     bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
 
     wxColour GetColour() const;
-    virtual wxBrushStyle GetStyle() const;
+    wxBrushStyle GetStyle() const;
     wxBitmap *GetStipple() const;
 
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+    wxDEPRECATED_FUTURE( void SetStyle(int style) )
+        { SetStyle((wxBrushStyle)style); }
+#endif
+
     // return the HBRUSH for this brush
     virtual WXHANDLE GetResourceHandle() const;