]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/printing/printing.cpp
Corrected points to pixels calculation
[wxWidgets.git] / samples / html / printing / printing.cpp
index 4b5b1d7b1e46c8e36510c255b88e1c3c35495d8b..4ccb47d74af7e84ec27957ba41ea632750dc51de 100644 (file)
@@ -5,7 +5,7 @@
 
 
 // For compilers that support precompilation, includes "wx/wx.h".
 
 
 // For compilers that support precompilation, includes "wx/wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 // 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
 // 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
 
 #endif
 
-#include <wx/image.h>
-#include <wx/html/htmlwin.h>
-
-#include <wx/html/htmprint.h>
+#include "wx/image.h"
+#include "wx/html/htmlwin.h"
+#include "wx/html/htmprint.h"
 
 
 // ----------------------------------------------------------------------------
 
 
 // ----------------------------------------------------------------------------
@@ -156,8 +155,6 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
 {
     // create a menu bar
     wxMenu *menuFile = new wxMenu;
 {
     // create a menu bar
     wxMenu *menuFile = new wxMenu;
-    wxMenu *menuNav = new wxMenu;
-
     menuFile->Append(Minimal_Open, "Open...\tCtrl-O");
     menuFile->AppendSeparator();
     menuFile->Append(Minimal_PageSetup, "Page Setup");
     menuFile->Append(Minimal_Open, "Open...\tCtrl-O");
     menuFile->AppendSeparator();
     menuFile->Append(Minimal_PageSetup, "Page Setup");