]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use native MSW wxCommandLinkButton in wxUniversal.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 2010 22:48:48 +0000 (22:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 2010 22:48:48 +0000 (22:48 +0000)
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

index a1a5f31d0a16367128f10814e3144a222aadb8d0..2fc77cdfcbeebe48cf88ae20b10fa470d5c89c5c 100644 (file)
@@ -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