]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dc.h
Changes mostly as a result of __WXSTUBS__ compilation. The stubs code now
[wxWidgets.git] / include / wx / gtk1 / dc.h
index 9abb2793df0958736f2b4e06682dccf60acdb511..35b942441455a77731736a0cd10f6184613e18d1 100644 (file)
@@ -94,7 +94,9 @@ class wxDC: public wxObject
     virtual void DrawSpline( int n, wxPoint points[] );
     
     virtual bool CanDrawBitmap(void) const = 0;
-    virtual void DrawIcon( const wxIcon &icon, long x, long y, bool useMask=FALSE );
+    virtual void DrawIcon( const wxIcon &icon, long x, long y )
+      { DrawIcon( icon, x, y, TRUE ); }
+    virtual void DrawIcon( const wxIcon &icon, long x, long y, bool useMask );
             void DrawBitmap( const wxBitmap &bmp, long x, long y, bool useMask=FALSE )
            { DrawIcon( *((wxIcon*)(&bmp)), x, y, useMask ); }
     virtual bool Blit( long xdest, long ydest, long width, long height,
@@ -119,6 +121,9 @@ class wxDC: public wxObject
     virtual void SetBrush( const wxBrush &brush ) = 0;
     virtual wxBrush *GetBrush(void) { return &m_brush; };
 
+    virtual void SetBackground( const wxBrush &brush ) = 0;
+    virtual wxBrush *GetBackground(void) { return &m_backgroundBrush; };
+
     virtual void SetLogicalFunction( int function ) = 0;
     virtual int GetLogicalFunction(void) { return m_logicalFunction; };