X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ce369e6876c49ad7a101ad222048bd5446b7125..0a68bc69086f122b9f7166f505c415db9ee21afe:/samples/html/printing/printing.cpp diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp index 4b5b1d7b1e..4ccb47d74a 100644 --- a/samples/html/printing/printing.cpp +++ b/samples/html/printing/printing.cpp @@ -5,7 +5,7 @@ // For compilers that support precompilation, includes "wx/wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -14,13 +14,12 @@ // 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 +#include "wx/wx.h" #endif -#include -#include - -#include +#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; - wxMenu *menuNav = new wxMenu; - menuFile->Append(Minimal_Open, "Open...\tCtrl-O"); menuFile->AppendSeparator(); menuFile->Append(Minimal_PageSetup, "Page Setup");