macOS wxTextEntry::GetTextPeer fix for wxGenericComboCtrl (#1931)

* overriding GetTextPeer in generic combo control

* undo 81e3760e4a

* inlining GetTextPeer()

* moving out of line to reduce header include
This commit is contained in:
Stefan Csomor
2020-07-06 17:06:09 +02:00
committed by GitHub
parent 9be2c3717d
commit 792e4dcced
3 changed files with 9 additions and 9 deletions

View File

@@ -91,8 +91,8 @@ protected:
virtual GtkEditable *GetEditable() const wxOVERRIDE { return NULL; }
virtual GtkEntry *GetEntry() const wxOVERRIDE { return NULL; }
#endif
#elif defined(__WXMAC__)
// Looks like there's nothing we need to override here
#elif defined(__WXOSX__)
virtual wxTextWidgetImpl * GetTextPeer() const wxOVERRIDE;
#endif
// For better transparent background rendering