23#include <wx/aui/auibook.h>
28 ViewerBook(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& position = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int style = 0,
const wxString&
name = wxNotebookNameStr)
29 : wxAuiNotebook(parent, id, position, size, style | wxAUI_NB_TAB_MOVE | wxNB_TOP),
m_skipFocus(false) {}
31 void OnTabMove(wxAuiNotebookEvent& event);
void OnTabMove(wxAuiNotebookEvent &event)
This event handler fixes the issue that the control does not correctly update the selected page durin...
int GetTabFromPoint(const wxPoint &pt)
Returns the tab at the defined absolute coordinates. Actually more or less the same than the generic ...
ViewerBook(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &position=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0, const wxString &name=wxNotebookNameStr)