]> git.saurik.com Git - wxWidgets.git/commitdiff
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jul 2011 11:30:03 +0000 (11:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jul 2011 11:30:03 +0000 (11:30 +0000)
Use wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST for wxOSX/Cocoa too, not
only for wxOSX/Carbon. This macro adds methods to explicitly disambiguate
between the two inherited versions of each GetClientXXX() method, the one from
wxItemContainer and the other one from wxEvtHandler.

Closes #11637.

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

include/wx/osx/combobox.h

index 8d875edd34f399dce47435d77a19d23c9c9d6b23..4a31de913562e5431f0cc9ea3e2b4b0362b7d0be 100644 (file)
@@ -144,9 +144,7 @@ class WXDLLIMPEXP_CORE wxComboBox :
 
     virtual bool        OSXHandleClicked( double timestampsec );
 
-#if wxOSX_USE_CARBON
     wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
-#endif
 
 #if wxOSX_USE_COCOA
     wxComboWidgetImpl* GetComboPeer() const;