diff --git a/include/wx/msw/ownerdrawnbutton.h b/include/wx/msw/ownerdrawnbutton.h index 99843e62af..4888d59677 100644 --- a/include/wx/msw/ownerdrawnbutton.h +++ b/include/wx/msw/ownerdrawnbutton.h @@ -91,7 +91,7 @@ private: // This class uses a weak version of CRTP, i.e. it's a template class taking // the base class that the class deriving from it would normally derive from. template -class WXDLLIMPEXP_CORE wxMSWOwnerDrawnButton +class wxMSWOwnerDrawnButton : public T, private wxMSWOwnerDrawnButtonBase {