21#ifndef VIEWERFRAME_HPP
22#define VIEWERFRAME_HPP
33 ViewerFrame(wxWindow* parent,
const wxString& title) : wxFrame(parent, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, wxFRAME_FLOAT_ON_PARENT | wxRESIZE_BORDER | wxCAPTION |
wxCLOSE_BOX | wxMAXIMIZE_BOX | wxMINIMIZE_BOX) {};
36 void OnFocus(wxFocusEvent& event);
37 void OnEnter(wxMouseEvent& event);
38 void OnClose(wxCloseEvent& event);
This class generalizes a set of basic floating window functionalities like being closable by pressing...
ViewerFrame(wxWindow *parent, const wxString &title)
void OnEnter(wxMouseEvent &event)
This event handler get the keyboard focus, if the user enters with the mouse.
void OnFocus(wxFocusEvent &event)
This event handler passes the keyboard focus down to the first child in the window list,...
void OnClose(wxCloseEvent &event)
This event handler informs all child windows that this frame will now close. It furthermore automatic...
void OnKeyDown(wxKeyEvent &event)
This event handler closes the frame, if the user presses ESC.