]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msgout.h
removed extra wxCalendarCtrl:: which is ignored by MSVC for some reason but breaks...
[wxWidgets.git] / include / wx / msgout.h
index 56b11a6244e3136b2e822200b74f19b10297969f..b670f2b65367da62919b7efb94b9acf227ebb75f 100644 (file)
@@ -132,7 +132,7 @@ protected:
 // implementation which shows output in a message box
 // ----------------------------------------------------------------------------
 
-#if wxUSE_GUI
+#if wxUSE_GUI && wxUSE_MSGDLG
 
 class WXDLLIMPEXP_CORE wxMessageOutputMessageBox : public wxMessageOutput
 {
@@ -143,7 +143,7 @@ protected:
     virtual void Output(const wxString& str);
 };
 
-#endif // wxUSE_GUI
+#endif // wxUSE_GUI && wxUSE_MSGDLG
 
 // ----------------------------------------------------------------------------
 // implementation using the native way of outputting debug messages