X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/91c9dbdc972a105ff216749e05a3a2a06e1c602c..23bf4018750c8e382a601a45740dec53f04fb36c:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index 29c85cc057..6e19b04fa3 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -147,7 +147,6 @@ public: // --------- void OnSize(wxSizeEvent& event); void OnSelChange(wxNotebookEvent& event); - void OnSetFocus(wxFocusEvent& event); void OnNavigationKey(wxNavigationKeyEvent& event); // base class virtuals @@ -156,6 +155,7 @@ public: virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); virtual bool MSWOnScroll(int orientation, WXWORD nSBCode, WXWORD pos, WXHWND control); + virtual bool MSWTranslateMessage(WXMSG *wxmsg); #if wxUSE_CONSTRAINTS virtual void SetConstraintSizes(bool recurse = TRUE); @@ -175,8 +175,10 @@ protected: // set the size of the given page to fit in the notebook void AdjustPageSize(wxNotebookPage *page); - // override WndProc - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + // override WndProc. +#if wxUSE_UXTHEME + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); +#endif // the current selection (-1 if none) int m_nSelection;