Only declare wxComboBox::Popup/Dismiss() when using Cocoa in wxOSX.
wxOSX/Carbon doesn't use the core implementation file so declaring these methods for the Carbon version resulted in linking errors. Just don't do this, they're not implemented for Carbon anyhow. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,8 +139,10 @@ class WXDLLIMPEXP_CORE wxComboBox :
|
|||||||
virtual wxTextWidgetImpl* GetTextPeer() const;
|
virtual wxTextWidgetImpl* GetTextPeer() const;
|
||||||
#endif // wxOSX_USE_CARBON
|
#endif // wxOSX_USE_CARBON
|
||||||
|
|
||||||
|
#if wxOSX_USE_COCOA
|
||||||
virtual void Popup();
|
virtual void Popup();
|
||||||
virtual void Dismiss();
|
virtual void Dismiss();
|
||||||
|
#endif // wxOSX_USE_COCOA
|
||||||
|
|
||||||
|
|
||||||
// osx specific event handling common for all osx-ports
|
// osx specific event handling common for all osx-ports
|
||||||
|
Reference in New Issue
Block a user