]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/test/test.cpp
added tracing of ReleaseMouse and assertion to prevent releasing window with mouse...
[wxWidgets.git] / samples / html / test / test.cpp
index 2b7fe2a9ed5b02e8b6d5ce4b9dcd7275ebbdcec2..f2e0692957b372eec2d81a4ff509053d4819383c 100644 (file)
 // for all others, include the necessary headers (this file is usually all you
 // need because it includes almost all "standard" wxWindows headers
 #ifndef WX_PRECOMP
-    #include <wx/wx.h>
+    #include "wx/wx.h"
 #endif
 
 #include "wx/image.h"
+#include "wx/sysopt.h"
 #include "wx/html/htmlwin.h"
 #include "wx/html/htmlproc.h"
 #include "wx/fs_inet.h"
@@ -131,11 +132,14 @@ class BoldProcessor : public wxHtmlProcessor
    bool MyApp::OnInit()
    {
      wxLog::AddTraceMask(wxT("strconv"));
-   
+#if wxUSE_SYSTEM_OPTIONS
+     wxSystemOptions::SetOption(wxT("no-maskblt"), 1);
+#endif
+
      wxInitAllImageHandlers();
-     #if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
+#if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
      wxFileSystem::AddHandler(new wxInternetFSHandler);
-     #endif
+#endif
 
       SetVendorName("wxWindows");
       SetAppName("wxHtmlTest");