Fix build with wxUSE_PALETTE==0
This commit is contained in:
parent
e351bd513b
commit
4ad6f67147
@ -86,10 +86,12 @@ public:
|
||||
virtual wxCoord GetCharHeight() const wxOVERRIDE;
|
||||
virtual wxCoord GetCharWidth() const wxOVERRIDE;
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
virtual void SetPalette(const wxPalette& WXUNUSED(palette)) wxOVERRIDE
|
||||
{
|
||||
wxFAIL_MSG(wxT("wxSVGFILEDC::SetPalette not implemented"));
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual void SetLogicalFunction(wxRasterOperationMode WXUNUSED(function)) wxOVERRIDE
|
||||
{
|
||||
|
@ -79,7 +79,9 @@ public:
|
||||
virtual void ComputeScaleAndOrigin() wxOVERRIDE;
|
||||
|
||||
void SetBackgroundMode(int WXUNUSED(mode)) wxOVERRIDE { }
|
||||
#if wxUSE_PALETTE
|
||||
void SetPalette(const wxPalette& WXUNUSED(palette)) wxOVERRIDE { }
|
||||
#endif
|
||||
|
||||
void SetPrintData(const wxPrintData& data);
|
||||
wxPrintData& GetPrintData() { return m_printData; }
|
||||
|
@ -245,7 +245,9 @@ public:
|
||||
wxSize GetPPI() const wxOVERRIDE;
|
||||
virtual int GetDepth() const wxOVERRIDE { return 24; }
|
||||
void SetBackgroundMode(int mode) wxOVERRIDE;
|
||||
#if wxUSE_PALETTE
|
||||
void SetPalette(const wxPalette& WXUNUSED(palette)) wxOVERRIDE { }
|
||||
#endif
|
||||
void SetResolution(int ppi);
|
||||
|
||||
// overridden for wxPrinterDC Impl
|
||||
|
Loading…
Reference in New Issue
Block a user