X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3571e1add4e6ceb45ad88c224c432609f837a8dd..cbef7338c1c7763042704c74d5ee6f62c7e10733:/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