USE_xxx => wxUSE_xxx: all samples compile except memcheck

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-09-25 15:28:18 +00:00
parent 126eb09b0f
commit e4b19d9b20
9 changed files with 8 additions and 9 deletions

View File

@@ -24,7 +24,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -31,7 +31,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -24,7 +24,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -24,7 +24,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -29,7 +29,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -24,7 +24,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_DOC_VIEW_ARCHITECTURE #if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif #endif

View File

@@ -20,7 +20,7 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !USE_CONSTRAINTS #if !wxUSE_CONSTRAINTS
#error You must set wxUSE_CONSTRAINTS to 1 in wx_setup.h! #error You must set wxUSE_CONSTRAINTS to 1 in wx_setup.h!
#endif #endif

View File

@@ -25,7 +25,7 @@
#include "wx/postscrp.h" #include "wx/postscrp.h"
#endif #endif
#if !USE_PRINTING_ARCHITECTURE #if !wxUSE_PRINTING_ARCHITECTURE
#error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in wx_setup.h to compile this demo. #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in wx_setup.h to compile this demo.
#endif #endif

View File

@@ -275,7 +275,6 @@ void MyFrame::OnExecUrlTest(wxCommandEvent& WXUNUSED(evt))
wxMessageBox("Error in getting data from the URL.", "Alert !"); wxMessageBox("Error in getting data from the URL.", "Alert !");
else { else {
wxMessageBox("Success !! Click on OK to see the text.", "OK"); wxMessageBox("Success !! Click on OK to see the text.", "OK");
wxMessageBox(
delete datas; delete datas;
} }
} }