]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't compile platform-specific methods when using wxUniversal.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jul 2010 22:43:19 +0000 (22:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jul 2010 22:43:19 +0000 (22:43 +0000)
Various wxTextEntry::GetEditXXX() methods shouldn't be used in wxUniv build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h

index 4f5d5f38f032e80bd92835080b3cad0c94d8fa68..9973ba7b813559e7067acfe7b4d42490cc6c5730 100644 (file)
@@ -805,6 +805,7 @@ public:
 protected:
      // FIXME: this does not work, it allows this code to compile but will fail
      //        during run-time
+#ifndef __WXUNIVERSAL__
 #ifdef __WXMSW__
     virtual WXHWND GetEditHWND() const { return GetHWND(); }
 #endif
@@ -816,6 +817,7 @@ protected:
     virtual GtkEditable *GetEditable() const { return NULL; }
     virtual GtkEntry *GetEntry() const { return NULL; }
 #endif
+#endif // !__WXUNIVERSAL__
 
 // Overrides
 protected: