#ifndef _WX_PRNTBASEH__
#define _WX_PRNTBASEH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "prntbase.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_PRINTING_ARCHITECTURE
static void SetPrintFactory( wxPrintFactory *factory );
static wxPrintFactory *GetFactory();
+private:
static wxPrintFactory *m_factory;
};
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent &event);
-
// Responds to colour changes
void OnSysColourChanged(wxSysColourChangedEvent& event);
private:
+#if wxUSE_MOUSEWHEEL
+ void OnMouseWheel(wxMouseEvent& event);
+#endif // wxUSE_MOUSEWHEEL
+
wxPrintPreviewBase* m_printPreview;
DECLARE_CLASS(wxPreviewCanvas)
virtual void AdjustScrollbars(wxPreviewCanvas *canvas);
virtual bool RenderPage(int pageNum);
virtual void SetZoom(int percent);
+ virtual int GetZoom() const;
virtual bool Print(bool interactive);
virtual void DetermineScaling();