#include "wx/notebook.h"
+#ifndef __WXMSW__
+ #include "../sample.xpm"
+#endif
+
+
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
void OnIdle(wxIdleEvent& event);
- void DoNavigate(long flags)
+ void DoNavigate(int flags)
{
- wxNavigationKeyEvent event;
- event.SetFlags(flags);
- if ( m_panel->ProcessEvent(event) )
+ if ( m_panel->NavigateIn(flags) )
wxLogStatus(this, _T("Navigation event processed"));
else
wxLogStatus(this, _T("Navigation event ignored"));
: wxFrame(NULL, wxID_ANY, _T("TabOrder wxWidgets Sample"),
wxDefaultPosition, wxSize(700, 450))
{
+ SetIcon(wxICON(sample));
+
wxMenu *menuFile = new wxMenu;
menuFile->Append(TabOrder_About);
menuFile->AppendSeparator();