Fix build with wxUSE_PALETTE==0

This commit is contained in:
Paul Cornett
2018-10-09 22:24:58 -07:00
parent e351bd513b
commit 4ad6f67147
3 changed files with 6 additions and 0 deletions

View File

@@ -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