]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.h
compate charset names case-insensitively in GetEncodingFromName()
[wxWidgets.git] / samples / printing / printing.h
index 6d02f5b1e3946e875d7971078f8eee808f568bb5..fc10ad5f1b3f2c2eae6a48ba9ac50817c7b9c5b5 100644 (file)
@@ -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