#ifndef _WX_DCCLIENT_H_
#define _WX_DCCLIENT_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "dcclient.h"
#endif
protected:
virtual void DoGetSize(int *width, int *height) const;
- virtual void DoFloodFill( wxCoord x, wxCoord y, const wxColour& col, int style = wxFLOOD_SURFACE );
+ virtual bool DoFloodFill( wxCoord x, wxCoord y, const wxColour& col, int style = wxFLOOD_SURFACE );
virtual bool DoGetPixel( wxCoord x, wxCoord y, wxColour *col ) const;
virtual void DoDrawPoint(wxCoord x, wxCoord y);
virtual wxSize GetPPI() const;
virtual void DestroyClippingRegion();
+ WXWindow GetWindow() const { return m_window; }
protected:
// implementation
wxRegion m_currentClippingRegion;
wxRegion m_paintClippingRegion;
+#if wxUSE_UNICODE
+ PangoContext *m_context;
+ PangoFontDescription *m_fontdesc;
+#endif
+
void SetUpDC();
void Destroy();
void ComputeScaleAndOrigin();