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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user