X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c8a980fc412792e64256724e02e9d387ee38e21..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index 2e0e59eb66..06345dbdc6 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -28,6 +28,8 @@ #pragma hdrstop #endif +#if wxUSE_CHOICE + #ifndef WX_PRECOMP #include "wx/choice.h" #endif @@ -60,3 +62,6 @@ void wxChoiceBase::Command(wxCommandEvent& event) SetSelection(event.m_commandInt); (void)ProcessEvent(event); } + +#endif // wxUSE_CHOICE +