X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ec1179b86dac6c87ad9f2cd126f87e92642c62c..e2da67f6d76e8e78b592e33f3b89233b12663ba4:/include/wx/textentry.h?ds=inline diff --git a/include/wx/textentry.h b/include/wx/textentry.h index d7ba22c10b..e8e4e2b714 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -178,8 +178,16 @@ 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" #else // no platform-specific implementation of wxTextEntry yet class WXDLLIMPEXP_CORE wxTextEntry : public wxTextEntryBase