Don't compile platform-specific methods when using wxUniversal.
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
This commit is contained in:
parent
705c4d13d9
commit
2cd36ea032
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user