Ctrl+mouse wheel changes zoom factor in print preview (patch 1230919)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-07-28 22:20:06 +00:00
parent 62f864c32c
commit fb6efdf277
3 changed files with 52 additions and 1 deletions

View File

@@ -313,11 +313,14 @@ public:
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)