X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b45dfd0a8bfb8ad1199f8a6c28f473aaa86004b5..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/samples/printing/printing.h?ds=sidebyside diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 6d02f5b1e3..fc10ad5f1b 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -33,9 +33,13 @@ class MyFrame: public wxFrame { public: MyCanvas *canvas; + wxBitmap m_bitmap; + int m_angle; MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size); void Draw(wxDC& dc); + void OnAngleUp(wxCommandEvent& event); + void OnAngleDown(wxCommandEvent& event); void OnSize(wxSizeEvent& event); void OnPrint(wxCommandEvent& event); @@ -89,3 +93,5 @@ class MyPrintout: public wxPrintout #define WXPRINT_ABOUT 109 +#define WXPRINT_ANGLEUP 110 +#define WXPRINT_ANGLEDOWN 111