From: Vadim Zeitlin Date: Wed, 10 Oct 2007 15:45:28 +0000 (+0000) Subject: compilation fix for wxUniv: don't use the native wxTextEntry class in this case X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2978a784f5f8939d1fe9de29c7c4f22336fd5c93 compilation fix for wxUniv: don't use the native wxTextEntry class in this case git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/textentry.h b/include/wx/textentry.h index 3050074282..e8e4e2b714 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -178,7 +178,13 @@ private: unsigned m_eventsBlock; }; -#ifdef __WXGTK20__ +#ifdef __WXUNIVERSAL__ + // TODO: we need to use wxTextEntryDelegate here, but for now just prevent + // the GTK/MSW classes from being used in wxUniv build + class WXDLLIMPEXP_CORE wxTextEntry : public wxTextEntryBase + { + }; +#elif defined(__WXGTK20__) #include "wx/gtk/textentry.h" #elif defined(__WXMSW__) #include "wx/msw/textentry.h"