X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/585266618c27ac77a5e5316c03e06ffc514715c9..3c85ada9dbd66f72f174c049744e8cdaa444d99f:/src/generic/msgdlgg.cpp diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index f5abedfa17..f4f383f676 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_MSGDLG + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/dialog.h" @@ -123,4 +125,5 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) } } +#endif // wxUSE_MSGDLG