]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUniv: don't use the native wxTextEntry class in this case
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Oct 2007 15:45:28 +0000 (15:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Oct 2007 15:45:28 +0000 (15:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/textentry.h

index 3050074282ff5956915399bbd65d3930b2cc8c2b..e8e4e2b714e2044d8f9433086c1e59a7d3c3fdac 100644 (file)
@@ -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"