X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/585266618c27ac77a5e5316c03e06ffc514715c9..d1d2cd38c4b7f6702af747ab81e1b85afa5fefdf:/src/generic/msgdlgg.cpp?ds=inline 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