Crude hack to enable PageUp/DownKeys when controlbar is enabled.
Needs improvement, but better than no keyboard support at all. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -189,7 +189,6 @@ public:
|
||||
virtual void Initialize();
|
||||
virtual void CreateCanvas();
|
||||
virtual void CreateControlBar();
|
||||
|
||||
protected:
|
||||
wxWindow* m_previewCanvas;
|
||||
wxPreviewControlBar* m_controlBar;
|
||||
@@ -242,8 +241,11 @@ public:
|
||||
|
||||
void OnPrint(wxCommandEvent& event);
|
||||
void OnWindowClose(wxCommandEvent& event);
|
||||
void OnNext(wxCommandEvent& event);
|
||||
void OnPrevious(wxCommandEvent& event);
|
||||
void OnNext();
|
||||
void OnPrevious();
|
||||
void OnNextButton(wxCommandEvent &event) { OnNext(); }
|
||||
void OnPreviousButton(wxCommandEvent &event) { OnPrevious(); }
|
||||
void OnChar(wxKeyEvent &event);
|
||||
void OnZoom(wxCommandEvent& event);
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
|
||||
|
Reference in New Issue
Block a user