X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3571e1add4e6ceb45ad88c224c432609f837a8dd..3ecb4c01f276f9050d1e976a0791ea496cca5c18:/include/wx/commandlinkbutton.h diff --git a/include/wx/commandlinkbutton.h b/include/wx/commandlinkbutton.h index 9f1a52eba6..2fc77cdfcb 100644 --- a/include/wx/commandlinkbutton.h +++ b/include/wx/commandlinkbutton.h @@ -15,6 +15,8 @@ #if wxUSE_COMMANDLINKBUTTON +#include "wx/button.h" + // ---------------------------------------------------------------------------- // Command link button common base class // ---------------------------------------------------------------------------- @@ -130,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