X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94aff5ff86189e39b7a95fc62e886374c060a2cf..51fe4b60ab4fec78eb1a67473d08b1c4740d03f5:/src/common/btncmn.cpp diff --git a/src/common/btncmn.cpp b/src/common/btncmn.cpp index 92e8103586..2207057082 100644 --- a/src/common/btncmn.cpp +++ b/src/common/btncmn.cpp @@ -23,6 +23,8 @@ #pragma hdrstop #endif +#if wxUSE_BUTTON + #ifndef WX_PRECOMP #include "wx/button.h" #include "wx/toplevel.h" @@ -42,3 +44,4 @@ wxWindow *wxButtonBase::SetDefault() return tlw->SetDefaultItem(this); } +#endif // wxUSE_BUTTON