X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35bdbae57214867e6bdb96c4f4b0923bdeb81575..4f7c00f237b6308394adb074fc94a0de8e2391d5:/include/wx/richtext/richtextctrl.h diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index cbd236f559..9973ba7b81 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -688,7 +688,7 @@ public: virtual void PaintBackground(wxDC& dc); /// Other user defined painting after everything else (i.e. all text) is painted - virtual void PaintAboveContent(wxDC& dc) {} + virtual void PaintAboveContent(wxDC& WXUNUSED(dc)) {} #if wxRICHTEXT_BUFFERED_PAINTING /// Recreate buffer bitmap if necessary @@ -805,6 +805,7 @@ public: protected: // FIXME: this does not work, it allows this code to compile but will fail // during run-time +#ifndef __WXUNIVERSAL__ #ifdef __WXMSW__ virtual WXHWND GetEditHWND() const { return GetHWND(); } #endif @@ -816,6 +817,7 @@ protected: virtual GtkEditable *GetEditable() const { return NULL; } virtual GtkEntry *GetEntry() const { return NULL; } #endif +#endif // !__WXUNIVERSAL__ // Overrides protected: