]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/msgdlgg.cpp
added missing return on error
[wxWidgets.git] / src / generic / msgdlgg.cpp
index f5abedfa17dd30abc1f5fcf5af0cf91e235fd41e..f4f383f6763991eccc4e1db452580a6284a52296 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_MSGDLG
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/dialog.h"
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/dialog.h"
@@ -123,4 +125,5 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
     }
 }
 
     }
 }
 
+#endif // wxUSE_MSGDLG