]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/btncmn.cpp
Skip the event to allow further child processing
[wxWidgets.git] / src / common / btncmn.cpp
index 92e8103586835e02ac7252b1a99b5424a0b685c6..2207057082642a08cd12d213b9d7563f03b79b94 100644 (file)
@@ -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