From 2cd36ea03282b61c886424fbcdc16c06a0ca2bd4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 14 Jul 2010 22:43:19 +0000 Subject: [PATCH] Don't compile platform-specific methods when using wxUniversal. Various wxTextEntry::GetEditXXX() methods shouldn't be used in wxUniv build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 4f5d5f38f0..9973ba7b81 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -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: