]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textentry.h
compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK...
[wxWidgets.git] / 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"