From 8220f2f145758e44e84380767eb77723ab4ac5ef Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 18 Aug 2010 22:48:48 +0000 Subject: [PATCH] Don't use native MSW wxCommandLinkButton in wxUniversal. Test for __WXUNIVERSAL__ when selecting the version of this class to use. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/commandlinkbutton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/commandlinkbutton.h b/include/wx/commandlinkbutton.h index a1a5f31d0a..2fc77cdfcb 100644 --- a/include/wx/commandlinkbutton.h +++ b/include/wx/commandlinkbutton.h @@ -132,7 +132,7 @@ private: wxDECLARE_NO_COPY_CLASS(wxGenericCommandLinkButton); }; -#if defined(__WXMSW__) +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) #include "wx/msw/commandlinkbutton.h" #else class WXDLLIMPEXP_ADV wxCommandLinkButton : public wxGenericCommandLinkButton -- 2.47.2