]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textentry.h
build fixes
[wxWidgets.git] / include / wx / textentry.h
index d7ba22c10b506f4116eadd92e40852ccabf89425..e8e4e2b714e2044d8f9433086c1e59a7d3c3fdac 100644 (file)
@@ -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